Agent skill

Dead Ends

by karanb192 in karanb192/claude-code-hooks

List this repo's recorded dead ends: approaches already tried and abandoned, with reasons and cost

MITAuto-check passed

Install Dead Ends

skills CLI
$ npx skills add karanb192/claude-code-hooks --skill dead-ends -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install karanb192/claude-code-hooks dead-ends --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/karanb192/claude-code-hooks.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/dead-end-registry/skills/dead-ends .claude/skills/dead-ends && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dead-ends
GitHub stars
533
Token cost
~220 tokens
SKILL.md length
108 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

List this repo's recorded dead ends: approaches already tried and abandoned, with reasons and cost

  • Calls node

What it does

Dead Ends is an agent skill from karanb192/claude-code-hooks. List this repo's recorded dead ends: approaches already tried and abandoned, with reasons and cost

Its SKILL.md is about 220 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 🪝 Claude Code hooks + an installable plugin marketplace: safety, cost, observability, productivity. The licence is MIT.

Example prompts

  • “/dead-ends”

What it can do on your machine

Read from SKILL.md and the folder at commit 3c9c90a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dead Ends loads about 220 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 108 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~220

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from karanb192/claude-code-hooks at commit 3c9c90a, republished under its MIT licence (© karanb192). 108 words, ~220 tokens.

Download SKILL.mdSave it as .claude/skills/dead-ends/SKILL.md (or your agent's skills folder).
name
dead-ends
description
List this repo's recorded dead ends: approaches already tried and abandoned, with reasons and cost
disable-model-invocation
true

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.

© karanb192, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/dead-end-registry/skills/dead-ends of karanb192/claude-code-hooks.

Open the folder on GitHubat commit 3c9c90a

Compare with similar skills

Dead Ends next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dead Ends compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dead Ends this skillkaranb192/claude-code-hooks533—~220Automated safety check: PassMIT
Dead End Pagesthedaviddias/Front-End-Checklist74k—~683Automated safety check: PassMIT
Implementing End To End Encryption For Messagingmukul975/Anthropic-Cybersecurity-Skills34k—~843Automated safety check: PassApache-2.0
Recordingcodewhale-hq/Codewhale41k—~540Automated safety check: PassMIT
Architecture Decision Recordsaffaan-m/ECC275k4 repos~1.8kAutomated safety check: PassMIT
Architecture Decision Recordsaffaan-m/ECC275k1 repos~863Automated safety check: PassMIT

Similar skills

  • Dead End Pages

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing a site's internal link graph for dead-end pages, suggesting related-content links to add to thin or standalone pages, or reviewing CMS templates that produce…

    74k GitHub stars~683 tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Implementing End To End Encryption For Messaging

    mukul975/Anthropic-Cybersecurity-Skills

    Implements a simplified Signal Protocol-style end-to-end encryption scheme for messaging, covering key exchange, forward secrecy, and the core cryptographic components so no server or intermediary…

    34k GitHub stars~843 tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Recording

    codewhale-hq/Codewhale

    Capture screenshots on registered computers, record on macOS or HarmonyOS, and manage saved captures.

    41k GitHub stars~540 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Capture architectural decisions as numbered ADR markdown files in docs/adr/ with context, alternatives considered, consequences, and an index README.

    275k GitHub starsUsed in 4 repos~1.8k tokens
    DevelopmentAuto-check passed
  • 在Claude Code会话期间,将做出的架构决策捕获为结构化的架构决策记录(ADR)。自动检测决策时刻,记录上下文、考虑的替代方案和理由。维护一个ADR日志,以便未来的开发人员理解代码库为何以当前方式构建。

    275k GitHub starsUsed in 1 repo~863 tokens
    DevelopmentAuto-check passed
  • コーディングセッション中にアーキテクチャ決定を構造化ADRとして記録し、自動的に決定の瞬間を検出し、コンテキスト、検討された代替案、根拠を記録します。今後の開発者がコードベースの形成理由を理解するためのADRログを維持します。

    275k GitHub stars~1.1k tokensUpdated 3 days ago
    DevelopmentAuto-check passed

More from karanb192/claude-code-hooks

All 8 skills in this repo
  • Board

    karanb192/claude-code-hooks

    Show the wanted-poster bounty board: this repo's TODO/FIXME/HACK debt priced as aging XP bounties

    533 GitHub stars~199 tokensUpdated 4 days ago
    Auto-check passed
  • Leaderboard

    karanb192/claude-code-hooks

    Show this repo's context-cost leaderboard: the files that pulled the most tokens into context

    533 GitHub stars~208 tokensUpdated 4 days ago
    Auto-check passed
  • Provenance

    karanb192/claude-code-hooks

    Preview the provenance receipt (prompts, est. An agent skill from karanb192/claude-code-hooks.

    533 GitHub stars~245 tokensUpdated 4 days ago
    Auto-check passed
  • Receipts

    karanb192/claude-code-hooks

    Show your personal model-quality trend card (failure rate, edit churn, tokens/task by model version)

    533 GitHub stars~263 tokensUpdated 4 days ago
    Auto-check passed
  • Scorecard

    karanb192/claude-code-hooks

    Show the CLAUDE.md compliance scorecard: which rules Claude actually follows vs ignores

    533 GitHub stars~231 tokensUpdated 4 days ago
    Auto-check passed
  • Standup

    karanb192/claude-code-hooks

    Render today's standup card from what your agents actually did across repos

    533 GitHub stars~205 tokensUpdated 4 days ago
    Auto-check passed

Questions about Dead Ends

What does Dead Ends do?

List this repo's recorded dead ends: approaches already tried and abandoned, with reasons and cost. Dead Ends is an agent skill from karanb192/claude-code-hooks.

How do I install Dead Ends in Claude Code?

Run `npx skills add karanb192/claude-code-hooks --skill dead-ends -a claude-code`. Or copy the skill folder (plugins/dead-end-registry/skills/dead-ends in karanb192/claude-code-hooks) into .claude/skills/dead-ends in your project. Claude Code loads it when a task matches its description.

How do I install Dead Ends in Codex?

Run `npx skills add karanb192/claude-code-hooks --skill dead-ends -a codex`. Or copy the skill folder (plugins/dead-end-registry/skills/dead-ends in karanb192/claude-code-hooks) into .agents/skills/dead-ends in your project. Codex loads it when a task matches its description.

Can I use Dead Ends in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add karanb192/claude-code-hooks --skill dead-ends -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dead-ends, .gemini/skills/dead-ends, .github/skills/dead-ends and .opencode/skills/dead-ends in your project.

What does Dead Ends need to run?

Going by SKILL.md and its folder, Dead Ends needs the command-line tools its instructions call (node).

Does Dead Ends access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Dead Ends safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dead Ends use?

Dead Ends is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dead Ends use?

About 220 tokens (SKILL.md is roughly 880 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dead Ends?

Skills that share tags, products or a category with Dead Ends: Dead End Pages (thedaviddias/Front-End-Checklist, 74k stars), Implementing End To End Encryption For Messaging (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Recording (codewhale-hq/Codewhale, 41k stars) and Architecture Decision Records (affaan-m/ECC, 275k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dead Ends?

karanb192 (a GitHub user) maintains it in karanb192/claude-code-hooks, which has 533 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 4, 2026.

Source: karanb192/claude-code-hooks on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.