Claude Code hook
Claude Hooks Manager
CLI for listing, adding and managing hooks in Claude Code settings.
Install
npm install -g claude-hooks-managergit clone https://github.com/webdevtodayjason/claude-hooks.gitFrom the README
Claude Hooks Manager by Sem 📢 Important Notice for Existing Users This project has been renamed from claude-code-hooks to claude-hooks-manager to better reflect its purpose as a management tool for Claude hooks. Migration Instructions: The CLI command claude-hooks remains unchanged. A comprehensive hook management system for Claude that enforces coding standards, maintains consistency, and automates workflow tasks across all projects. 🚀 Game-Changing Feature: Context Forge Integration 🌟 Never Lose Context Again During Multi-Hour Development Sessions! 🎉 First to Implement Anthropic's New PreCompact Hook! We're excited to announce our groundbreaking integration with Context Forge - the industry-leading CLI tool for AI-ready project scaffolding. This integration is the first implementation of Anthropic's brand new PreCompact hook, announced in Claude Code v1.0.48, solving one of the biggest challenges in AI-assisted development: context loss during conversation compaction. Why This is Revolutionary Anthropic's PreCompact hook is a game-changing new feature that allows developers to: - 🔍 Intercept compaction events before they happen - 💾 Preserve critical context during the compaction process - 🔄 Automatically restore state after compaction completes - 🚀 Enable truly continuous workflows for the first time We're among the first to leverage this powerful new capability from Anthropic, creating an integration that transforms how developers work with AI assistants. What is Context Forge? Context Forge is a powerful CLI tool that implements Andre Karpathy's context engineering principles to generate comprehensive documentation structures. It creates AI-optimized project scaffolds with: - CLAUDE.md - Main context file with project rules and conventions -…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- webdevtodayjason/claude-hooks
- Type
- Hooks
- Language
- Python
- License
- MIT
- Last updated
- 31 October 2026
- Topics
- claudeclaude-apiclaude-codeclaude-desktopclaude-hookshooks
- Listed in
- awesome-claude-code-hooks
FAQ
What is Claude Hooks Manager?
CLI for listing, adding and managing hooks in Claude Code settings. It is a hook for Claude Code, from webdevtodayjason/claude-hooks on GitHub.
How do I install Claude Hooks Manager?
Run npm install -g claude-hooks-manager, then follow the setup in the README.
Is Claude Hooks Manager popular?
webdevtodayjason/claude-hooks has 74 GitHub stars and 5 forks, and is included in 1 curated Claude Code list. It was last updated on 31 October 2026.
More hooks
Claude Heartbeat
184Siigari/claude-heartbeat
Keep Claude Code alive and autonomous without -p. Heartbeat hook + inbox/outbox pattern.
PRD Driven Context Engineering
181mattgierhart/PRD-driven-context-engineering
PRD-Led Context Engineering — Memory as Infrastructure. An ontology layer for product teams building products that solve real problems — with AI agents that remember. Gated PRD, typed IDs, markdown knowledge graph, Claude Code skills & hooks.
Pitchcraft
201moshuying/pitchcraft
汇报.skill · pitchcraft — Structured persuasion for tech leads, PMs, and founders: kickoff, status, wrap-up, pitch, and solution selling on one 5-part framework (Hook→Context→Proposal→Evidence→Ask), with AI material intake and a pre-submit checklist. Works with Claude Code, Cursor, Codex, and more.
Next16 Claude Starter
145textura-agency/next16-claude-starter
AI-first Next.js 16 starter for animation-heavy sites, wired with an Obsidian vault & Claude Code hooks
Rulebricks Guardrails
79rulebricks/claude-code-guardrails
Real-time guardrails for Claude Code tool calls backed by Rulebricks rule tables.
claude-hooks
75decider/claude-hooks
Set of hooks that enforce clean-code practices and automate routine checks during Claude Code sessions.
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.