Warn about risky code patterns when Claude edits files.
hooksAnthropic repository149,376 repo starsRepo updated Oct 3, 2026
Record reverted approaches and surface reminders when a later task may repeat them.
Dead End Registry uses transcript heuristics to collect approaches that were reverted or abandoned. Prompt matching can bring an earlier dead end back into context, while an edit check can ask before reintroducing a recorded reverted change. It is a local memory aid whose matches need interpretation, not a definitive record of every failed idea.
Open the source documentation to check prerequisites and installation scope. Copy the commands below and run them one line at a time. Replace any example paths with the directory you intend to use.
Terminal
claude plugin marketplace add karanb192/claude-code-hooks
claude plugin install dead-end-registry@claude-code-hooksComplete any authentication or settings steps documented by the maintainer, then reload the session and confirm the capability is available. Entries in the same repository may share a parent plugin installation.
Inspect the registry after a small experiment with a reverted change. Review the recorded reason before acting on a later warning, since keyword matches can be approximate. This package uses Node.js command hooks; restart Claude Code after installation.
Review the project instructions and requested tool access, then try a small task. This directory checks sources and setup notes; inclusion is not a code security audit.
Warn about risky code patterns when Claude edits files.
hooksAnthropic repository149,376 repo starsRepo updated Oct 3, 2026
Create behavior warnings with readable rule files instead of editing hook JSON.
hooksAnthropic repository149,376 repo starsRepo updated Oct 3, 2026
Add educational implementation context at the start of a session.
hooksAnthropic repository149,376 repo starsRepo updated Oct 3, 2026