dial-your-context
Dial Your Context
Help a user create the Instructions field content for their Sanity Agent Context MCP. The goal is a concise set of pure deltas — only information the agent can't figure out from the auto-generated schema.
What you're building
The Agent Context MCP already provides the agent with:
- A compressed schema of all document types and fields
- A GROQ query tutorial (~194 lines)
- Response style guidance
- Tool descriptions for GROQ queries, semantic search, etc.
The Instructions field you're crafting gets injected as a ## Custom instructions section between ## Response style and ## Tools in the MCP's instructions blob. It should contain only what the schema doesn't make obvious:
- Counter-intuitive field names (e.g.,
bodyis actually a slug,herois a reference tomediaAsset) - Second-order reference chains the schema doesn't connect (e.g., "to find products with Dolby Atmos, chain
product → productFeatureand match on the feature'sidfield — the schema shows each hop but not the full path") - Data quality issues the schema can't reveal (e.g., "the
producttype has afeaturesarray but it's always empty — usesupport-productinstead") - Required filters the agent must always apply (locale, draft status, etc.)
More from sanity-io/agent-context
create-agent-with-sanity-context
Build AI agents with structured access to Sanity content via Agent Context. Use when setting up a Sanity-powered chatbot, connecting an AI assistant to Sanity content, or adding client-side tools to an agent. Covers Studio setup, agent implementation, and advanced patterns. Always use this skill when users mention building a chatbot with Sanity, creating an AI assistant for their content, setting up Agent Context MCP, integrating Sanity with Claude/GPT/any LLM, making content searchable by AI, implementing semantic search over Sanity data, or connecting their CMS to an AI agent.
412shape-your-agent
Interactive session to craft a system prompt for an AI agent powered by Sanity Agent Context MCP. Use this skill when users want to define agent personality, set tone/voice, establish boundaries and guardrails, configure refusal behaviors, or control how their agent communicates. Trigger when users mention their agent sounds wrong, needs to refuse certain requests, has the wrong tone, or they want to set communication rules and policies.
337optimize-agent-prompt
Tune your Sanity Agent Context agent through guided conversation. Transforms exploration data into production-ready instructions and crafts a system prompt tailored to your use case.
20