/agent-skills:agent-hardeningfrom agent-skills
Hardens agents for production use: scopes permissions in code, treats retrieved content as hostile, adds confirmation/dry-run for irreversible actions, and bounds cost.
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: the spec's "worst plausible outcome", the design's tool surface. Output: enforced limits
in code, and docs/agent-risks.md.
The premise of this phase: the model will eventually do the wrong thing. Not because it is badly built, but because it is a stochastic system handling adversarial and ambiguous input. So every protection that lives only in the prompt is a protection that fails on the day it matters.
The question to ask about each control: would this hold if the model actively tried to bypass it? If the answer is no, it is guidance, not a guardrail. Both are useful; only one is a control.
List every action the agent can take that cannot be undone: deletions, sends, payments, external API writes, deploys, permission changes, anything a third party observes.
For each: what is the worst outcome if it fires wrongly, and how would you find out?
This list is the agenda for the rest of the phase. Everything reversible can be handled with monitoring; everything irreversible needs a control before it ships.
Done when: the list exists and each entry has a stated worst case.
The agent's credentials should permit exactly what its jobs require and nothing else. Not the prompt, the credential.
This single step prevents more incidents than every prompt-level instruction combined, because it is the only one that holds under an unexpected input.
Done when: the credential and the tool list would prevent the worst case even if the prompt were empty.
Any text the agent reads — web pages, documents, emails, tickets, tool results, database rows a user once wrote — can contain instructions. This is prompt injection, and it is not exotic; it is the default condition of an agent that reads things.
Done when: injected instructions in retrieved content cannot reach a side-effecting tool.
Confirmation is not a UX detail; it is the control for the list in step 1.
Done when: every irreversible action is gated, and the cap on repeated actions is enforced.
Agents fail expensively. A loop that costs a fraction of a cent per turn costs real money at three in the morning with no turn limit.
Done when: a runaway loop stops on its own and someone is told.
Done when: you could answer "what did the agent do between 2pm and 3pm, and can we undo it?"
# <Agent> — risks and controls
| Risk | Worst case | Control | Enforced in | Tested by |
The "enforced in" column is the point of the whole document. If it says "system prompt", that is a soft control, and it belongs in a separate section clearly labelled as guidance rather than sitting alongside real limits. Mixing them produces a document that looks like safety and is not.
End with what you accepted: the risks you decided to live with, and why. An honest accepted-risk list is worth more than a document implying everything is covered.
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-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-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