agent-prompt-behavior
Design agent system prompts with explicit behavior rules and cognitive control. This skill should be used when users need to define agent instructions, create intent-to-tool mappings, establish confirmation policies, or prevent hallucinated actions in AI agents.
npx skills add majiayu000/claude-skill-registry --skill agent-prompt-behavior-hasnaincodehub-todo-evaluation-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Agent Prompt & Behavior Build system prompts that provide deterministic cognitive control over AI agents. ## What This Skill Does - Design agent system instructions with explicit behavior rules - Create intent-to-tool mapping tables (what user says → what agent does) - Define confirmation policies (when to ask before acting) - Establish error handling behaviors - Prevent hallucinated actions through grounding rules - Generate complete, production-ready system prompts ## What This Skill Does NOT Do - Implement the agent runtime/executor - Handle conversation state management - Define API contracts or schemas - Deploy or test agents --- ## Before Implementation Gather context to ensure successful implementation: | Source | Gather | |--------|--------| | **Codebase** | Available tools, existing prompts, agent framework | | **Conversation** | Agent's purpose, domain, user types | | **Skill References** | Prompt patterns, mapping rules, safety policies | | **User Guidelines** | Tone, brand voice, compliance requirements | --- ## Core Principle: Cognitive Control **The system prompt is the agent's brain.** It determines: ``` ┌────────────────────────────────────────────────────────────
- What This Skill Does
- What This Skill Does NOT Do
- Before Implementation
- Core Principle: Cognitive Control
- Required Clarifications
- 1. Agent Identity
- 2. Available Tools
- 3. Safety Requirements
- 4. Error Policy
- System Prompt Architecture
- Intent-to-Tool Mapping
- Mapping Table Format
- Mapping Rules
- Confirmation Policy
What does the agent-prompt-behavior skill do?
Design agent system prompts with explicit behavior rules and cognitive control. This skill should be used when users need to define agent instructions, create intent-to-tool mappings, establish confirmation policies, or prevent hallucinated actions in AI agents.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill agent-prompt-behavior-hasnaincodehub-todo-evaluation-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
