/agent-skills:root-cause-analysisfrom agent-skills
Runs a blameless postmortem after an incident — what broke, why it broke, why it was not caught, and what changes as a result. Use for postmortems, retros, incident reviews, or five whys.
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.
A postmortem is a written argument that a class of failure is now less likely. It is not a timeline, not an apology, and not a record of who was on shift.
If it ends with "we will be more careful", nothing changed and the incident will recur, because care is not a control.
The reason to write blamelessly is instrumental: people who expect blame withhold information, and incomplete information produces wrong conclusions. The engineer who ran the command knows more about what happened than anyone else. If naming them costs them, you lose that.
So the rule is: name systems, not people.
"The deploy tool accepted a production target without confirmation" , not "Priya deployed to prod by mistake"
Both describe the same event. Only one produces an honest report next time, and only one points at something you can fix.
This also means human error is never a root cause. It is where the analysis starts. Someone did the wrong thing — now ask why the system made that easy, why nothing caught it, and why the blast radius was that large.
Who was affected, how many, for how long, and what they could not do. Numbers, not adjectives.
If you do not know the number, write "unknown" and note what would have told you. A missing measurement is itself a finding, and usually an important one.
Done when: impact is quantified or its unmeasurability is recorded.
Include only events that change a reader's understanding. Start at the change that introduced the fault, not at the alert.
Mark these explicitly, because the gaps between them are findings in their own right:
A long introduced→detected gap is a monitoring finding. A long detected→resolved gap is a tooling or runbook finding. Name them as such rather than leaving the reader to notice.
Done when: all three moments have times and the gaps are called out.
Most incidents have no single cause. They have a trigger and a set of conditions that let it matter, and treating one as the cause hides the rest.
Separate them:
Keep asking why until the next answer would be a system you control and could change. That is where to stop. Going further reaches "because the business wanted the feature", which is true and useless.
Done when: each cause bottoms out at something changeable.
Do this section properly — it is the one that generalises beyond this incident. Walk each layer that should have stopped it and say why it did not:
"No test existed" is a weak answer. "The suite mocked the queue, so backpressure was unreachable in tests" is a finding you can act on.
Done when: every layer is accounted for, including the ones that worked.
Each needs an owner, a date, and a tracked ticket. An action item without all three is a wish.
Sort by what they do:
All three are legitimate. Do not let detection work be presented as prevention.
Reject aspirations. "Improve testing" is not an action; "add an integration test running the consumer against a real queue at 10x normal depth" is.
Cap the list. A postmortem with fourteen action items produces zero. Three that ship beat fourteen that do not, and the completion rate is the honest measure of whether this process is real.
Done when: every item has an owner, a date, and a ticket.
The document has two audiences, and the second is the larger one:
Publish beyond the team by default. A postmortem archive people actually read is one of the strongest reliability investments available, and it only works if the writing is blameless enough that publishing is safe.
Done when: it has been reviewed and shared beyond the people involved.
Write for the person who joins in a year and hits something similar. They need the mechanism and the reasoning, not reassurance.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
postmortem, incident-review, blameless-culture, five-whys, retrospective
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