The Agents Best Practices skill gives your agent a provider-neutral reference for designing, auditing, and generating production-safe agentic harnesses. Once installed, the skill activates automatically when your conversation touches agent architecture, tool design, permissions, planning mode, context and memory, observability, or production readiness — across any domain from coding to finance, support, legal, and beyond.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/DenisSergeevitch/agents-best-practices/llms.txt
Use this file to discover all available pages before exploring further.
This skill is compatible with Codex, Claude Code, and other Agent Skill-aware runtimes that support the portable
SKILL.md entrypoint.Install the skill
Run the following command in your terminal to install the skill at user level using the The
skills CLI:-g flag installs globally so every project on your machine can discover the skill.Verify the install
After installation, confirm the following files are present in your agent’s skills directory:
SKILL.md— skill entry point and trigger rulesicon.jpeg— skill imagereferences/— directory containing all reference files (architecture, tools, permissions, evals, and more)
~/.codex/skills/agents-best-practices/. For Claude Code, check ~/.claude/skills/agents-best-practices/.Use with your agent
The skill activates automatically when your prompt involves any of these intents:
- Build an agent, agentic workflow, AI worker, autonomous assistant, or harness
- Create a domain-specific MVP agent design, starter harness, implementation blueprint, or first production-safe version
- Choose between OpenAI, Anthropic, OpenAI-compatible APIs, direct tool loops, hosted tools, or SDKs
- Design tools, permissions, guardrails, approval flows, or sandboxing
- Create planning mode, goal mode, todo tracking, or long-running task behavior
- Add context compaction, memory, retrieval, scoped instructions, or prompt hierarchies
- Attach Agent Skills, reusable workflows, MCP servers, external connectors, or tool search
- Audit an existing agent for reliability, cost, prompt-cache hit rate, safety, latency, or observability
- Create system prompts or developer instructions for a domain-specific agent
- Make source-of-truth knowledge, validation signals, logs, metrics, or workflow state legible to an agent
Installation guide
All three install methods: npx skills CLI, agent prompt, and manual git clone.
MVP blueprint
How the skill generates domain-specific MVP harness blueprints.
Architecture
Full harness model: loop, components, and boundaries.
Tools and permissions
Typed tools, risk classes, approval flows, and sandboxing.