observability

observability is a skill for Claude Code from bricerising/enterprise-software-playbook. It costs 70 tokens per session (1,908 once invoked), scanned A, original, Apache-2.0.

A guide for adding observability, meaning structured logs, traces, measurements, dashboards, and alerts that show what software is doing.

In plain words
What is it for?
Use it to instrument requests, jobs, queue messages, and other units of work with logs, OpenTelemetry traces, RED metrics, dashboards, alerts, field contracts, and verification checks.
Why use it?
It makes failures and performance problems easier to connect across service boundaries and investigate using consistent identifiers and fields.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the enterprise-software-playbook plugin — 16 skills shipped together

Good fit Use it to instrument requests, jobs, queue messages, and other units of work with logs, OpenTelemetry traces, RED metrics, dashboards, alerts, field contracts, and verification checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bricerising/enterprise-software-playbook/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 bricerising/enterprise-software-playbook --skill observability
Clone the repo
git clone --depth 1 https://github.com/bricerising/enterprise-software-playbook

Made for: Claude Code.

Or install enterprise-software-playbook, the plugin that ships this one along with the rest of its 16 skills.

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/bricerising/enterprise-software-playbook/observability.svg)](https://agentmods.dev/skills/bricerising/enterprise-software-playbook/observability)
Your own site
<a href="https://agentmods.dev/skills/bricerising/enterprise-software-playbook/observability"><img src="https://agentmods.dev/badge/skills/bricerising/enterprise-software-playbook/observability.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,908 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.00070 $0.01908
Opus 5 $0.00035 $0.00954
Sonnet 5 $0.00014 $0.00382
Haiku 4.5 $0.00007 $0.00191

Measured 8d ago against content hash 6e82e9d85874, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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 · 153 lines

How it starts

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

Observability (Instrumentation + Verification)

Overview

Make observability consistent and actionable: every boundary emits traces, metrics, and structured logs that correlate via IDs and stable fields.

This is intentionally opinionated: you should be able to answer “what happened?” with log → trace → metrics within a minute.

Inputs / Outputs

Inputs: Boundary code to instrument; service name; existing instrumentation (if any); correlation IDs in use. Outputs: Instrumented code (traces, metrics, structured logs); field contract (stable keys); verification commands. Consumed by debug (for triage) and finish (for spot-check).

Workflow

  1. Name the decision this telemetry will inform (for example: keep current architecture, tune a timeout, roll out a migration).
  2. Define the unit of work (one trace): HTTP request, gRPC call, job run, queue message, WebSocket action.
  3. Define the measurement ladder:
    • 3 leading indicators (move within days)
    • 3 lagging outcomes (move within weeks/months)
    • owner + review cadence + trigger for action
  4. Instrument end-to-end:
    • traces: spans around the unit of work + key downstream calls
    • metrics: RED for the boundary + a few domain metrics
    • logs: structured JSON that includes correlation IDs
  5. Declare the field contract (stable keys).
  6. Add guardrails (PII rules, label cardinality rules, sampling/log levels).
  7. Verify correlation in a failure case (error log includes traceId; trace contains downstream spans; metrics show error rate).
  8. Define the operating ritual:
    • where metrics/logs/traces are reviewed
    • who decides and who executes follow-up
    • what threshold triggers rollback/escalation

Minimum viable execution

When context or time is constrained, these are the load-bearing steps:

  1. Name the decision (step 1) — every metric needs a named decision it informs.
  2. Instrument RED at boundaries (step 4) — request count, error count, duration histogram per boundary.
  3. Add trace ID correlation to logs (step 4-5) — structured logs must include traceId for log → trace linkage.
  4. Verify correlation in a failure case (step 7) — error log includes traceId, trace shows downstream spans, metrics reflect the error.

Read the full file on GitHub · 153 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. 8d ago First seen · 153 lines · 70 tokens per session scan A 6e82e9d85874

Subscribe to this mod's changes

observability is a skill published in the GitHub repository bricerising/enterprise-software-playbook (7 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 70 tokens to every session and 1,908 once invoked, about $0.0003 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

replit-deck

For product and technical management work: turn PRDs, roadmaps, RFCs, architecture reviews, and retros into decision documents. Built around the core query "pm-feature-business-case-deck", with product strategy lead judgment, buyer-ready proof, and this outcome: approve the feature, architecture, roadmap, or incident…

nexu-io/open-design · 71 tokens

hps-true-blueprint

OpenDesign's engineering blueprint: how the sandbox, sidecar, and daemon fit — the system diagram and the invariants. Built as a decision-grade product management deck for engineering org.

nexu-io/open-design · 44 tokens

html-ppt-knowledge-arch-blueprint

OpenDesign's incident retro: the daemon-restart data bug, the root cause, the fix, and the systemic follow-ups. Built as a decision-grade product management deck for engineering, SRE, leadership.

nexu-io/open-design · 52 tokens

deck-open-slide-canvas

OpenDesign's architecture review: the local daemon + agent-runtime design, the tradeoffs, and the decision to lock. Built as a decision-grade product management deck for staff eng, tech leads, security.

nexu-io/open-design · 47 tokens

architecture-aware-init

Selects architecture paradigm via research before scaffolding. Use when architecture is undecided and the choice needs justification and documentation.

athola/claude-night-market · 28 tokens

frontmcp-guides

Tutorials, end-to-end walkthroughs, and complete reference projects for FrontMCP. Use when you want a getting-started guide, a full worked example, or to learn best practices by following a step-by-step build rather than a single API reference. Includes a beginner weather-API server (tool plus static resource, Zod…

agentfront/frontmcp · 157 tokens