llm-observability
Skill1 starsChanged 33 days agoMITView on GitHub
Instrument LLM applications and agents for production — traces of prompts, retrieval and tool calls, token usage and cost, latency, errors, user feedback and quality signals — with privacy controls and sampling (for example with OpenTelemetry GenAI conventions, Langfuse or similar). Use when running LLM features in production, debugging agent behaviour, or controlling AI costs.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- afine907/skillstheir own version, first seen Nov 29, 2026
- JPeetz/agent-skillstheir own version, first seen Nov 15, 2026
- asmamest/Nexus-Skillstheir own version, first seen Nov 1, 2026
- krzysztofsurdy/code-virtuosotheir own version, first seen Nov 1, 2026
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
- SKB3002/agenthubtheir own version, first seen Apr 20, 2026
Used with
Projects with it also use context-engineering.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
mrgoonieSkillcontext-engineering
Master context engineering for AI agent systems. Use when designing agent architectures, debugging context failures, optimizing token usage, implementing memory systems, building multi-agent coordination, evaluating agent performance, or developing LLM-powered pipelines. Covers context fundamentals, degradation patterns, optimization techniques (compaction, masking, caching), compression strategies, memory architectures, multi-agent patterns, LLM-as-Judge evaluation, tool design, and project development.
Also in 3 projects that use this
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- nahid-sparktales/agent-dispatcher★ 59same name
- krzysztofsurdy/code-virtuoso★ 36same name
- JPeetz/agent-skills★ 21same name
- SKB3002/agenthub★ 4same name
- afine907/skills★ 1same name
- asmamest/Nexus-Skills★ 1same 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 repository105 other files it gives its agents.
- AGENTS.mdAGENTS.md
- instructions/AGENTS.mdAGENTS.md
- accessibility-reviewSkill
- agent-evaluationSkill
- agent-guardrailsSkill
- agenthub-routerSkill
- ai-red-teamingSkill
- ansible-reviewSkill
- api-designSkill
- api-integrationSkill
- architecture-decisionSkill
- backup-restoreSkill
- caching-strategySkill
- chaos-engineeringSkill
- ci-cd-pipeline-designSkill
- cloud-cost-optimizationSkill
- cloud-iam-least-privilegeSkill
- code-reviewSkill
- container-image-optimizationSkill
- cyber-resilience-actSkill
- database-migrationsSkill
- data-pipeline-reviewSkill
- data-privacySkill
- data-quality-checksSkill
- debugging-root-causeSkill
- dependency-auditSkill
- dependency-upgradeSkill
- disaster-recovery-drillSkill
- docker-hardeningSkill
- documentationSkill
- dora-readinessSkill
- dpiaSkill
- email-deliverabilitySkill
- embedding-model-selectionSkill
- error-handling-reviewSkill
- eu-ai-act-readinessSkill
- eu-data-sovereigntySkill
- european-accessibility-actSkill
- event-driven-architectureSkill
- feature-flagsSkill
- frontend-reviewSkill
- gdpr-dsar-handlingSkill
- github-actionsSkill
- gitlab-ciSkill
- git-workflowSkill
- go-developmentSkill
- graphql-api-reviewSkill
- helm-chart-reviewSkill
- i18n-localizationSkill
- incident-responseSkill
- java-spring-reviewSkill
- kubernetes-reviewSkill
- linux-server-hardeningSkill
- llm-cost-analysisSkill
- llm-gateway-routingSkill
- llm-output-evaluationSkill
- llm-structured-extractionSkill
- load-testingSkill
- local-llm-servingSkill
- log-analysisSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
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 32
Every model and tool call in a sample request appears in the trace with tokens, cost and latency.
“Common” is measured: kept by at least 6 in 10 of the 5 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
Be able to answer for any request: what the model saw, which tools ran, how long and how much it cost, whether the answer was good — without leaking personal data into logs.
Inputs
- Application architecture (models, gateway, retrieval, tools, agents), existing observability stack, privacy requirements, cost budgets.
Procedure
- Trace structure: one trace per user request or agent task; spans for model calls, retrieval, reranking, tool calls and sub-agents; propagate trace IDs from the application.
- Attributes per model span: provider, model and version, prompt template ID and version, input/output token counts, cost, latency (time to first token and total), finish reason, retries and fallbacks. Follow the OpenTelemetry GenAI semantic conventions where possible.
- Content capture policy: decide per environment whether prompts and completions are stored; when stored, apply masking of secrets and personal data, access control and short retention; metadata-only is the default for sensitive applications.
- Quality signals: user feedback (thumbs, edits), automatic evaluations on samples (groundedness, format validity), guardrail triggers, refusal rates.
- Dashboards and alerts: cost per day and per feature, token anomalies, latency percentiles, error and fallback rates, tool failure rates, loop detection in agents.
- Sampling: full traces for errors and flagged sessions, sampled traces for normal traffic.
- Close the loop: link traces to evaluation datasets — interesting production failures become test cases (see
llm-output-evaluation).
Example fixture
Alert: cost per conversation +300 % since prompt v14.
Trace analysis: retrieval now returns 40 chunks instead of 8 (config change) → input tokens ×5.
Fix: restore top-k=8, add a guardrail alert on input tokens > 20 k per call.Acceptance checks
- Every model and tool call in a sample request appears in the trace with tokens, cost and latency.
- Content capture follows the documented policy (negative case: a test prompt containing a fake API key appears masked in the stored trace).
- Cost and anomaly alerts fired in a test.
Output
Instrumentation changes, content policy, dashboards, alerts.
Safety
Traces with prompts are sensitive data stores: restrict access, encrypt, and set retention. Do not send traces to third-party observability services without a data processing agreement and approval.
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.

