~ / rigs / sanity-io / agent-toolkit

sanity-io/agent-toolkit

Collection of resources to help AI agents build better with Sanity.

↗ GitHub ★ 188 mit updated 23d ago project Claude CodeCodex Claude plugin
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~5.7k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details

Copy this rig

# review before running: this installs third-party code
$ claude mcp add --transport http Sanity https://mcp.sanity.io
$ npx degit sanity-io/agent-toolkit/commands ./rig-agent-toolkit/commands
$ npx degit sanity-io/agent-toolkit/skills ./rig-agent-toolkit/skills

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ claude mcp add --transport http Sanity https://mcp.sanity.io
$ npx degit sanity-io/agent-toolkit/skills/content-experimentation-best-practices .claude/skills/content-experimentation-best-practices
$ npx degit sanity-io/agent-toolkit/skills/content-modeling-best-practices .claude/skills/content-modeling-best-practices
$ npx degit sanity-io/agent-toolkit/skills/portable-text-conversion .claude/skills/portable-text-conversion
$ npx degit sanity-io/agent-toolkit/skills/portable-text-serialization .claude/skills/portable-text-serialization
$ npx degit sanity-io/agent-toolkit/skills/sanity-best-practices .claude/skills/sanity-best-practices
$ npx degit sanity-io/agent-toolkit/skills/sanity-migration .claude/skills/sanity-migration
$ npx degit sanity-io/agent-toolkit/skills/sanity-studio-upgrade .claude/skills/sanity-studio-upgrade
$ npx degit sanity-io/agent-toolkit/skills/seo-aeo-best-practices .claude/skills/seo-aeo-best-practices

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 7,204 rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(rm -rf *)",
      "Read(**/*.pem)",
      "Bash(rm -rf /)",
      "Bash(git push --force:*)",
      "Bash(sudo *)",
      "Read(.env)",
      "Bash(rm -rf /*)",
      "Read(./.env.*)",
      "Read(~/.aws/**)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(sudo:*)",
      "Bash(git reset --hard*)",
      "Bash(git reset --hard:*)",
      "Read(.env.*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(rm:*)",
      "Bash(git rebase *)",
      "Bash(wget *)",
      "Bash(npm publish:*)",
      "Bash(git commit *)",
      "Bash(gh pr merge *)"
    ]
  }
}

MCP servers (1)

serversourceest. tokens
mcp.sanity.io · "Sanity" remote · remote 2.5k

Skills (8)

Slash commands (4)

/deploy-schema/sanity-review/sanity/typegen

Similar rigs

copied ✓