observability-and-instrumentation

observability-and-instrumentation is a skill for Claude Code, Codex from oleg494/coding-kit. It costs 75 tokens per session (834 once invoked), scanned A, original, MIT.

A skill for adding logs, measurements, request traces, and alerts to software so its behaviour can be checked in production. Production means the version used by real users or live systems.

In plain words
What is it for?
It helps instrument new services, endpoints, background jobs, and integrations, as well as investigate incidents and review alerting.
Why use it?
It makes failures and slowdowns easier to diagnose by deciding what on-call engineers need to know and choosing signals that answer those questions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It helps instrument new services, endpoints, background jobs, and integrations, as well as investigate incidents and review alerting.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oleg494/coding-kit/observability-and-instrumentation
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 oleg494/coding-kit --skill observability-and-instrumentation
Clone the repo
git clone --depth 1 https://github.com/oleg494/coding-kit

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-and-instrumentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/oleg494/coding-kit/observability-and-instrumentation/github.svg)](https://agentmods.dev/skills/oleg494/coding-kit/observability-and-instrumentation)
Your own site
<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.

agentmods 80×15 button for observability-and-instrumentation

Your own site · 80×15
<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>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 834 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.00075 $0.00834
Opus 5.5 $0.00030 $0.00334
Sonnet 5.5 $0.00015 $0.00167
Haiku 4.5 $0.00007 $0.00083

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

Security

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.

.agents/skills/observability-and-instrumentation/SKILL.md · 57 lines

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.

Read the full file on GitHub · 57 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. 13d ago Changed f354267b75af
  2. 22d ago Changed 3f8432d103df
  3. 1mo ago Changed · -56 lines · +9 tokens per session b2cdc2c0ff26
  4. 1mo ago Changed aa2fc00be638
  5. 1mo ago Changed 925a9997c9a7
  6. 1mo ago Changed aa2697256c26
  7. 1mo ago Changed 4268daac4366
  8. 1mo ago Changed 06151cdfd49f
  9. 1mo ago Changed 988ca822e835
  10. 2mo ago First seen · 113 lines · 66 tokens per session scan A e4120be73f05

Subscribe to this mod's changes

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.

Related

observability-and-instrumentation compared with skills from other repositories

observability-and-instrumentation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
observability-and-instrumentationoleg494/coding-kitSkill313d agoMITA75Claude Code, Codex
runmystilleef/spae-frameworkSkill25d agoMITA21Codex
tipmystilleef/spae-frameworkSkill25d agoMITA32Claude Code
auto-commitmystilleef/spae-frameworkSkill25d agoMITC19Claude Code
spae-checkmystilleef/spae-frameworkSkill25d agoMITC58Claude Code
spae-inspectmystilleef/spae-frameworkSkill25d agoMITC24Claude Code
spae-planmystilleef/spae-frameworkSkill25d agoMITC36Claude Code