sanity-migration: a Claude Code skill by Sanity
Official
For teams moving content from WordPress, Contentful, Drupal, AEM or Markdown into Sanity. Skip it if you are not targeting Sanity or only need to edit an existing schema.
- Score
- 76of 100
- Rank
- #110of 239
- Installs
- 23.8Kon skills.sh
- Security
- Clear 3 scanners
- Updated
- 2026
- Context
- ~117tokens always
Install
npx skills add https://github.com/sanity-io/agent-toolkit --skill sanity-migration
Run it in your terminal. View the source
Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app
What does sanity-migration do?
sanity-migration is a skill that plans and builds content migrations into the Sanity CMS. Claude reads a general guide plus one for the source, such as WordPress, Contentful, Strapi, Webflow, Payload, Drupal, AEM or Markdown files, then writes a short plan before any code. Deliverables include a content inventory, a source-to-Sanity field mapping, an extraction approach, a transform and import plan, and a cutover plan with redirects. Scripts must use stable IDs from source data and createOrReplace so reruns converge, convert rich text to Portable Text, and upload assets instead of linking old CDNs. It stops to ask when access, dataset or scope is unclear.
When should you use sanity-migration?
Use it when
- You are replatforming a WordPress or Contentful site to Sanity
- You need repeatable import scripts with redirect planning
- You want a field mapping before writing migration code
Skip it when
- Your target CMS is not Sanity
- You are moving a handful of pages by hand
What it needs and what it can touch
You need
- A Sanity project and dataset
- Access to the source CMS, export file or database
What it can do
- Reads and edits project files
- Writes migration scripts and import commands for your Sanity dataset
- Reads data from your source CMS
From reading its instructions, not from running it.
Why it scores 76
Strongest on upkeep (100 of 100), weakest on adoption (37).
Is sanity-migration safe to install?
Every scanner that checked it passed it. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.
| Scanner | Result | Date |
|---|---|---|
| Gen Agent Trust Hub | Passed | Jul 29, 2026 |
| Socket | Passed | Jul 29, 2026 |
| Snyk | Low risk | Jul 29, 2026 |
Details
- Installs
- 23,843
- Repository stars
- 197
- Last repository change
- Tokens always loaded
- about 117
- Tokens when used
- about 1,243
- License
- MIT
- Data confidence
- High
Did it do the job for you?
Alternatives to sanity-migration
All skills for this job-
Get sanity-best-practicessanity-best-practices
For developers building or fixing a Sanity project who want Sanity's own patterns for schemas and GROQ.