Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add karanb192/claude-code-hooks/plugin install dead-end-registryWrote 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/karanb192/claude-code-hooks/dead-ends)<a href="https://agentmods.dev/skills/karanb192/claude-code-hooks/dead-ends"><img src="https://agentmods.dev/badge/skills/karanb192/claude-code-hooks/dead-ends/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/karanb192/claude-code-hooks/dead-ends"><img src="https://agentmods.dev/badge/skills/karanb192/claude-code-hooks/dead-ends.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.00000 | $0.00215 |
| Opus 5.5 | $0.00000 | $0.00086 |
| Sonnet 5.5 | $0.00000 | $0.00043 |
| Haiku 4.5 | $0.00000 | $0.00021 |
Grade B, and why
dead-ends scanned grade B with 1 finding 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.
Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
empty, just say so. Keep it short; do not re-run any commands. What it actually says
Dead ends
!node "${CLAUDE_SKILL_DIR}/../../dead-end-registry.js" --render 2>/dev/null || node "${CLAUDE_PLUGIN_ROOT}/dead-end-registry.js" --render
The list above is this repository's recorded dead ends: approaches that were tried
and then reverted or ruled out, newest first, each with the date it was tried, why it
was walked back, and the estimated token cost of the detour. It is produced by the
dead-end-registry hook, which mines your transcripts as you work.
Briefly summarize the 1-3 most relevant entries and, if any bear on what the user is currently doing, gently flag that they have been down this road before. If the list is empty, just say so. Keep it short; do not re-run any commands.
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 First seen · 19 lines · 0 tokens per session scan B 0234782ddfb7
dead-ends is a skill published in the GitHub repository karanb192/claude-code-hooks (590 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 215 tokens. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
dead-ends compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dead-endskaranb192/claude-code-hooks | Skill | 590 | today | MIT | B | 0 | Claude Code |
| healthcheckprofclaw/profclaw | Skill | 17 | 1mo ago | AGPL-3.0 | A | 29 | Claude Code, Codex |
| debug-helperprofclaw/profclaw | Skill | 17 | 1mo ago | AGPL-3.0 | A | 18 | Claude Code, Codex |
| ml-debuggiacomogaglione/claude-awesome-stack | Skill | 2 | 9mo ago | MIT | A | 38 | Claude Code, Codex |
| system-adminprofclaw/profclaw | Skill | 17 | 1mo ago | AGPL-3.0 | C | 18 | Claude Code, Codex |
| opencli-autofixjackwener/OpenCLI | Skill | 32k | 24d ago | Apache-2.0 | A | 61 | Claude Code |
| monitoring-observabilitytravisjneuman/.claude | Skill | 115 | today | MIT | A | 48 | Claude Code |