/agent-skills:agent-scopingfrom agent-skills
Turns vague agent ideas into reviewable specs with bounded jobs, explicit non-goals, and testable success criteria. Use when scoping a new agent or restating a drifted one.
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.
Read when SKILL.md points to them.
The output of this phase is a single file, docs/agent-spec.md, that someone who was not in
the conversation can read and use to judge whether the agent is finished.
Scoping fails in one of two directions. Too loose ("an agent that helps with support") and nobody can tell when it is done, so it is never done. Too tight ("an agent that replies to refund emails under $50 in English on weekdays") and you have written a script, not an agent — if every branch is enumerated in advance, use a state machine and skip the model.
Aim for: bounded jobs, explicit non-goals, and success criteria that could be disagreed with.
Do not start writing the spec from the one-line ask. Ask the user these, in this order, and stop as soon as you have enough to write a first draft, three good answers beat ten thin ones:
If the user cannot answer 2 or 4, that is a finding worth reporting, not a reason to stall. Write the spec with your assumptions stated inline and flag them for review.
Read references/scoping-questions.md for the longer question bank, organized by agent type
(assistive, autonomous, batch), when the four above do not fit the situation.
Done when: you can answer at least three of the four, and have written down which remain unanswered as assumptions.
A job is one thing a user comes to the agent to get done, phrased from the user's side.
Three to seven jobs is the healthy range. Fewer than three and this is probably a feature, not an agent. More than seven and it is several agents wearing a trenchcoat — say so, and propose the split.
For each job, record the trigger, what the user hands over, and what "done" looks like.
Done when: every job is phrased from the user's side, and each has a trigger, an input, and an observable end state.
This is the section that makes the spec useful, and it is the one people skip. Every non-goal should be something a reasonable person would otherwise assume is in scope.
"Does not write to production databases" is a real non-goal. "Does not make coffee" is padding. If a non-goal was never plausible, delete it.
Separate the two kinds, because they age differently:
Done when: every non-goal is something a reasonable person would otherwise have assumed was in scope, and the "worst plausible outcome" from step 1 appears in the Never list.
Each criterion needs a number, a comparison, or an explicit judgment call with a named judge. "Fast" is not a criterion. "Median response under 30s" is. "Answers read as helpful to the on-call engineer who reviews them weekly" is also fine — it is subjective, but it names who decides.
Cover at least: task success rate, an acceptable failure mode, latency or cost if either is constrained, and the escalation path when the agent cannot finish.
Anything you write here becomes an eval case in phase 4. Write them so they could be.
Done when: every criterion has a number, a comparison, or a named judge, and you could write a test for it.
Use references/agent-spec-template.md. Fill every section — if one does not apply, write
"None" and why, rather than deleting the heading. An empty section is information.
Done when: docs/agent-spec.md exists with no section left blank and every assumption
listed in section 9.
Default output path: docs/agent-spec.md.
Check the draft against these. Each one is a real failure mode, not a formality:
Then tell the user what you assumed and what you need them to confirm. Do not present a spec built on guesses as though it were settled.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub arjunprabhulal/agent-skills --plugin agent-skills60 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-designDesigns an agent's architecture — the tool surface, context strategy, control flow, and model choice — from a scoped set of jobs. Use this whenever the user is deciding how an agent should be built rather than what it should do — choosing tools, wiring up an agent loop, deciding single-agent vs multi-agent, picking a model, or planning what goes in the context window. Also use when an existing agent is unreliable and the cause looks structural rather than a prompt problem. For deciding what the agent is for, use agent-scoping first./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.Other plugins' skills for the same job