observability-contract-review

observability-contract-review is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 81 tokens per session (1,710 once invoked), scanned A, original, MIT.

A checklist for reviewing whether every tool call records its tracing and measurement data, including failures.

In plain words
What is it for?
It helps review changes to tracing and metrics helpers, tool error handling, and tests that check all tools are exposed and instrumented.
Why use it?
It catches gaps where some error paths escape the recording code, even though every normal call site appears covered.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps review changes to tracing and metrics helpers, tool error handling, and tests that check all tools are exposed and instrumented.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/observability-contract-review
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 Arasz/ai-raccoon --skill observability-contract-review
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

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-contract-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/observability-contract-review/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/observability-contract-review)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/observability-contract-review"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/observability-contract-review/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-contract-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/observability-contract-review"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/observability-contract-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,710 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.00081 $0.01710
Opus 5.5 $0.00032 $0.00684
Sonnet 5.5 $0.00016 $0.00342
Haiku 4.5 $0.00008 $0.00171

Measured yesterday against content hash a14ce4a4cfe8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

observability-contract-review 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 yesterday.

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.

.ai-badger/skills/dotnet-workload/references/observability-contract-review/SKILL.md · 76 lines

How it starts

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

Observability / Instrumentation Contract Review

Reviewing code that claims "every call is instrumented" (spans carrying status + tags, per-call counters/histograms) is about path coverage, not call-site presence. The gap is almost always an exception path that escapes the recording catch. Use this checklist when a diff touches an observability helper (e.g. a ToolExecutionActivity-style wrapper), tool-layer try/catch instrumentation, or a tool-surface parity test.

When to use

  • PR adds/changes a span+metrics helper that tools wrap their bodies with.
  • PR claims "all N tools route through the helper" or "N/N tools answer over the wire".
  • PR adds an E2E tools/list parity test.
  • Any review where a metric/span contract (status, tags, counter) is an acceptance criterion.

Checklist (verify against code, not claims)

  1. Call-site coverage is not path coverage. Grep for helper construction (new ToolExecutionActivity(...)) — N sites ≠ N tools fully instrumented. Then walk every early-exit path:

    • Guards/validation/access-control (RequireProjectId, EnsureAsync) — what exception type do they throw?
    • Filtered catches (catch (Exception ex) when (ex is not X)) are the #1 hole: when a guard throws the filtered type before the inner typed catch, the exception escapes unrecorded — span ends Unset, no result/error_type tags, no metric. Reachable via missing-required-param and access-denied errors.
    • Fix that preserves the domain exception as error_type: make Record* idempotent (private bool _recorded; second call no-ops), then widen the outer catches to plain catch (Exception ex) { RecordError(ex); throw; }. Inner typed catches keep recording the domain exception (first record wins); previously-escaped paths now record. Never fix by just removing the filter — that double-counts the inner-catch rethrows.
  2. Status/tag ordering vs Activity stop. SetStatus/SetTag on a stopped Activity is invalid/ignored. Record* must be called while the span is running — last statement before return/throw — and Dispose() (using var) fires at scope exit, after.

Read the full file on GitHub · 76 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. yesterday First seen · 76 lines · 81 tokens per session scan A a14ce4a4cfe8

Subscribe to this mod's changes

observability-contract-review is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 1,710 once invoked, about $0.0003 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-12-05.

Related

observability-contract-review compared with skills from other repositories

observability-contract-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
observability-contract-reviewArasz/ai-raccoonSkill7todayMITA81Claude Code, Codex
qualityariaxhan/kernel-claudeSkill16yesterdayMITA41Claude Code
tearitapartariaxhan/kernel-claudeSkill16yesterdayMITA43Claude Code
memory-to-skillzilliztech/memsearchSkill3.0k2d agoMITA82Claude Code, Codex
huggingface-vision-trainerwaybarrios/opencode-power-packSkill5625d agoMITA48Claude Code
semgrep-rule-variant-creatorwaybarrios/opencode-power-packSkill5625d agoMITA50Claude Code
huggingface-paper-publisherwaybarrios/opencode-power-packSkill5625d agoMITA42Claude Code