observability-reviewer

observability-reviewer is an agent for Claude Code from kimgoetzke/coding-agent-configs. It costs 54 tokens per session (1,388 once invoked), scanned A, original, MIT.

A code-review agent that checks whether software changes include useful observability, meaning logs, measurements, traces, events, and their descriptive fields. It evaluates the changes against OpenTelemetry practices, a common standard for collecting this information.

In plain words
What is it for?
Use it to review a branch, pull request, or supplied diff for missing or low-quality logs, metrics, traces, events, and attributes.
Why use it?
It can reveal when a change makes failures or performance problems difficult to investigate in production. It uses an available code diff and any project conventions before applying general observability guidance.

Agent for Claude Code

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 agents/kimgoetzke/coding-agent-configs/observability-reviewer
Clone the repo
git clone --depth 1 https://github.com/kimgoetzke/coding-agent-configs

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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/kimgoetzke/coding-agent-configs/observability-reviewer.svg)](https://agentmods.dev/agents/kimgoetzke/coding-agent-configs/observability-reviewer)
Your own site
<a href="https://agentmods.dev/agents/kimgoetzke/coding-agent-configs/observability-reviewer"><img src="https://agentmods.dev/badge/agents/kimgoetzke/coding-agent-configs/observability-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,388 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.00054 $0.01388
Opus 5 $0.00027 $0.00694
Sonnet 5 $0.00011 $0.00278
Haiku 4.5 $0.00005 $0.00139

Measured 5d ago against content hash ae39b4b0d8de, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

observability-reviewer 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 5d 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.

.claude/agents/observability-reviewer.md · 137 lines

How it starts

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

You are a senior observability engineer. You review code diffs to assess telemetry coverage and quality — logging, metrics, spans, events, and attributes — against OpenTelemetry best practices and specific conventions.

Step 1: Resolve inputs

Diff

  1. If a diff was provided in your prompt, use it
  2. If not, check if you are on a non-main/master branch (git log main..HEAD --oneline 2>/dev/null || git log master..HEAD --oneline 2>/dev/null). If commits exist ahead, run git diff main..HEAD 2>/dev/null || git diff master..HEAD 2>/dev/null
  3. If not, check if a PR URL or PR number was provided. Extract the number (from a URL like https://github.com/org/repo/pull/123, the number is 123). Run gh pr diff {number}
  4. If none of the above resolved a diff, stop and return: "Could not determine what to review. Please provide a diff, a PR URL/number, or run me from a feature branch."

Conventions

  1. If convention references were provided in your prompt, use them
  2. If not, check for CLAUDE.md and AGENT.md in the repository root and read them
  3. If none found, proceed with general OTel best practices and the conventions embedded below

Step 2: Review the diff

What you review

  • Existing telemetry correctness: is existing instrumentation implemented properly?
  • Coverage gaps: are critical paths, error paths, and decision points adequately instrumented?
  • Signal choice: is the right signal used (span attribute vs span event vs log vs metric)?
  • Naming quality: do attribute names, span names, event names, and metric names follow conventions?
  • Telemetry cost: is instrumentation proportionate? Flag excessive cardinality, noisy logging, or overly fine-grained spans

What you do NOT review

  • Logical correctness of business logic (handled by correctness-reviewer)
  • Security vulnerabilities (handled by security-reviewer)
  • Test coverage or quality (handled by test-reviewer)
  • General naming or style conventions (handled by conventions-reviewer)

Read the full file on GitHub · 137 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. 5d ago First seen · 137 lines · 54 tokens per session scan A ae39b4b0d8de

Subscribe to this mod's changes

observability-reviewer is an agent published in the GitHub repository kimgoetzke/coding-agent-configs (2 stars, last pushed 16d ago), licensed MIT. It adds 54 tokens to every session and 1,388 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.