Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 68
  • 9 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-agent

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install shape-your-agent in Claude Code

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

A

No 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 →

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.

shape-your-agent Install

Add to stack

Loading.