llm-observability
Skill1 starsChanged 17 days agoMITView on GitHub
Instrument LLM and agent applications with traces, spans, metrics, redaction, cost/latency analysis, and actionable failure diagnosis.
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Redact by default: Avoid storing secrets, access tokens, raw personal data, private documents, or full prompts unless there is a documented …
- Distinctive: line 18
Set alerts on actionable conditions: Use thresholds, baselines, and sustained windows to avoid noisy alerts.
- Distinctive: line 19
Test telemetry itself: Verify correlation IDs, missing spans, exporter failure behavior, cardinality, sampling, redaction, and retention.
- Distinctive: line 22
Treat prompts and tool results as potentially sensitive.
- Distinctive: line 23
Do not put user IDs, raw queries, or document contents into high-cardinality metric labels.
- Distinctive: line 25
Use sampling carefully; retain enough traces for rare high-impact failures.
- Distinctive: line 33
Verify telemetry shows the expected recovery and no new privacy leak.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LLM Observability
Goal
Make AI application behavior inspectable while protecting user data. Observability should answer what happened, where it failed, how much it cost, and whether quality is changing.
Workflow
- Define operational questions. Identify the failures and service-level objectives the team needs to detect: timeouts, tool errors, retrieval misses, quality regressions, latency, or cost spikes.
- Trace one request end to end. Correlate request, model call, retrieval, reranking, tool invocation, subagent handoff, validation, and final response with trace/span identifiers.
- Capture useful metadata. Record model/provider/version, prompt or template version, tool name, retrieval count, token usage, latency, retry count, status, and error category where available.
- Redact by default. Avoid storing secrets, access tokens, raw personal data, private documents, or full prompts unless there is a documented need and lawful, access-controlled retention policy.
- Define metrics. Track request volume, error rate, p50/p95/p99 latency, token/cost per request, tool failure rate, timeout rate, queue depth, and evaluation-derived quality signals.
- Connect traces to evaluations. Sample traces for human review, run offline evaluations on representative cases, and create regression alerts from stable quality metrics.
- Set alerts on actionable conditions. Use thresholds, baselines, and sustained windows to avoid noisy alerts. Route alerts to an owner and include a diagnostic next step.
- Test telemetry itself. Verify correlation IDs, missing spans, exporter failure behavior, cardinality, sampling, redaction, and retention.
Safety and privacy
- Treat prompts and tool results as potentially sensitive.
- Do not put user IDs, raw queries, or document contents into high-cardinality metric labels.
- Restrict trace access and define retention/deletion policies.
- Use sampling carefully; retain enough traces for rare high-impact failures.
- Separate application telemetry from model evaluation data and production secrets.
Debugging procedure
- Find the failing trace and identify the first incorrect span.
- Compare expected vs actual input/output at that boundary, using redacted evidence.
- Reproduce with a sanitized fixture.
- Fix the underlying layer and add a regression test.
- Verify telemetry shows the expected recovery and no new privacy leak.
Deliverable
Provide instrumentation points, trace schema, metric definitions, redaction/retention controls, dashboards/alerts, and a sample diagnostic path.
References
- OpenTelemetry: https://opentelemetry.io/docs/
- GenAI semantic conventions: https://opentelemetry.io/docs/specs/semconv/gen-ai/
- LangSmith tracing: https://docs.smith.langchain.com/
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- nahid-sparktales/agent-dispatcher★ 59same name
- krzysztofsurdy/code-virtuoso★ 36same name
- SKB3002/agenthub★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- agent-architecture-designSkill
- agent-evaluationSkill
- agent-harness-engineeringSkill
- agentic-workflow-testingSkill
- agent-memory-designSkill
- browser-computer-useSkill
- durable-agent-workflowsSkill
- human-in-the-loopSkill
- mcp-developmentSkill
- mcp-server-developmentSkill
- multi-agent-orchestrationSkill
- tool-calling-designSkill
- advanced-retrieval-rerankingSkill
- context-engineeringSkill
- embedding-model-engineeringSkill
- llm-evaluationSkill
- model-serving-inferenceSkill
- multimodal-ai-pipelinesSkill
- prompt-engineeringSkill
- rag-engineeringSkill
- rag-pipeline-engineeringSkill
- structured-outputsSkill
- agentic-securitySkill
- security-reviewSkill
- code-reviewSkill
- debuggingSkill
- test-engineeringSkill
- example-skillSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

