Install any skill in seconds. Free to start, no credit card required.
Get Started Free →mohitagw15856/agent-observability-spec
Specify the tracing, metrics, and alerting for an AI agent or LLM feature in production.
Passed 21 of 22 test cases with the skill, and 15 of 22 without it.
and 8 more in the full report
6 fixed15 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
What is the primary benchmark test to determine whether an LLM observability trace schema is complete and well-designed?
| Checked | Without skill | With skill |
|---|---|---|
| States that an engineer must be able to replay an incident using only the recorded trace data | Missed | Passed |
The instructions your model reads when the skill loads.
You can't fix what you didn't record. For LLM systems the unit of observability is the trace — everything the model saw and did — because behaviour, not uptime, is what fails. This skill specifies what to capture, what to compute from it, and when to page someone.
Ask for (if not already provided):
Every request produces one trace; every model call, retrieval, guardrail check, and tool execution is a span. Minimum fields:
| Span | Must capture |
|---|---|
| Request root | request id, user/session (pseudonymous), feature + prompt version, model id, total tokens, total cost, latency, terminal status |
| Model call | full input context (or content-addressed ref), output, finish reason, tokens in/out, cached-token share, temperature |
| Retrieval | query, top-k ids + scores, which chunks entered the context |
| Tool call | tool name, arguments, result (or ref), duration, error |
| Guardrail | check name, verdict, and what it did (blocked / rewrote / flagged) |
| User signal | edits, regenerates, thumbs, abandonment — joined to the trace id |
The test of the schema: an engineer can replay any incident from its trace alone (see agent-incident-postmortem).
Define four families; every metric gets a threshold, a window, and an owner.
llm-cost-latency-budget). Alert on p99 and daily-budget burn — cost incidents are caused by the tail, not the mean.test cases passed, vs 15 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.