Agent Design Principles

Agent Design Principles is a skill for Claude Code, Codex from niels-emmer/myace. It costs 34 tokens per session (749 once invoked), scanned A, original, MIT.

A checklist for designing reliable AI agent personas, skills, commands, and multi-agent workflows. It focuses on keeping responsibilities clear, context curated, and failures handled deliberately.

In plain words
What is it for?
Use it before creating or expanding an agent, skill, or command, and when planning how several specialised agents pass work between one another.
Why use it?
Agent instructions can become broad and inconsistent as they grow, making failures harder to diagnose and repeated work less useful. The checklist provides review points for preventing that drift.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider; mentions OpenCode.

Good fit Use it before creating or expanding an agent, skill, or command, and when planning how several specialised agents pass work between one another.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/niels-emmer/myace/agent-design-principles
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add niels-emmer/myace --skill agent-design-principles
Clone the repo
git clone --depth 1 https://github.com/niels-emmer/myace

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Agent Design Principles

README.md
[![agentmods](https://agentmods.dev/badge/skills/niels-emmer/myace/agent-design-principles/github.svg)](https://agentmods.dev/skills/niels-emmer/myace/agent-design-principles)
Your own site
<a href="https://agentmods.dev/skills/niels-emmer/myace/agent-design-principles"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/agent-design-principles/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Agent Design Principles

Your own site · 80×15
<a href="https://agentmods.dev/skills/niels-emmer/myace/agent-design-principles"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/agent-design-principles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 749 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.00749
Opus 5 $0.00017 $0.00375
Sonnet 5 $0.00007 $0.00150
Haiku 4.5 $0.00003 $0.00075

Measured 10d ago against content hash a27115593db3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

Agent Design Principles scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

collections/additional/ai-engineering/skills/agent-design-principles/SKILL.md · 32 lines

How it starts

The opening of the file, as written. The whole thing — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Agent/prompt quality tends to erode the same way code quality does when there's no checklist forcing a second look: an agent persona quietly grows to cover more than it should, context accumulates instead of getting curated, and failures get retried with the same full error dump instead of a compacted summary. This skill exists to catch that drift when authoring or revising an agent, skill, or command — for this repo's own artifacts, or for a target repo an ai-engineer/prompt-engineer is working in.

It draws specific, named ideas from 12-factor-agents (humanlayer, Apache-2.0) — cited individually below, not reproduced wholesale; read the source for the full essays behind each one.

When to use it

Before adding a new agent persona or skill, before letting an existing one grow a new responsibility, and when designing how multiple agents hand work to each other (an orchestrator pattern, a pipeline of specialist agents).

The checklist

  1. Small, focused agents — Does this persona do one job well, with a clearly stated permission posture (what it does freely, what it never does)? If a persona's responsibility list is growing past what fits in a short paragraph, it's probably two personas.
  2. Own your control flow — Is the sequence between stages/agents explicit (a named handoff, like this repo's orchestratorbuilderverifier pattern), rather than an open-ended loop hoping the model figures out when to stop or what to do next?
  3. Own your context window — For each stage, is it clear what context it actually needs? Passing everything by default (full history, every file touched so far) degrades output quality as much as passing too little.
  4. Compact errors into context — When a step fails and gets retried, is the failure summarized (what was tried, what broke, what's already ruled out) rather than re-fed as a raw stack trace or full tool output on every attempt?
  5. Unify execution state — Is task progress tracked in one place (e.g. this repo's plan-tracking/memory-system skills) rather than scattered across an agent's implicit memory of the conversation, which doesn't survive a session boundary?
  6. Natural language to concrete action — Are instructions phrased as checkable, concrete steps ("run the test suite and quote the result") rather than vague goals ("make sure it's tested")? A step that can't be verified as done or not-done will eventually be skipped.
  7. Resumability — If this session ended right now, could a fresh session pick up correctly from persisted state (memory files, task tracking) rather than needing the prior conversation's context to make sense of where things stand?

Read the full file on GitHub · 32 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 32 lines · 34 tokens per session scan A a27115593db3

Subscribe to this mod's changes

Agent Design Principles is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed 3d ago), licensed MIT. It adds 34 tokens to every session and 749 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.