Agent Prompt Engineering

Comprehensive guide for designing, refining, and auditing system prompts for autonomous AI agents based on Anthropic's production practices. Use when creating or refining prompts for agents that operate in loops with tool access, including when asked to write agent instructions, system prompts, agent configurations, or when improving agent reliability and decision-making capabilities. Also use to audit a prompt that already exists — trimming one that has grown long, re-fitting it after upgrading or downgrading the model behind it, or debugging an agent that seems over-constrained.

agentailor Updated

File contents

agentailor/skills/tree/main/agent-prompt-engineering commit 6f272519e0

Frequently asked questions

npx skillmds@latest add agentailor/agent-prompt-engineering