claude-code:hook is agent-read markdown (skill) from bendrucker/claude: Configure, create, or troubleshoot Claude Code hooks (PreToolUse, PostToolUse, UserPromptSubmit), debug hook failures, or set up any automation within Claude Code. Examples include "I want to run tests before every file edit", "My hook isn't firing", "1 out of 2 hooks ran", or "How do I create a hook that formats JSON output with jq?".
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
mdr add bendrucker/claude/claude-code:hook@git:20260902.13afaadmdr add bendrucker/claude/claude-code:hook@sha256:1710af10cbea6bb0Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_6kwdmud7m7b7gxq4)
0 badge views in 30 days
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260902.13afaad latest | 2026-09-02 | 13afaad | 6,580 B | A | view · diff |
| git:20260818.1aac818 | 2026-08-18 | 1aac818 | 5,504 B | A | view · diff |
| git:20260802.56e5548 | 2026-08-02 | 56e5548 | 5,499 B | A | view · diff |
| git:20260727.14c22cf | 2026-07-27 | 14c22cf | 3,695 B | A | view · diff |
| git:20260724.2913803 | 2026-07-24 | 2913803 | 3,876 B | A | view |
bendrucker/claude · 16 stars · license MIT · pushed 2026-09-06 · branch main
GET https://markdownregistry.com/api/v1/artifacts/art_6kwdmud7m7b7gxq4 GET https://markdownregistry.com/api/v1/resolve?ref=bendrucker/claude/claude-code:hook GET https://markdownregistry.com/api/v1/blob/1710af10cbea6bb0e7f9d8e909af02111581345baf2821e0725f5d7cb2505b09