sanity-io avatar

Dial Your Context

This is for people running Sanity Agent Context MCP who need to tune what their agent knows beyond the auto-generated schema. It walks you through an interactive session to build the Instructions field, focusing on pure deltas like misleading field names, reference chains the schema doesn't make obvious, or data quality issues. The workflow enforces a critical discipline: never generalize from small samples, verify every claim with queries, and keep existing instructions if they're good. You can work with write access to iterate on a draft context doc, or test everything via URL params if you only have read access. The skill's opinionated about one thing: if the schema already says it, don't repeat it in instructions.

skills.sh installs
376
GitHub stars
4
last updated
Jun 3, 2026

Install

$ npx -y skills add sanity-io/agent-context --skill dial-your-context --agent claude-code

Installs into .claude/skills of the current project.

Files

Dial Your Context

Help a user create the Instructions field content for the Sanity Context MCP server. The goal is a concise set of pure deltas — only information the agent can't figure out from the auto-generated schema.

This skill is for GROQ mode endpoints (a dataset source). For a Knowledge Base mode endpoint, answers improve in the Context app instead, by resolving issues and fixing sources; see Resolve Knowledge Base issues.

What you're building

The Sanity Context MCP server already provides the agent with:

  • A compressed schema of all document types and fields
  • Efficiency and accuracy guidance
  • A GROQ query tutorial in the groq_query tool description
  • Tool descriptions for GROQ queries, semantic search, etc.

The Instructions field you're crafting is the MCP endpoint's Instructions field, set in the Context app or with sanity context mcp update --instructions. It appears under a Context Instructions heading at the top of the initial context, ahead of the efficiency, accuracy, tools, and schema sections. It should contain only what the schema doesn't make obvious:

Sponsors

Details

Repository
github.com/sanity-io/agent-context
Category
AI & Agent Building
First seen
Jun 3, 2026

More from sanity-io/agent-context

All 3
1syncfusion avatarsyncfusion-blazor-smart-pastesyncfusion/blazor-ui-components-skillsSet up and use the Syncfusion Blazor Smart Paste Button — AI-powered clipboard-to-form filling with OpenAI, Azure OpenAI, Ollama, or custom AI backends. Covers 376skills.sh installs
20xindiebruh avataropenclaw-mission-control0xindiebruh/openclaw-mission-control-skillCoordinate AI agent teams via a Kanban task board with local JSON storage. Enables multi-agent workflows with a Team Lead assigning work and Worker Agents execu371skills.sh installs
3syncfusion avatarsyncfusion-blazor-smart-textareasyncfusion/blazor-ui-components-skillsSet up and configure the Syncfusion Blazor Smart TextArea for AI-powered inline or popup text autocompletion. Covers OpenAI, Azure OpenAI, Ollama, and custom IC371skills.sh installs
4liangdabiao avatarstock-question-refinerliangdabiao/claude-code-stock-deep-research-agent股票投资调研问题细化技能。将用户提供的股票名称/代码细化为结构化的8阶段投资尽调指令。通过提问澄清投资风格(价值/成长/困境反转)、持有周期(短/中/长线)、风险偏好、研究重点,生成符合专业投资研究标准的结构化调研任务。当用户提到股票分析、投资研究、股票尽调时使用此技能。369skills.sh installs
5cloudwego avatareino-guidecloudwego/eino-extEino framework overview, concepts, and navigation. Use when a user asks general questions about Eino, needs help getting started, wants to understand the archit353skills.sh installs
6cloudwego avatareino-componentcloudwego/eino-extEino component selection, configuration, and usage. Use when a user needs to choose or configure a ChatModel, AgenticModel, Embedding, Retriever, Indexer, Tool,348skills.sh installs