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.
npx skills add oleg494/coding-kit --skill observability-and-instrumentationgit clone --depth 1 https://github.com/oleg494/coding-kitWrote 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.
[](https://agentmods.dev/skills/oleg494/coding-kit/observability-and-instrumentation)<a href="https://agentmods.dev/skills/oleg494/coding-kit/observability-and-instrumentation"><img src="https://agentmods.dev/badge/skills/oleg494/coding-kit/observability-and-instrumentation/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.
<a href="https://agentmods.dev/skills/oleg494/coding-kit/observability-and-instrumentation"><img src="https://agentmods.dev/badge/skills/oleg494/coding-kit/observability-and-instrumentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00075 | $0.00834 |
| Opus 5.5 | $0.00030 | $0.00334 |
| Sonnet 5.5 | $0.00015 | $0.00167 |
| Haiku 4.5 | $0.00007 | $0.00083 |
Grade A, and why
observability-and-instrumentation 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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Observability and instrumentation
Instrumentation ships with the feature, like tests.
Define "working" first
List 2–4 questions on-call will ask — retry-adjusted success rate, why a case failed permanently, is the provider slow now. Every signal answers one; one that answers none is cost.
Scope per component
Instrument each component's boundary, not every function.
- Request-serving (HTTP, gRPC, queue): RED per route template — rate, errors by status class, duration histogram — plus saturation of the pool or queue it competes for, from middleware in one place. A specific question can justify more; a payment path may warrant a span per provider call.
- Job, worker: outcome, duration, items, retries, dead-letter count per run. Queue lag beats per-item logs; aggregate per job, no label per item.
- Library: nothing unbidden — take a logger and metrics handle from the host, or expose hooks; no private exporter, no stdout.
- CLI: exit code plus stderr diagnostic; structured output only for a supervisor.
Logs explain one case, metrics aggregate, traces localize across services — metrics say that, traces where, logs why. Cost is per event, per label set, per sampled request.
Logging
One structured object per business event, with a stable event name and stable, typed field names a query written today still matches next month; ids and codes rather than prose (event: payment_failed, provider, errorCode, attempt).
- Identifiers, not payloads: no bodies, tokens or full personal data even at debug; log an id or hash, pseudonymous where it names a person.
- One event per state change, not per loop iteration; a request or trace id where a path crosses components (service → queue → worker), since inside one process a stack trace suffices.
- Route library logging through your formatter, quiet the noisy ones in config, and redact known secret patterns in the collector: one forgotten call must not leak a token.
Metrics
Labels come from small fixed sets — never a user id, raw URL, error message or request id; a counter plus a log line answers "which one". Histograms with p50/p95/p99, since an average hides the tail; unit in the name (http_request_duration_seconds); counters up only; sample the hot path.
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.
- 13d ago Changed f354267b75af
- 22d ago Changed 3f8432d103df
- 1mo ago Changed · -56 lines · +9 tokens per session b2cdc2c0ff26
- 1mo ago Changed aa2fc00be638
- 1mo ago Changed 925a9997c9a7
- 1mo ago Changed aa2697256c26
- 1mo ago Changed 4268daac4366
- 1mo ago Changed 06151cdfd49f
- 1mo ago Changed 988ca822e835
- 2mo ago First seen · 113 lines · 66 tokens per session scan A e4120be73f05
observability-and-instrumentation is a skill published in the GitHub repository oleg494/coding-kit (3 stars, last pushed 13d ago), licensed MIT. It adds 75 tokens to every session and 834 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-08-31.
observability-and-instrumentation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| observability-and-instrumentationoleg494/coding-kit | Skill | 3 | 13d ago | MIT | A | 75 | Claude Code, Codex |
| runmystilleef/spae-framework | Skill | 2 | 5d ago | MIT | A | 21 | Codex |
| tipmystilleef/spae-framework | Skill | 2 | 5d ago | MIT | A | 32 | Claude Code |
| auto-commitmystilleef/spae-framework | Skill | 2 | 5d ago | MIT | C | 19 | Claude Code |
| spae-checkmystilleef/spae-framework | Skill | 2 | 5d ago | MIT | C | 58 | Claude Code |
| spae-inspectmystilleef/spae-framework | Skill | 2 | 5d ago | MIT | C | 24 | Claude Code |
| spae-planmystilleef/spae-framework | Skill | 2 | 5d ago | MIT | C | 36 | Claude Code |