# sanity — Agent Skill

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).

## Install

### How to install sanity in Claude Code

1. Add the marketplace

```claude
/plugin marketplace add anthropics/claude-plugins-official
```

2. Install the skill

```claude
/plugin install sanity@claude-plugins-official
```

3. Use 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 Desktop

1. Clone the source

```bash
git clone https://github.com/sanity-io/agent-toolkit.git
```

2. Add 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 Cursor

1. Clone the source

```bash
git clone https://github.com/sanity-io/agent-toolkit.git
```

2. Convert 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 CLI

1. Clone the source

```bash
git clone https://github.com/sanity-io/agent-toolkit.git
```

2. Reference 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 Windsurf

1. Clone the source

```bash
git clone https://github.com/sanity-io/agent-toolkit.git
```

2. Add 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 Cline

1. Clone the source

```bash
git clone https://github.com/sanity-io/agent-toolkit.git
```

2. Add 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 Code

1. Clone the source

```bash
git clone https://github.com/sanity-io/agent-toolkit.git
```

2. Add to your rules / context

   Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.

Source: https://github.com/sanity-io/agent-toolkit

---

Source: https://mcp-skills-hub.vercel.app/skills/sanity · MCP Skills Hub · data as of 2026-10-28T12:31:05Z
