shape-your-agent
Skill by sanity-io
Shape Your Agent is an interactive skill for writing a system prompt for an AI agent that uses the Sanity Context MCP server. It is for users who control that system prompt.
Install shape-your-agent
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sanity-io/context /tmp/context && mkdir -p ~/.claude/skills && cp -r /tmp/context/skills/shape-your-agent ~/.claude/skills/shape-your-agentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sanity-io/context /tmp/context && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/context/skills/shape-your-agent ~/.gemini/antigravity-cli/skills/shape-your-agentAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Shape Your Agent is an optional, conversational skill for writing a system prompt for an AI agent that uses the Sanity Context MCP server. It covers the agent's role, tone, verbosity, technical level, formatting, boundaries, refusals and fallback behavior. The skill says the system prompt should define agent behavior, while data guidance belongs in the Instructions field and query mechanics are handled by the MCP.
The workflow asks about the use case, then drafts a short prompt, usually 200 to 400 words, and suggests testing it against real user questions. It is aimed at users who control the system prompt in their agent setup. The source says users without access to the system prompt can skip it and rely on the Instructions field instead.
Written from the project's SKILL.md and checked against it.
What it can do
- Use case discoveryAsks who uses the agent, the setting, the problem it solves and the user's typical state.
- Behavior definitionHelps choose concrete positions on tone, verbosity, technical level and formatting.
- Boundary settingWrites refusal, redirect and guardrail rules, each tied to a trigger scenario.
- Prompt draftingAssembles role, voice, boundaries and fallback behavior into a short system prompt.
- Review and iterationTests the prompt against sample questions and removes rules the agent does not need.
What you need
- Sanity Context MCP server
- Access to the agent's system prompt
Try asking
- Help me set a warm but concise tone for my docs agent
- Write boundary rules so my agent refuses requests to edit content
- Draft a short system prompt for my Sanity agent and test it
Good to know
- Only useful if you control the agent's system prompt.
- Less is more. The source warns that long prompts can degrade answer quality.
- Duplicating Instructions field content in the system prompt can cause conflicts.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/shape-your-agent/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to shape-your-agent
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
shape-your-agent: common questions
What does the system prompt control in this setup?
The source says the system prompt defines agent behavior, such as personality, tone, and what the agent refuses to do. Data concerns belong in the Instructions field.
Do I need this skill if I cannot edit the system prompt?
No. The source says to skip it and use the Instructions field, configured via the dial-your-context skill, which works on its own.
How long should the system prompt be?
The source says most agents need 200 to 400 words, and it recommends keeping the prompt under 500 words.
How do I install shape-your-agent?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is shape-your-agent free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is shape-your-agent safe to use?
It scores 68 of 100. Grades: maintenance A, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to shape-your-agent?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
