dead-ends

dead-ends is a skill for Claude Code from karanb192/claude-code-hooks. It costs 0 tokens per session (215 once invoked), scanned B, original, MIT.

A repository record of approaches that were tried and abandoned, including why they failed and what they cost.

In plain words
What is it for?
Use it to list the most relevant abandoned approaches and flag earlier attempts that relate to the current work.
Why use it?
It prevents the team from unknowingly repeating previous dead ends.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dead-end-registry plugin — 1 skill shipped together

Good fit Use it to list the most relevant abandoned approaches and flag earlier attempts that relate to the current work.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add karanb192/claude-code-hooks
Claude Code
/plugin install dead-end-registry

Made for: Claude Code.

Or install dead-end-registry, the plugin that ships this one along with the rest of its 1 skill.

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 dead-ends

README.md
[![agentmods](https://agentmods.dev/badge/skills/karanb192/claude-code-hooks/dead-ends/github.svg)](https://agentmods.dev/skills/karanb192/claude-code-hooks/dead-ends)
Your own site
<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.

agentmods 80×15 button for dead-ends

Your own site · 80×15
<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>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 215 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00000 $0.00215
Opus 5.5 $0.00000 $0.00086
Sonnet 5.5 $0.00000 $0.00043
Haiku 4.5 $0.00000 $0.00021

Measured 3mo ago against content hash 0234782ddfb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.
plugins/dead-end-registry/skills/dead-ends/SKILL.md · 19 lines

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.

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. 3mo ago First seen · 19 lines · 0 tokens per session scan B 0234782ddfb7

Subscribe to this mod's changes

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.

Related

dead-ends compared with skills from other repositories

dead-ends next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dead-endskaranb192/claude-code-hooksSkill590todayMITB0Claude Code
healthcheckprofclaw/profclawSkill171mo agoAGPL-3.0A29Claude Code, Codex
debug-helperprofclaw/profclawSkill171mo agoAGPL-3.0A18Claude Code, Codex
ml-debuggiacomogaglione/claude-awesome-stackSkill29mo agoMITA38Claude Code, Codex
system-adminprofclaw/profclawSkill171mo agoAGPL-3.0C18Claude Code, Codex
opencli-autofixjackwener/OpenCLISkill32k24d agoApache-2.0A61Claude Code
monitoring-observabilitytravisjneuman/.claudeSkill115todayMITA48Claude Code