Skip to content

/hookify-help

Get help with the hookify system

From plugin
ecc
302k113 skills71 agents113 commands1 MCP
> /plugin marketplace add affaan-m/ECC
> /plugin install ecc@ecc

Command definition

hookify-help.md
description: Get help with the hookify system

Display comprehensive hookify documentation.

Hook System Overview

Hookify creates rule files that integrate with Claude Code's hook system to prevent unwanted behaviors. ECC's built-in runtime loads these rules automatically while plugin hooks are enabled; installing a separate Hookify plugin is not required.

Event Types

  • `bash`: triggers on Bash tool use and matches command patterns
  • `file`: triggers on Write/Edit tool use and matches file paths
  • `stop`: triggers after each Claude response
  • `prompt`: triggers on user message submission and matches input patterns
  • `all`: triggers on all events

Rule File Format

Files are stored as `.claude/hookify.{name}.local.md`:

---
name: descriptive-name
enabled: true
event: bash|file|stop|prompt|all
action: block|warn
pattern: "regex pattern to match"
---
Message to display when rule triggers.
Supports multiple lines.

Commands

  • `/hookify [description]` creates new rules and auto-analyzes the conversation when no description is given
  • `/hookify-list` lists configured rules
  • `/hookify-configure` toggles rules on or off

Pattern Tips

  • use regex syntax
  • for `bash`, match against the full command string
  • for `file`, match against the file path
  • test patterns before deploying
  • avoid nested quantifiers such as `(a+)+`; the runtime rejects unsafe regexes
  • every regex evaluation also has a 25 ms hard timeout
  • malformed or oversized rules fail open with a diagnostic so one bad local rule cannot disable all hooks
  • Git-tracked local rules require explicit `ECC_HOOKIFY_ALLOW_TRACKED=1` approval

Action Behavior

  • `warn` adds the rule message to Claude's context and allows processing to continue
  • `block` denies matching shell/file actions before execution
  • `block` on prompt, post-tool, or stop events uses that event's structured block decision
  • stop rules are skipped when `stop_hook_active` is already true to prevent loops
Read more
@affaan-m
Ships withecc

Your agent can write code, but ECC gives it a coordinated engineering system and toolbox: it plans before it builds, verifies changes with tests, reviews its own work from a fresh context, remembers what matters, and turns repeated wins into reusable skills

302k200 skills71 agents1 MCP
Get the whole plugin, auto-invoked

Stars on GitHub

Momentum

stars in total
301.5k
Star history of affaan-m/ECC on GitHub, a chart by star-history.com

Other commands on ecc.

aside
Auto-invoked

aside

Command

Answer a quick side question without interrupting or losing context from the current task. Resume work automatically after…

@affaan-m@affaan-mInstall Command
astra-review
Auto-invoked

astra-review

Command

Send Claude-written code to GPT-6-Astra (ChatGPT, via Codex CLI) for an independent cross-provider review, then fix what it finds.

@affaan-m@affaan-mInstall Command
auto-update
Auto-invoked

auto-update

Command

Pull the latest ECC repo changes and reinstall the current managed targets.

@affaan-m@affaan-mInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command
audit-codebase

audit-codebase

Command

RTK Codebase Health Audit — 7 catégories scorées 0-10

rtk3d86k
@rtk-ai@rtk-aiInstall Command