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.
npx skills add sanity-io/agent-toolkit --skill sanity-studio-upgradegit clone --depth 1 https://github.com/sanity-io/agent-toolkitWrote 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.
[](https://agentmods.dev/skills/sanity-io/agent-toolkit/sanity-studio-upgrade)<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.
<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>- Socket pass
- Snyk warn
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.
| Model | Per session | Once 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 |
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.
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:
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/boundaries.md 4.8 KB
- references/boundary.v4.md 5.9 KB
- references/boundary.v5.md 7.2 KB
- references/boundary.v6.md 7.7 KB
- references/deprecations.md 2.5 KB
- references/detect.md 15 KB
- references/package-coupling.md 15 KB
- references/plugins.md 23 KB
- references/report-template.md 17 KB
- references/version-lookup.md 19 KB
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.
- 2mo ago First seen · 184 lines · 214 tokens per session scan A 08f0e18abf48
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.
sanity-studio-upgrade compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sanity-studio-upgradesanity-io/agent-toolkit | Skill | 203 | yesterday | MIT | A | 214 | Claude Code |
| wenlan-handoffwenlan-app/wenlan | Skill | 502 | yesterday | Apache-2.0 | A | 46 | Claude Code, Codex |
| wenlan-recallwenlan-app/wenlan | Skill | 502 | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| forgetwenlan-app/wenlan | Skill | 502 | yesterday | Apache-2.0 | A | 48 | Claude Code, Codex |
| prior-art-searchRobThePCGuy/Claude-Patent-Creator | Skill | 219 | 5d ago | MIT | A | 42 | Claude Code |
| wenlan-syncwenlan-app/wenlan | Skill | 502 | yesterday | Apache-2.0 | A | 55 | Claude Code, Codex |
| development-assistantRobThePCGuy/Claude-Patent-Creator | Skill | 219 | 5d ago | MIT | A | 21 | Claude Code |