/agent-skills:agent-designfrom agent-skills
Designs an agent's architecture — tool surface, context strategy, control flow, and model choice — from a scoped set of jobs. Use when deciding how to build an agent or debugging structural reliability issues.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Input: an agent spec (docs/agent-spec.md from agent-scoping). Output:
docs/agent-design.md.
Almost every unreliable agent is unreliable for one of three structural reasons: it has too many tools, its context is full of things it does not need, or it was given autonomy it was never evaluated for. This phase is where those get decided.
The governing principle: design the smallest system that could do the jobs in the spec. You can add capability after evals show a gap. You cannot easily remove it after users depend on it.
Take each job from the spec and ask what the agent must be able to do to finish it. That list is your tool surface. Anything not on it does not get exposed, however easy it would be to add.
This is the most commonly skipped step and the most damaging. Wrapping an entire API — every endpoint, because the spec was available — produces hundreds of tools, most irrelevant to every request, and measurably worse selection accuracy on the ones that matter.
Design each tool for a model, not for an engineer:
find_customer_orders beats get_v2_orders.Done when: every tool traces to a job, and every job is completable with the tools listed.
Context is a budget, not a container. For each thing you plan to put in it, state why the agent cannot do the job without it.
Sort into:
Write down the plan for accumulation now: summarize older turns, drop stale tool output, or keep a running scratchpad. An agent with no strategy here works in testing and degrades in the third hour of a real session.
Done when: you can state the approximate token cost of a typical turn and what happens on a long one.
In increasing order of power and failure surface:
Pick the lowest level that does the job. Multi-agent architectures are frequently adopted for jobs a tool loop handles, and the cost is paid in every debugging session afterwards.
If you choose a loop, decide now: what is the iteration limit, and what does the agent do when it hits it? Silent truncation is the worst answer.
Done when: the control flow is named, and the loop's exit conditions are written.
Different steps have different requirements. Routing, extraction, and classification often run well on a small fast model; the step that plans and calls tools usually needs the strongest one.
Decide per site, and record what would make you revisit. Note the model version explicitly — a preview or dated model ID is a dependency with an expiry.
Done when: each call site has a model and a stated reason.
This is what separates a demo from something usable. For each of these, decide before building:
Done when: every failure has a designed response, not a default.
# <Agent> — design
## Tool surface
| Tool | Job it serves | Arguments | Returns | Failure behaviour |
## Context strategy
Always / retrieved / accumulated, with the growth plan.
## Control flow
The chosen level and why the simpler one was rejected. Loop limits.
## Models
Per call site, with the reason and the revisit trigger.
## Failure design
Each failure mode and its designed response.
## Rejected alternatives
What was considered and why it lost. This is what stops the same debate in a month.
## Open questions for eval
What this design assumes that only evals can confirm.
That last section matters — it is the handoff to agent-evaluation. A design assumption nobody
wrote down is an assumption nobody tests.
What SKILL.md sets; muted values are Claude Code's defaults
60 skills in this plugin
/accessibility-reviewReviews an interface for barriers that stop people using it — keyboard operation, screen reader support, contrast, focus management, and form semantics. Use this whenever the user is building or reviewing UI, mentions accessibility, a11y, WCAG, screen readers, or keyboard navigation, and proactively when a change adds a modal, a custom control, a form, or anything interactive. For general code correctness, use code-review./agent-deploymentShips an agent to production — packaging, config and secrets, staged rollout, and the rollback plan — for a system whose failures are usually silent rather than loud. Use this whenever the user is deploying an agent or LLM feature, planning a rollout or canary, moving an agent from prototype to production, or asking how to release a prompt or model change safely. For monitoring it once live, use agent-observability./agent-evaluationBuilds an eval set for an agent or LLM feature, writes graders, establishes a baseline, and reads the results honestly. Use this whenever the user wants to measure whether an agent works, asks if a prompt or model change was an improvement, mentions evals, LLM-as-judge, regression testing for AI, or is about to ship an agent on the strength of a few manual tries. Also use before any prompt or model change, since without a baseline no change can be judged./agent-hardeningMakes an agent safe to run with real permissions on real data — scoping what it can do, handling prompt injection, adding confirmation and dry-run for irreversible actions, and bounding cost. Use this whenever an agent is about to touch production, act autonomously, handle untrusted input, or use credentials, and whenever the user asks about agent safety, guardrails, permissions, or prompt injection. Also use when an agent has broad API access that nothing in code restricts./agent-implementationBuilds an agent from a design — the loop, the tools, the prompts, the schema validation, and the traces you will need later. Use this whenever the user is writing agent code — implementing tool calling, wiring an agent loop, building an MCP server or tool layer, writing system prompts for an agent, or turning a prototype agent into something maintainable. For deciding the architecture first, use agent-design; for measuring whether it works, use agent-evaluation./agent-observabilityInstruments a live agent so its degradation is visible — traces, quality and cost metrics, alerting, and the loop that turns production failures back into eval cases. Use this whenever the user asks how to monitor an agent, mentions tracing, observability, or telemetry for an LLM system, wants to track token cost or quality in production, or has an agent already running that nobody is watching. For deploying it in the first place, use agent-deployment.npx claudepluginhub arjunprabhulal/agent-skills --plugin agent-skillsOther plugins' skills for the same job