/agent-skills:agent-observabilityfrom agent-skills
Instruments a live agent with full tracing, cost/latency/quality metrics, alerting, and a loop turning production failures into eval cases. Use when monitoring an LLM agent or tracking token cost and quality.
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: a deployed agent. Output: instrumentation, alerts, and a working path from production failure back into the eval set.
Standard monitoring will tell you the agent is up, fast, and error-free while it is confidently wrong on every third request. Latency and error rate are necessary and nowhere near sufficient. You have to measure whether the answers are any good, and that requires deliberate work.
The trace is the unit of debugging. One span per run, with child spans for each model call and each tool call:
Use OpenTelemetry if you have any stack at all — GenAI semantic conventions exist, and the tooling around them is worth more than a bespoke format.
Sample intelligently rather than uniformly: keep 100% of failures, refusals, limit-hits, and anything that took an irreversible action. Sample the boring successes. Failures are rare and are exactly what you will want to read.
Redact at the collection boundary. Traces are the easiest place to leak user data.
Done when: you can pull up any run and see every step, with its version.
Cost: tokens and spend, per run, per user, per tenant. Watch the distribution, not the mean: a p99 that is fifty times the median is a loop nobody has noticed yet.
Latency: end to end, and per step, so you can tell a slow model from a slow tool. Track time to first token separately if you stream; users experience that, not total time.
Terminal state: the proportion of runs that complete, hit a turn limit, error, or refuse. This is the cheapest quality proxy you have and it needs no judge. A rising limit-hit rate means something changed in the input distribution.
Quality: the hard one, and the reason this phase exists:
agent-evaluation. This is the only method that gives you a continuous number.Done when: all four are recorded and visible on one view.
Agent degradation shows up as a change in shape before it shows up as errors. Alert on:
Set thresholds against the shadow-phase baseline from agent-deployment. Absolute numbers
picked in advance are guesses.
Do not alert on things nobody will act on. An alert with no runbook trains people to ignore the channel, and it will be ignored on the day it matters.
Done when: each alert has a threshold derived from real data and a documented first action.
The two changes that do the most damage and announce themselves least:
agent-deployment pins versions, and why you should re-run the eval set on a
schedule, not only on deploy.Done when: the eval suite runs on a schedule against production configuration, and someone sees the result.
This is the step that makes the whole lifecycle compound, and the one most often skipped.
Every production failure worth fixing becomes a permanent eval case. Make it mechanical: one command that takes a trace ID and appends it to the eval set with the observed failure as the expectation.
Without this, the same class of failure recurs indefinitely and every fix is a one-off. With it, the eval set becomes a record of everything that has ever gone wrong, which is exactly the set you want to run before every change.
Done when: turning a bad trace into an eval case takes one command.
What is instrumented, what the current numbers are, what you alert on and why those thresholds, what is not measured, and how many production failures have made it into the eval set this month. That last number is the honest measure of whether this phase is real or decorative.
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