observability

observability is a skill for Claude Code from caiaffa/claude-code-ultimate-engineering-system. It costs 27 tokens per session (734 once invoked), scanned A, original, MIT.

A guide to adding useful production telemetry with OpenTelemetry, a standard way to collect traces, metrics, and logs. It covers connecting activity across APIs, jobs, databases, and external services.

In plain words
What is it for?
Use it to plan or review traces, metrics, and logs; follow a request across services; define service-level indicators and objectives; and improve incident response.
Why use it?
Without well-designed telemetry, failures and slow requests are difficult to explain. It helps teams define useful measurements, service targets, and alerts for diagnosing incidents.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to plan or review traces, metrics, and logs; follow a request across services; define service-level indicators and objectives; and improve incident response.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/caiaffa/claude-code-ultimate-engineering-system/observability
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add caiaffa/claude-code-ultimate-engineering-system --skill observability
Clone the repo
git clone --depth 1 https://github.com/caiaffa/claude-code-ultimate-engineering-system

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for observability

README.md
[![agentmods](https://agentmods.dev/badge/skills/caiaffa/claude-code-ultimate-engineering-system/observability/github.svg)](https://agentmods.dev/skills/caiaffa/claude-code-ultimate-engineering-system/observability)
Your own site
<a href="https://agentmods.dev/skills/caiaffa/claude-code-ultimate-engineering-system/observability"><img src="https://agentmods.dev/badge/skills/caiaffa/claude-code-ultimate-engineering-system/observability/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for observability

Your own site · 80×15
<a href="https://agentmods.dev/skills/caiaffa/claude-code-ultimate-engineering-system/observability"><img src="https://agentmods.dev/badge/skills/caiaffa/claude-code-ultimate-engineering-system/observability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 734 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00734
Opus 5.5 $0.00011 $0.00294
Sonnet 5.5 $0.00005 $0.00147
Haiku 4.5 $0.00003 $0.00073

Measured 2mo ago against content hash 73cccf8eb1db, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

observability scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/observability/SKILL.md · 66 lines

How it starts

The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mission

Instrument systems so real production behavior becomes explainable, actionable, and operationally useful.

When to use

  • Designing instrumentation strategy.
  • Reviewing spans, metrics, and logs.
  • Improving incident diagnosability.
  • Defining SLIs, SLOs, and alerts.
  • Correlating APIs, jobs, DB calls, and external dependencies.

Handoff

  • Receives from: backend-platform-engineer (feature implementation) or reliability-engineer (production gap identified).
  • Hands off to: production-readiness (dashboards/alerts), release-commander (monitoring for rollout).

The 3 pillars — when to use each

Pillar Use when Example
Traces Understanding request flow across services "Why was this API call slow?" → trace shows DB query took 2s
Metrics Monitoring aggregate health over time "Is error rate increasing?" → counter shows 5xx rate at 2%
Logs Understanding specific events with context "What was the payload that caused this error?" → structured log with request ID

Span design rules

  • Name spans by operation, not by function name (order.create not handleRequest).
  • Add business-relevant attributes (order.id, customer.tier, payment.method).
  • Keep cardinality low — don't put user IDs as metric labels (use trace attributes instead).
  • Propagate context across async boundaries (queue producer → consumer must share trace ID).
  • Mark errors with proper status codes and error messages on the span.

SLI/SLO design

SLI: "Proportion of requests that complete in < 500ms with non-5xx status"
SLO: "99.5% of requests meet the SLI, measured over 30 days"
Error budget: "0.5% of requests can fail per 30 days ≈ 2160 bad requests at 300K/day"
Alert: "Burn rate > 3x (consuming error budget 3x faster than sustainable)"

Async trace continuity

For queue-based flows, context must survive:

Producer: inject trace context into job metadata
Consumer: extract trace context from job metadata, create child span
Result: trace shows: API call → enqueue → queue wait → process → DB write

Read the full file on GitHub · 66 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 66 lines · 27 tokens per session scan A 73cccf8eb1db

Subscribe to this mod's changes

observability is a skill published in the GitHub repository caiaffa/claude-code-ultimate-engineering-system (17 stars, last pushed 2mo ago), licensed MIT. It adds 27 tokens to every session and 734 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.

Related

observability compared with skills from other repositories

observability next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
observabilitycaiaffa/claude-code-ultimate-engineering-systemSkill172mo agoMITA27Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code
performance-verificationvalkor-ai/loomSkill1.6k3d agoApache-2.0A45Claude Code, Codex
loop-engineeringhuytieu/COG-second-brainSkill1.6kyesterdayMITA63Claude Code