JJolix.
🤖 MCP & AgentsNew this weekadvanced

Production Agent System Prompt Template

A fill-in-the-blanks system prompt for tool-using agents — role, goals, tool policy, autonomy limits, escalation rules, output contract and self-checks — following Anthropic's published guidance on building effective agents.

What it produces

Reference: Anthropic's 'Tips for building AI agents' — when to use agents, tool design and guardrails.Reference example© Anthropic ↗
Reference: Anthropic's 'Building effective agents' engineering post that this template's structure follows.Reference example© Anthropic ↗

The prompt

🔒

Unlock this prompt

~368 words, copy-paste ready. Pro members get this and every other prompt — plus a new drop each week.

How to use it

  1. Fill every bracket; delete sections that truly don't apply rather than leaving them vague.
  2. Use as the system prompt in the Claude API, the Claude Agent SDK, or a Claude Code subagent (.claude/agents/[name].md).
  3. Test with 10 realistic tasks including 3 that SHOULD trigger an approval or escalation, and tighten wording where it misbehaves.

More in MCP & Agents