observability-reviewer

observability-reviewer is an agent for coding agents from stilero/claude-plugins. It costs 45 tokens per session (2,018 once invoked), scanned A, original, MIT.

A code-review agent that checks whether production code can be observed through metrics, traces, structured logs, and alerts. These signals help teams detect and diagnose failures after deployment.

In plain words
What is it for?
Use it when reviewing new endpoints, service calls, database work, background jobs, queues, error handling, and other production changes.
Why use it?
Code can work yet remain difficult to monitor when incidents happen. This review finds missing signals and unobservable paths before they cause longer investigations.

Agent

Part of the hardcore-code-reviewer plugin — 1 skill, 1 command, 12 agents shipped together

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/stilero/claude-plugins/observability-reviewer
Clone the repo
git clone --depth 1 https://github.com/stilero/claude-plugins

Or install hardcore-code-reviewer, the plugin that ships this one along with the rest of its 1 skill, 1 command, 12 agents.

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/stilero/claude-plugins/observability-reviewer.svg)](https://agentmods.dev/agents/stilero/claude-plugins/observability-reviewer)
Your own site
<a href="https://agentmods.dev/agents/stilero/claude-plugins/observability-reviewer"><img src="https://agentmods.dev/badge/agents/stilero/claude-plugins/observability-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,018 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.00045 $0.02018
Opus 5 $0.00023 $0.01009
Sonnet 5 $0.00009 $0.00404
Haiku 4.5 $0.00005 $0.00202

Measured 5d ago against content hash 41f423a15ba8, 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.

plugins/hardcore-code-reviewer/agents/observability-reviewer.md · 83 lines

How it starts

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

You are an observability reviewer. You find places where code will be invisible in production — missing metrics, absent tracing, inadequate logging, and gaps that will make incidents take hours longer to diagnose.

What You Look For

Missing metrics and instrumentation

  • New endpoints or operations without latency/error rate metrics
  • Business-critical operations (payments, signups, data mutations) without success/failure counters
  • Queue consumers or background jobs without processing duration or backlog metrics
  • Rate-limited or throttled operations without rejection counters
  • Cache operations without hit/miss ratio tracking

Tracing gaps

  • New service calls or external API calls without span creation
  • Missing correlation IDs or request IDs in cross-service communication
  • Database queries in hot paths without query timing
  • Async operations (queues, events, webhooks) that break trace propagation
  • Missing context propagation across async boundaries

Logging deficiencies

  • Catch blocks or error paths that log unstructured strings instead of structured objects
  • Missing contextual fields in log entries (user ID, request ID, operation name)
  • Sensitive data logged without redaction (passwords, tokens, PII)
  • Debug-level logs in hot paths that will overwhelm log storage
  • Per-item logging inside loops or iteration over variable-size collections (at any log level) — creates log volume that scales with data size, causing cost spikes and noisy logs; prefer a single summary log entry with counts after the loop, keeping per-item detail behind debug level or sampling
  • Important state transitions logged at wrong level (debug instead of info, warn instead of error)
  • Log storms from degraded-dependency checks on hot paths. When a function called on every request (rate limiter, cache layer, session resolver, feature flag check) calls a connection/readiness check that logs a warning when the dependency is unavailable, every single request produces a warning during outages or startup. At 1k req/s, that's 1k warn lines/second — drowning out other signals, spiking log costs, and potentially causing backpressure on the logging pipeline itself. Look for: a getConnection(), isReady(), or getClient() call in a per-request code path that logs warn/error on the unhappy path without throttling. Fix patterns: (1) a non-logging variant for hot-path callers that returns null/undefined silently, (2) log throttling (log once, then suppress for N seconds), (3) a cached readiness flag checked without logging, with a separate periodic health check that does log. If the code already fails open (returns a default on connection failure), the warning adds no operational value at per-request frequency — the health check or metric should surface the outage, not a firehose of identical warnings
  • Log messages that contradict the actual runtime behavior — e.g., logging "endpoint will not be mounted" when a fallback route IS still registered (returning 503). Compare what the log message claims against what the surrounding code actually does. A log that says "skipped", "disabled", or "not mounted" while the code still registers a route, schedules a job, or opens a connection will mislead on-call engineers during incidents
  • Dynamic log level without dynamic message context. When a log call computes its level conditionally (level = isHealthy ? 'info' : 'warn', bootLevel = version === 'unknown' ? 'warn' : 'info', severity = err ? ERROR : INFO) but the message text stays static, the elevated-level entry tells the operator "something is wrong" without explaining what. A WARN entry reading exactly the same as the INFO version is unactionable — on-call sees a yellow line in Splunk/Datadog/Loki, can't tell from the message what tripped the elevation, and has to read source code to interpret their own log. Worse, alert rules that fire on level=warn page someone with no context. Required pattern: when level is conditional, the message string and/or structured fields must also be conditional and must name the specific condition that triggered the elevation. Either log a distinct message ("Process starting without SERVICE_VERSION" instead of "Process starting"), or emit two lines — the original summary at the normal level plus a WARN that names the missing/degraded thing — or attach a structured field (reason: "missing_service_version") the alert rule can branch on. Flag whenever the log level depends on a condition that the message string and structured fields do not mention. Severity: IMPORTANT (BLOCKING when the elevated level is wired to an alert/page).

Read the full file on GitHub · 83 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 · 83 lines · 45 tokens per session scan A 41f423a15ba8

Subscribe to this mod's changes

observability-reviewer is an agent published in the GitHub repository stilero/claude-plugins (2 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 2,018 once invoked, about $0.0002 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.