Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/normful/claude-code-curated-hooks/claude-mdgit clone --depth 1 https://github.com/normful/claude-code-curated-hooksWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/normful/claude-code-curated-hooks/claude-md)<a href="https://agentmods.dev/instructions/normful/claude-code-curated-hooks/claude-md"><img src="https://agentmods.dev/badge/instructions/normful/claude-code-curated-hooks/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00598 | $0.00598 |
| Opus 5 | $0.00299 | $0.00299 |
| Sonnet 5 | $0.00120 | $0.00120 |
| Haiku 4.5 | $0.00060 | $0.00060 |
Grade B, and why
claude-code-curated-hooks CLAUDE.md scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- `~/.claude/settings.json` (global personal settings) How it starts
The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This is a curated collection of Claude Code hooks - automation scripts that trigger on Claude Code events. The project supports two types of hooks:
- One-liner hooks (bash scripts in
one-liners/) - Simple shell commands - Python hooks (Python scripts in
py-hooks/) - More complex hooks using the cchooks library
Architecture
Core Components
install-hook.sh- Interactive installation script that installs hooks to Claude Code settings filesone-liners/- Directory containing bash one-liner hook scriptspy-hooks/- Directory containing Python hook scripts that use the cchooks librarytests/- Comprehensive test suite using bashunit framework
Hook Script Format
One-liner hooks follow this format:
# event: PostToolUse
# matcher: Write|Edit|MultiEdit
command_to_execute
Python hooks use metadata comments and the cchooks library:
#!/usr/bin/env -S uv run --script
# ... other comments about dependencies, added by uv
# event: Notification
# matcher: *
# ... hook implementation in Python, using the cchooks libray
Installation Process
The install-hook.sh script:
- Lists available hooks from both directories
- Extracts metadata (event, matcher, command) from selected script
- Prompts user to choose installation location:
.claude/settings.local.json(personal project settings).claude/settings.json(team project settings)~/.claude/settings.json(global personal settings)
- Uses
jqto manipulate JSON and install the hook
Development Commands
Running Bash Unit Tests
# Run all tests (auto-installs bashunit if needed)
./run-bash-tests.sh
Installing Hooks
./install-hook.sh
Dependencies
jq- Required for JSON manipulation during hook installationbashunit- Testing framework (auto-installed by test script)uv- For Python hook execution (Python hooks use#!/usr/bin/env -S uv run --script)terminal-notifier- Required for macOS notification hooks
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 86 lines · 598 tokens per session scan B 75d648534124
claude-code-curated-hooks CLAUDE.md is an instructions file published in the GitHub repository normful/claude-code-curated-hooks (1 stars, last pushed 1y ago), licensed MIT. It adds 598 tokens to every session, about $0.0030 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
cc-safe-setup CLAUDE.md
Claude Code instructions for yurukusa/cc-safe-setup, covering project rules, safety, code style and git.
Throughline CLAUDE.md
Claude Code instructions for kitepon/Throughline, covering claude.md, プロジェクト概要, 必読ドキュメント, 実装済みファイルの役割 and コア.
claude-hangar CLAUDE.md
Claude Code instructions for claude-hangar/claude-hangar, covering claude hangar — project instructions, what is this?, repository structure, language & communication and quality standards.
conclaude CLAUDE.md
Claude Code instructions for connerohnesorge/conclaude, covering you are the orchestrator, your role: master orchestrator, your mandatory workflow, step 1: analyze & plan (you do this) and step 2: delegate to subagents (one todo at a time).
cc-agents-kit CLAUDE.md
Claude Code instructions for AndrewDongminYoo/cc-agents-kit, covering claude.md, what this repo is, commands, layout contract and hook contract.
claude-code-notifire CLAUDE.md
Claude Code instructions for faustoFF/claude-code-notifire, covering claude.md, language, what this is, commands and architecture.