Claude Code Hooks - all 23 explained and implemented
TL;DR Highlight
An open-source repo implementing all 23 Claude Code hooks, with an explanatory YouTube video
Who Should Read
Developers looking to leverage Claude Code at an advanced level
Core Mechanics
- Published a repo (shanraisshan/claude-code-hooks) implementing all 23 Claude Code hooks
- YouTube video explaining use cases for each hook
- Hooks are a key differentiator between Claude Code and other CLI agents like Codex
Community Reactions
- Open-source repo implementing all 23 Claude Code hooks
- YouTube video covering use cases for each hook
- Pre-commit hooks for automated linting and test execution
How to Apply
- Cherry-pick the hooks you need from github.com/shanraisshan/claude-code-hooks
- Pre-commit hooks for automated linting and test execution are especially useful
Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques