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 agentmods add commands/sanity-io/agent-toolkit/sanitygit clone --depth 1 https://github.com/sanity-io/agent-toolkitWhat 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 | $0.00012 | $0.00301 |
| Opus 5 | $0.00006 | $0.00151 |
| Sonnet 5 | $0.00002 | $0.00060 |
| Haiku 4.5 | $0.00001 | $0.00030 |
Grade A, and why
sanity 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 3d 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.
What it actually says
Sanity AI Helper
I can help you build with Sanity. Here are the core skills and help areas available in this toolkit:
Core skills
sanity-best-practices- Sanity schemas, GROQ, framework integrations, Studio setup, TypeGen, Visual Editing, images, localization, and migrations.content-modeling-best-practices- Structured content architecture, content reuse, references vs embedded objects, and taxonomies.seo-aeo-best-practices- Metadata, sitemaps, structured data, EEAT, technical SEO, and AI-answer optimization.content-experimentation-best-practices- A/B testing, experiment design, statistical interpretation, and CMS experimentation workflows.
Common help topics
- Create or review a Sanity schema
- Write or debug GROQ queries
- Set up TypeGen, Visual Editing, or framework integrations
- Improve SEO metadata or structured data
- Plan content models and experimentation workflows
Content operations
- I can also access the Sanity MCP Server directly to query data, create and edit documents, inspect schemas, and manage datasets.
How to start? Just ask me naturally! For example:
"Help me create a blog post schema" "Why is my visual editing not working?" "Run a query to find the latest 5 posts"
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.
- 3d ago First seen · 32 lines · 12 tokens per session scan A bffd258ddb11
sanity is a command published in the GitHub repository sanity-io/agent-toolkit (180 stars, last pushed 8d ago), licensed MIT. It adds 12 tokens to every session and 301 once invoked, about $0.0001 per session on Opus 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-08-30.
Other commands, from other repositories
implement
yes, thank you! please proceed with implementation.
create-forwarding-rule
Create a ZPA client forwarding policy rule to bypass or intercept traffic.
auto
AI auto strategy executor. Analyzes task and automatically selects and executes the best strategy: direct execution, hybrid-auto PRD generation, hybrid-worktree isolated development, or mega-plan multi-feature orchestration.
spec-plan
Run a resumable spec interview to produce spec.json/spec.md (planning-time), then optionally compile to prd.json. Usage: /plan-cascade:spec-plan " " [--output-dir ] [--flow ] [--first-principles] [--max-questions N] [--feature-slug ] [--compile] [--tdd ] [--confirm] [--no-confirm].
test
Load skills/test-driven-development/SKILL.md and agents/test-engineer.md.
adops-audit
Multi-dimensional GAM audit: delivery health, inventory hygiene, security baseline, creative compliance, billing alignment. Read-only and free.