telemetry-canary

telemetry-canary is a skill for Claude Code, Codex from HetCreep/CoalMine. It costs 83 tokens per session (1,885 once invoked), scanned A, original, Apache-2.0.

An observability audit for checking whether a running application records useful logs, metrics, and traces. Observability means having enough information to understand what the application is doing and why it failed.

In plain words
What is it for?
It is for finding silent error handlers, plain-text logs, missing correlation IDs, missing metrics for important transactions, and logs without stack traces.
Why use it?
It helps prevent production problems from becoming invisible or difficult to diagnose.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: reads .claude/ paths; mentions subagents; names the AskUserQuestion tool.

Part of the coalmine plugin — 9 skills shipped together

Good fit It is for finding silent error handlers, plain-text logs, missing correlation IDs, missing metrics for important transactions, and logs without stack traces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hetcreep/coalmine/telemetry-canary
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 HetCreep/CoalMine --skill telemetry-canary
Clone the repo
git clone --depth 1 https://github.com/HetCreep/CoalMine

Made for: Claude Code, Codex.

Or install coalmine, the plugin that ships this one along with the rest of its 9 skills.

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 telemetry-canary

README.md
[![agentmods](https://agentmods.dev/badge/skills/hetcreep/coalmine/telemetry-canary/github.svg)](https://agentmods.dev/skills/hetcreep/coalmine/telemetry-canary)
Your own site
<a href="https://agentmods.dev/skills/hetcreep/coalmine/telemetry-canary"><img src="https://agentmods.dev/badge/skills/hetcreep/coalmine/telemetry-canary/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 telemetry-canary

Your own site · 80×15
<a href="https://agentmods.dev/skills/hetcreep/coalmine/telemetry-canary"><img src="https://agentmods.dev/badge/skills/hetcreep/coalmine/telemetry-canary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,885 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.00083 $0.01885
Opus 5 $0.00042 $0.00942
Sonnet 5 $0.00017 $0.00377
Haiku 4.5 $0.00008 $0.00188

Measured 6d ago against content hash eb68f89d8011, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

telemetry-canary 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 6d 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.

plugin/skills/telemetry-canary/SKILL.md · 78 lines

How it starts

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

Telemetry Canary (Observability & Logging Audit)

Language: Generate EVERYTHING at runtime in the user's language — questions, answer options, menu labels, recommendations, report narrative. Detect from their messages; never default to English just because this file is English. English is allowed only for technical terms: commands, paths, code identifiers, severity labels (CRITICAL/HIGH/MEDIUM/LOW), and tier names (Light/Standard/Heavy).

Config reads — every config key, always the CASCADE, never the bare project file: ~/.claude/.coalmine.json first, then the project config (own agent dir → other known agent dirs → legacy <gitroot>/.coalmine.json), project wins per key. A bare project read is ABSENT on a machine configured only globally, so it silently yields defaults.

Audit code for proper telemetry instrumentation — ensure the app is not a black box in production.

Auditing Categories

  1. Empty / Silent Catch — catch blocks that swallow exceptions without logging a stack trace or forwarding the error.
  2. Unstructured Logs — plain-string logging in server code (prefer JSON / structured key-value for cloud queries).
  3. No Correlation ID — operations crossing boundaries (HTTP/gRPC/threads) without propagating a trace/correlation ID.
  4. Missing Metrics — critical transactions (checkout, auth, errors) lacking counter/histogram instrumentation.
  5. No Stack Traces — errors logged without stack context (logger.error(e.message) instead of logger.error(e)).

Per-stack grep patterns and right/wrong shapes per category: read references/checks.md before scanning.

Fix mode (choice-gated)

In Agent Context, after the report, present via ask_question:

  • Apply safe logs: insert error logging into empty catch blocks (standard logger template) + stack-trace mapping. Each fix: checkpoint (git stash/commit in a git repo; else copy the file aside — never assume git) → apply → build + tests → auto-revert if newly red.
  • Let me pick: user selects which telemetry gaps to resolve.
  • Report only: exit unchanged.

Read the full file on GitHub · 78 lines

Files

What ships with it

3 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. 6d ago Changed · +2 lines eb68f89d8011
  2. 10d ago First seen · 76 lines · 83 tokens per session scan A 2b7fc56a9f5a

Subscribe to this mod's changes

telemetry-canary is a skill published in the GitHub repository HetCreep/CoalMine (12 stars, last pushed today), licensed Apache-2.0. It adds 83 tokens to every session and 1,885 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

flockion_code_review

Reviews Flockion code, diffs, pull requests, generated files, and refactors for correctness, simplicity, maintainability, file size, type safety, accessibility, security, observability, and overengineering. Use for TypeScript, React, Python, APIs, agents, YAML, Bicep, GitHub Actions, and cloud automation code.

error505/Flockion_AI_Engineering · 77 tokens

agent-watchdog

Use when asked to watch, babysit, audit, review, compare, or fix another agent's work from a Codex session ID, Claude Code session/transcript, chat/thread link, PR, branch, log, or pasted run summary. Monitor until the other agent is done or blocked, reconstruct what the user asked, independently investigate the same…

BuilderIO/skills · 115 tokens

comet-verify

Comet Phase 4: Verify and Close. Invoke with /comet-verify. Verify implementation matches design, handle development branch.

rpamis/comet · 32 tokens

new-skill

Scaffold a new brooks-lint analysis skill so it passes npm run validate and npm run evals on the first try — generates skills/{name}/SKILL.md (with the mandatory "Do NOT trigger for:" clause and a Process section citing guide step ranges) plus skills/{name}/{name}-guide.md (sequentially numbered steps), then appends…

hyhmrright/brooks-lint · 145 tokens

brooks-sweep

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…

hyhmrright/brooks-lint · 178 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens