# dial-your-context

This skill guides users in writing Sanity Context MCP instructions that explain dataset details beyond the schema. Use it when an agent misreads Sanity data or needs query-specific guidance.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1100 installs · ★ 7
- Author: sanity-io
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/sanity-io/context/tree/HEAD/skills/dial-your-context/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/dial-your-context

## What it does

The skill helps build the Instructions text for a Sanity Context MCP endpoint. It focuses on details the generated schema may not convey, such as misleading field names, multi-step references, required filters, and confirmed data quality problems. The user discusses the dataset, and each proposed instruction is checked against query evidence before it is included.

It is intended for endpoints using GROQ mode. You need the endpoint URL and an organization token with Context access to test queries. Requests can use URL parameters so the production agent’s setup is not changed during the session. One constraint matters: `groqFilter` can narrow a saved filter, but cannot broaden it. If broader access is needed for testing, the workflow calls for a separate draft endpoint.

The user saves the final text in the Context app; the skill does not edit endpoint settings. Knowledge Base mode follows a different process, so this workflow is for dataset-source endpoints in GROQ mode.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add sanity-io/context --skill dial-your-context -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/dial-your-context/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/dial-your-context/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add sanity-io/context --skill dial-your-context -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/dial-your-context/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add sanity-io/context --skill dial-your-context -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/dial-your-context/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install sanity-io/context dial-your-context
```

2. **Manually: put the files in place**
- File: `.github/skills/dial-your-context/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add sanity-io/context --skill dial-your-context -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/sanity-io/context --path skills/dial-your-context
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/dial-your-context/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add sanity-io/context --skill dial-your-context -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/sanity-io/context/tree/HEAD/skills/dial-your-context/SKILL.md

## When to use it
- explain Sanity schema quirks to an agent
- map reference paths needed for GROQ lookups
- document filters that queries must apply
- validate data assumptions against query results

## Example prompts
- Help me draft instructions for my Sanity Context MCP endpoint.
- Investigate why my agent returns the wrong Sanity documents and suggest context details to verify.
- Work out which GROQ filters and reference paths my agent needs to know about.

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [sanity-io/context](https://affpapa.org/en/nevibecode/by/sanity-io/context.md) — 3 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
