portable-text-conversion
Convert HTML and Markdown content into Portable Text blocks for Sanity. Use when migrating content from legacy CMSs, importing HTML or Markdown into Sanity, building content pipelines that ingest external content, converting rich text between formats, or programmatically creating Portable Text documents. Covers @portabletext/markdown (markdownToPortableText), @portabletext/block-tools (htmlToBlocks), custom deserializers, and the Portable Text specification for manual block construction.
Install as a plugin
Install the sanity plugin
Copy: Install the sanity plugin/plugin install sanity@claude-plugins-officialThe official marketplace is already added in Claude Code. The command opens the plugin's page in /plugin, where you pick a scope and confirm.
From your shell instead
Copy: Add the marketplaceclaude plugin marketplace add anthropics/claude-plugins-officialOnly on a machine that never ran an interactive Claude Code session: the first session adds the official marketplace by itself.
Copy: Install itclaude plugin install sanity@claude-plugins-official
Then ask Claude for what it does: it loads the skill when your request matches the description. Or call it directly with /sanity:portable-text-conversion.
See which of your apps makes money
- Revenue from Stripe, Paddle and others next to visits, per app
- Search Console and the analytics you already use, on one screen
- Which channel your paying customers came from

From its SKILL.md
Convert external content (HTML, Markdown) into Portable Text for Sanity. Three main approaches: markdownToPortableText — Convert Markdown directly using @portabletext/markdown (recommended for Markdown) htmlToBlocks — Parse HTML into PT blocks using @portabletext/block-tools…