hookify-list

hookify-list is a command for Claude Code from kumaran-is/claude-code-onboarding. It costs 24 tokens per session (366 once invoked), scanned B, original, MIT.

A command that lists Hookify rule files and shows each rule's name, status, trigger, action, and matching pattern. Hookify rules are project instructions that warn about or block specified actions.

In plain words
What is it for?
Use it to review all configured rules, see how many are enabled, and find the commands for creating or toggling rules.
Why use it?
It gives you a quick view of which safeguards are active without opening each configuration file.

Command for Claude Code

Install

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.

agentmods
npx agentmods add commands/kumaran-is/claude-code-onboarding/hookify-list
Clone the repo
git clone --depth 1 https://github.com/kumaran-is/claude-code-onboarding

Made for: Claude Code.

Wrote 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.

agentmods badge for hookify-list

README.md
[![agentmods](https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/hookify-list.svg)](https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/hookify-list)
Your own site
<a href="https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/hookify-list"><img src="https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/hookify-list.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 366 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00024 $0.00366
Opus 5 $0.00012 $0.00183
Sonnet 5 $0.00005 $0.00073
Haiku 4.5 $0.00002 $0.00037

Measured today against content hash dc330adacfe0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

hookify-list 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 today.

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.

1. Use Glob to find all rule files: `.claude/hookify.*.local.md`
.claude/commands/hookify-list.md · 53 lines

What it actually says

Hookify List — Show All Rules

List every .claude/hookify.*.local.md file and its current status.

Steps

  1. Use Glob to find all rule files: .claude/hookify.*.local.md

  2. For each file, read it and extract:

    • name, enabled, event, action, pattern (or conditions)
    • First line of message body (for preview)
  3. Print a summary table:

## Hookify Rules

| Name | Status | Event | Action | Pattern |
|------|--------|-------|--------|---------|
| warn-console-log | ✅ enabled | file | warn | console\.log\( |
| require-tests    | ❌ disabled | stop | block | (conditions) |

Total: N rules  (X enabled, Y disabled)
  1. For each rule, add a one-line preview of its message body.

  2. Footer:

To toggle rules:    /hookify-configure
To create a rule:   /hookify [describe behavior]
To edit manually:   Edit .claude/hookify.{name}.local.md (changes apply immediately)
To disable:         Set enabled: false  |  To delete: remove the file

If No Rules Found

No Hookify rules configured yet.

To create one:
  /hookify Warn me when I use console.log
  /hookify Block force-push to main
  /hookify    # scan conversation for behaviors to prevent

$ARGUMENTS

Changes

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.

  1. today First seen · 53 lines · 0 tokens per session scan B dc330adacfe0

Subscribe to this mod's changes

hookify-list is a command published in the GitHub repository kumaran-is/claude-code-onboarding (35 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 366 once invoked, about $0.0001 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-09-03.