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 HetCreep/CoalMine --skill resilience-auditgit clone --depth 1 https://github.com/HetCreep/CoalMineWrote 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/hetcreep/coalmine/resilience-audit)<a href="https://agentmods.dev/skills/hetcreep/coalmine/resilience-audit"><img src="https://agentmods.dev/badge/skills/hetcreep/coalmine/resilience-audit/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/hetcreep/coalmine/resilience-audit"><img src="https://agentmods.dev/badge/skills/hetcreep/coalmine/resilience-audit.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.00119 | $0.02167 |
| Opus 5.5 | $0.00048 | $0.00867 |
| Sonnet 5.5 | $0.00024 | $0.00433 |
| Haiku 4.5 | $0.00012 | $0.00217 |
Grade A, and why
resilience-audit 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 3mo 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Resilience 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.
For every operation: "what happens when this FAILS?" Report; do NOT fix unless asked.
Failure categories
- External I/O — network down/slow, API 4xx/5xx/timeout, rate-limit. Retry w/ backoff? Timeout set? Clear error vs hang?
- Storage — disk full, permission denied, partial write. Atomic write (temp+rename)? Cleanup on failure? Existing good copy untouched?
- Partial completion — half-done op (50/100 files). Reported as FAILURE, never success.
- Crash / OOM — killed mid-op. Idempotent restart? No orphaned half-state?
- Concurrency — two instances, race, deadlock. Locking / idempotency / safe re-entry?
- Input / data — malformed, null, truncated, huge. Validate at boundary? Fail-fast?
- Dependency down — fallback/cache/graceful degrade? Clear error vs silent hang?
- Resource exhaustion — bounded? Backpressure? Cleanup on error path?
Per-stack timeout/atomicity/idempotency patterns to grep: read references/checks.md before scanning.
For each failure point, check 4 things
- Detected? code notices it (doesn't swallow)?
- Handled? retry/fallback/fail-clean — not ignored, not silent-success?
- Recoverable? rollback/idempotent; no data loss or corruption?
- Communicated? clear error to user+log; not a hang, not a false "done"?
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.
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.
- 3mo ago Changed · +2 lines 86beded5cf7e
- 3mo ago First seen · 90 lines · 119 tokens per session scan A 54158ea597fe
resilience-audit is a skill published in the GitHub repository HetCreep/CoalMine (13 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 119 tokens to every session and 2,167 once invoked, about $0.0005 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-30.
resilience-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| resilience-auditHetCreep/CoalMine | Skill | 13 | 2mo ago | Apache-2.0 | A | 119 | Claude Code |
| flockion_code_reviewerror505/Flockion_AI_Engineering | Skill | 5 | 1mo ago | MIT | A | 77 | Claude Code |
| agent-watchdogBuilderIO/skills | Skill | 4.7k | 2d ago | MIT | A | 115 | Claude Code, Codex |
| comet-verifyrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 32 | Claude Code, Codex |
| interrogatebacknotprop/pstack | Skill | 6.0k | yesterday | MIT | A | 61 | Claude Code, Codex, Cursor |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | yesterday | MIT | A | 51 | Claude Code, Codex |
| pr-description-writermohitagw15856/pm-claude-skills | Skill | 1.6k | yesterday | MIT | A | 80 | Claude Code, Codex |