sanity — Agent Skill
by sanity-io · Updated
Sanity content platform integration with MCP server, agent skills, and slash commands. Query and author content, build and optimize GROQ queries, design schemas, and set up Visual Editing.
At a glance
sanity is an Agent Skill by sanity-io in the Design & Creative category. In Claude Code it installs with `/plugin install sanity@claude-plugins-official` after adding the anthropics/claude-plugins-official marketplace; other assistants use its SKILL.md instructions as rules. Its source repository has 194 GitHub stars (as of Oct 28, 2026).
How to install sanity in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install sanity in Claude CodeAnthropic's agentic CLI
Add the marketplace
claude/plugin marketplace add anthropics/claude-plugins-officialInstall the skill
claude/plugin install sanity@claude-plugins-officialUse it
These are slash commands for a Claude Code session, not your shell. Claude auto-invokes the skill when your request matches its description — or type its slash command if it exposes one.
How to install sanity in Claude DesktopDesktop app (MCP config)
Clone the source
bashgit clone https://github.com/sanity-io/agent-toolkit.gitAdd the SKILL.md to your Skills folder
Settings → Capabilities → Skills → add the folder containing SKILL.md. Claude picks it up automatically.
How to install sanity in CursorAI-first code editor
Clone the source
bashgit clone https://github.com/sanity-io/agent-toolkit.gitConvert to a Cursor rule
Create .cursor/rules/sanity.mdc and paste the SKILL.md body. Set `alwaysApply` or a glob so the Agent loads it in context.
How to install sanity in Codex CLIOpenAI coding agent
Clone the source
bashgit clone https://github.com/sanity-io/agent-toolkit.gitReference in AGENTS.md
Add the skill's instructions (or a link) to AGENTS.md at your repo root — Codex reads it on every run.
How to install sanity in WindsurfCodeium's agentic IDE
Clone the source
bashgit clone https://github.com/sanity-io/agent-toolkit.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
How to install sanity in ClineVS Code autonomous agent
Clone the source
bashgit clone https://github.com/sanity-io/agent-toolkit.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
How to install sanity in VS CodeCopilot / MCP support
Clone the source
bashgit clone https://github.com/sanity-io/agent-toolkit.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
Documentation
Full READMESanity Agent Toolkit
Collection of resources to help AI agents build better with Sanity. Supports Cursor, Claude Code, Codex, VS Code, Lovable, v0, Replit, OpenCode, and any other editor/agent compatible with MCP or Agent Skills.
Features
- MCP server: Direct access to your Sanity projects (content, datasets, releases, schemas) and agent rules.
- Agent skills: Comprehensive best practices skills for Sanity development, content modeling, SEO/AEO, and experimentation. Includes 25 integration/topic guides and 26 focused best-practice rules.
- Agent Plugin:
plugin.json,skills/, andmcp.jsoncomponents for any Agent Plugins-compatible client. - Claude Code plugin: MCP server, agent skills, and slash commands for Claude Code users. Available on the official Anthropic plugin marketplace.
- Cursor plugin: MCP server, agent skills, and commands on the Cursor Marketplace.
- Codex plugin: MCP server and agent skills for OpenAI Codex users.
Get started
Choose your path based on how you want agents to work with Sanity:
- MCP server — Give your agent always up-to-date rules and full access to your Sanity projects. No local files to maintain. Works with Cursor, VS Code, Claude Code, Lovable, v0, Replit, OpenCode, and other MCP-compatible clients.
- Agent skills — Install best practices skills for Sanity, content modeling, SEO/AEO, and experimentation. Works with Cursor, Claude Code, and any Agent Skills-compatible agent.
- Plugin — Install the Sanity plugin for Cursor, Claude Code, or any Agent Plugins-compatible client. Bundles MCP server, agent skills, and commands.
- Manual installation — Copy the skill references locally for offline use. You'll need to update them yourself.
Option 1: Install MCP server (recommended)
Give agents direct access to Sanity projects and always up-to-date agent rules via the MCP server.
Quick install via Sanity CLI
Run in terminal to detect and configure MCP for Cursor, Claude Code and VS Code automatically:
npx sanity@latest mcp configureExcerpt — the full document is on GitHub.
More Design & Creative skills
- Design & Creative185k
example skills
Collection of example skills demonstrating various capabilities including skill creation, MCP building, visual design, algorithmic art, internal communications, web testing, artifact building, Slack GIFs, and theme styling
Anthropic Skills12 skillsby anthropics
- Design & Creative185k
academy guide
Recommends relevant Claude Academy courses, tutorials, and use cases when users ask how to use Claude
Anthropic Skills1 skillsby anthropics
- Design & Creative75k
hyperframes
HyperFrames by HeyGen. Write HTML, render video. Compositions, GSAP and runtime adapter animations, captions, voiceovers, audio-reactive visuals, and website-to-video capture for HyperFrames.
Claude Plugins (Official)by heygen-com
- Design & Creative45k
discord
Discord messaging bridge with built-in access control. Manage pairing, allowlists, and policy via /discord:access.
Claude Plugins (Official)by anthropics
- Design & Creative45k
frontend design
Create distinctive, production-grade frontend interfaces with high design quality. Generates creative, polished code that avoids generic AI aesthetics.
Claude Plugins (Official)by anthropics
- Design & Creative45k
imessage
iMessage messaging bridge with built-in access control. Reads chat.db directly, sends via AppleScript. Manage pairing, allowlists, and policy via /imessage:access.
Claude Plugins (Official)by anthropics
Catalog data refreshed . Something wrong? Report it.