observability

observability is a skill for Claude Code, Codex from kreek/consult. It costs 29 tokens per session (721 once invoked), scanned A, original, MIT.

A set of rules for seeing whether a production service is healthy through logs, metrics, traces, health checks, dashboards, alerts, and service-level objectives (SLOs). Production observability means collecting enough useful information to understand a running service and diagnose failures.

In plain words
What is it for?
Use it to add or review structured logs, performance and error metrics, distributed traces, dependency health signals, dashboards, SLO-based alerts, and separate liveness and readiness checks.
Why use it?
It prevents user-facing service paths from operating without visibility into errors, delays, dependencies, and capacity. It also helps make alerts actionable while limiting sensitive data and excessive metric detail.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/kreek/consult/observability
Any agent
npx skills add kreek/consult --skill observability
Clone the repo
git clone --depth 1 https://github.com/kreek/consult

Made for: Claude Code, Codex.

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/kreek/consult/observability.svg)](https://agentmods.dev/skills/kreek/consult/observability)
Your own site
<a href="https://agentmods.dev/skills/kreek/consult/observability"><img src="https://agentmods.dev/badge/skills/kreek/consult/observability.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 721 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00029 $0.00721
Opus 5 $0.00015 $0.00360
Sonnet 5 $0.00006 $0.00144
Haiku 4.5 $0.00003 $0.00072

Measured today against content hash c8270aa39d85, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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.

agents/.agents/skills/observability/SKILL.md · 67 lines

How it starts

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

Observability

Iron Law

NO USER-REACHABLE SERVICE PATH SHIPS BLIND.

When to Use

  • Logs, metrics, traces, health checks, dashboards, SLOs, alerts, dependency health, incident diagnosis, OpenTelemetry, cardinality, burn-rate alerts.

When NOT to Use

  • Local-only scripts or libraries with no operational surface.
  • Error type design; use error-handling. Release sequencing; use release.

Rules

  1. Every new user-reachable path emits request, error, and duration (RED) signals, and traces cover its inbound and outbound boundaries. Critical dependencies expose latency, error, timeout, retry, circuit state, and saturation.
  2. Logs are structured events with stable names, typed fields, severity, outcome, and trace or correlation ID, using OpenTelemetry semantic conventions where they exist. Levels distinguish expected client failures from operator-actionable errors. Load references/logging.md for any logging change.
  3. Metric labels are bounded. User IDs, request IDs, and paths go in logs or traces, because cardinality is a production cost.
  4. Sensitive data is redacted at the source with a field allowlist (see security); collector filtering is defense in depth only.
  5. Liveness never depends on external systems. Readiness does.
  6. Alerts fire on user impact, SLO burn, or actionable dependency failure, and link to a runbook with action and escalation. Tune noisy alerts by signal, owner, or threshold; never silence them.
  7. Dashboards answer current health and likely fault location.
  8. A prototype may defer observability only if the deferral is recorded and the path is promoted before real users reach it.

Tripwires

Trigger Do this instead False alarm
"We logged the error, so it is observable" Add stable event name, outcome, severity, and correlation ID. The project logger adds those fields automatically and tests prove it.
"Put user ID / request ID / path in a metric label" Bound the labels; put high-cardinality values in logs or traces. The label set is proven bounded.
"Alert on every error" Alert on user impact, SLO burn, or actionable dependency failure. Low-volume critical security or data-loss event.
"Health check should test the database" Keep liveness local; put dependencies in readiness. The endpoint is explicitly readiness.
"The collector will redact it" Redact at the source. Source redaction is impossible and the risk is documented.
"Dashboard later" Add the view needed to find current health and fault location. Local-only prototype with the deferral recorded.

Read the full file on GitHub · 67 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed · -32 lines c8270aa39d85
  2. 4d ago First seen · 99 lines · 29 tokens per session scan A 6303f0b51ef1

Subscribe to this mod's changes

observability is a skill published in the GitHub repository kreek/consult (1 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 721 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

watch

File sentinel that monitors the working directory for changes and marker comments, then auto-triggers appropriate skills. Poll-based via git diff against the last scan commit. Writes intake items for batch processing and routes marker actions through /do. Use for automatic reactions to file changes; do NOT use for…

SethGammon/Citadel · 70 tokens

pr-watch

Local PR watcher. Monitors CI status, automatically fixes failing checks by reading failure logs and applying targeted fixes, then optionally merges when all checks pass. Local CLI analog to Claude Code's cloud auto-fix feature.

SethGammon/Citadel · 46 tokens

qa

Browser-based QA verification. Launches a real browser, navigates the app, clicks buttons, fills forms, and tests user flows. Works as a standalone skill or as a phase end condition in campaigns. Requires Playwright (optional dependency, graceful skip if not installed).

SethGammon/Citadel · 56 tokens

review

5-pass structured code review — correctness, security, performance, readability, consistency.

SethGammon/Citadel · 17 tokens

live-preview

Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Requires Playwright or similar screenshot tool.

SethGammon/Citadel · 40 tokens

systematic-debugging

4-phase root cause analysis: observe, hypothesize, verify, fix. Enforces investigation before any code changes. Emergency stop after 2 failed fixes. Prevents shotgun debugging and fix cascades.

SethGammon/Citadel · 45 tokens