·optimize-agent-prompt
</>

optimize-agent-prompt

Craft agent personality and behavior for Sanity Agent Context. Load when tuning tone, verbosity, interactivity, guardrails, or response style. Covers system prompt structure and the two-surface architecture (instructions field vs system prompt).

20Installs·0Trend·@sanity-io

Installation

$npx skills add https://github.com/sanity-io/agent-context --skill optimize-agent-prompt

How to Install optimize-agent-prompt

Quickly install optimize-agent-prompt AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/sanity-io/agent-context --skill optimize-agent-prompt
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: sanity-io/agent-context.

SKILL.md

View raw

Use this skill to craft your agent's personality and behavior. This covers tone, verbosity, interactivity, guardrails, and how to structure your system prompt — the things that make your agent feel like a helpful team member rather than a database interface.

The CLI will tell you where the output is written. Paste the contents of exploration-results.md into your Agent Context Document's instructions field.

The output is a system prompt the user can paste into their agent's code. Keep it concise — a good system prompt is usually 10-30 lines.

Craft agent personality and behavior for Sanity Agent Context. Load when tuning tone, verbosity, interactivity, guardrails, or response style. Covers system prompt structure and the two-surface architecture (instructions field vs system prompt). Source: sanity-io/agent-context.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/sanity-io/agent-context --skill optimize-agent-prompt
Category
</>Dev Tools
Verified
First Seen
2026-02-19
Updated
2026-03-10

Browse more skills from sanity-io/agent-context

Quick answers

What is optimize-agent-prompt?

Craft agent personality and behavior for Sanity Agent Context. Load when tuning tone, verbosity, interactivity, guardrails, or response style. Covers system prompt structure and the two-surface architecture (instructions field vs system prompt). Source: sanity-io/agent-context.

How do I install optimize-agent-prompt?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/sanity-io/agent-context --skill optimize-agent-prompt Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/sanity-io/agent-context

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-19