sanity-studio-upgrade

sanity-studio-upgrade is a skill for Claude Code from sanity-io/agent-toolkit. It costs 214 tokens per session (4,321 once invoked), scanned A, original, MIT.

A Sanity Studio upgrade planner that inspects a repository before listing applicable changes. Sanity Studio is the editing application used with Sanity content systems; the planner supports version 3 and later and redirects version 2 projects.

In plain words
What is it for?
Use it to examine a Sanity Studio project, identify relevant breaking changes, verify current and target versions, and separate questions that need a human decision.
Why use it?
Generic upgrade notes list many changes that may not affect a particular project. This produces a shorter plan based on the installed versions, configuration, and source, without guessing package versions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sanity plugin — 11 skills, 4 commands, 1 MCP server shipped together

Good fit Use it to examine a Sanity Studio project, identify relevant breaking changes, verify current and target versions, and separate questions that need a human decision.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sanity-io/agent-toolkit/sanity-studio-upgrade
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sanity-io/agent-toolkit --skill sanity-studio-upgrade
Clone the repo
git clone --depth 1 https://github.com/sanity-io/agent-toolkit

Made for: Claude Code.

Or install sanity, the plugin that ships this one along with the rest of its 11 skills, 4 commands, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sanity-studio-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/sanity-io/agent-toolkit/sanity-studio-upgrade/github.svg)](https://agentmods.dev/skills/sanity-io/agent-toolkit/sanity-studio-upgrade)
Your own site
<a href="https://agentmods.dev/skills/sanity-io/agent-toolkit/sanity-studio-upgrade"><img src="https://agentmods.dev/badge/skills/sanity-io/agent-toolkit/sanity-studio-upgrade/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sanity-studio-upgrade

Your own site · 80×15
<a href="https://agentmods.dev/skills/sanity-io/agent-toolkit/sanity-studio-upgrade"><img src="https://agentmods.dev/badge/skills/sanity-io/agent-toolkit/sanity-studio-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 214 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,321 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 9 Sept 2026
  • Snyk warn 9 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00214 $0.04321
Opus 5.5 $0.00086 $0.01728
Sonnet 5.5 $0.00043 $0.00864
Haiku 4.5 $0.00021 $0.00432

Measured 2mo ago against content hash 08f0e18abf48, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sanity-studio-upgrade scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/sanity-studio-upgrade/SKILL.md · 184 lines

How it starts

The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sanity Studio upgrade planner

Generate an upgrade plan for the Sanity Studio in the current repository.

The plan's value is subtraction. A list of every breaking change between two versions already exists; it is called the changelog, and it is not useful to someone mid-upgrade. This skill produces the much shorter list of changes that apply to this repository, plus the questions only a human can answer.

Three rules that determine whether the output is trustworthy

1. Never state a version number from memory. Look it up, and confirm it exists.

Package versions change weekly. Every version in the report must come from either the repository's lockfile (for current state) or a live registry query (for targets). If a lookup is not possible, say so in the report rather than guessing. A plan that names a stale "latest" is worse than no plan, because the reader will act on it.

There is a second, worse version of this failure: a version number that was never published at all, arrived at by assuming one package tracks another's numbering. That one fails at install. Any version you are about to describe as "lockstep" or "matches core" needs an existence check first.

The same applies to API names. An export, an import subpath, or a function signature recalled from memory is a guess, and it is a guess the reader will paste into their editor. Read it from the package's README or exports map, or mark it with an inline // VERIFY: comment at the snippet itself. See section 6 of plugins.md and section 8 of report-template.md.

2. Read and report. Never modify.

Inspect files, run read-only shell commands, query registries. Do not edit package.json, config files, or source. The reader decides what to change; a planner that edits code will be turned off. If the user explicitly asks you to perform the upgrade afterward, that is a separate task they have consented to.

Where the line actually falls, because a vague version of this rule makes an agent hesitate over commands that are fine:

Read the full file on GitHub · 184 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 184 lines · 214 tokens per session scan A 08f0e18abf48

Subscribe to this mod's changes

sanity-studio-upgrade is a skill published in the GitHub repository sanity-io/agent-toolkit (203 stars, last pushed yesterday), licensed MIT. It adds 214 tokens to every session and 4,321 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-09.

Related

sanity-studio-upgrade compared with skills from other repositories

sanity-studio-upgrade next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sanity-studio-upgradesanity-io/agent-toolkitSkill203yesterdayMITA214Claude Code
wenlan-handoffwenlan-app/wenlanSkill502yesterdayApache-2.0A46Claude Code, Codex
wenlan-recallwenlan-app/wenlanSkill502yesterdayApache-2.0A54Claude Code, Codex
forgetwenlan-app/wenlanSkill502yesterdayApache-2.0A48Claude Code, Codex
prior-art-searchRobThePCGuy/Claude-Patent-CreatorSkill2195d agoMITA42Claude Code
wenlan-syncwenlan-app/wenlanSkill502yesterdayApache-2.0A55Claude Code, Codex
development-assistantRobThePCGuy/Claude-Patent-CreatorSkill2195d agoMITA21Claude Code