From aura-frog
Profiles all registered hooks measuring execution time, output size, and token estimates with color-coded timings and bloat warnings for outputs over 500 tokens. [--iterations N]
How this command is triggered — by the user, by Claude, or both
Slash command
/aura-frog:hooksmetrics/The summary Claude sees in its command listing — used to decide when to auto-load this command
# Command: metrics:hooks **Syntax:** `metrics:hooks [--iterations N]` ## Purpose Profile all registered hooks: execution time, output size, token estimate. ## Execution Color codes: ✅ <100ms, 🟡 100-1000ms, 🔴 >1000ms. Flags hooks whose output exceeds 500 tokens (context bloat risk).
Syntax: metrics:hooks [--iterations N]
Profile all registered hooks: execution time, output size, token estimate.
bash aura-frog/scripts/profile-hooks.sh ${ITERATIONS:-3}
Color codes: ✅ <100ms, 🟡 100-1000ms, 🔴 >1000ms. Flags hooks whose output exceeds 500 tokens (context bloat risk).
npx claudepluginhub nguyenthienthanh/aura-frog --plugin aura-frog/hooks-evalEvaluates all hooks in a plugin or specified scopes for quality, security, performance, and compliance, producing scores and configurable reports.
/create-hookScaffolds, debugs, validates, and analyzes Claude Code hooks with built-in templates and conflict detection.
/hooks-testRuns dry-run test of OMA hooks pipeline on simulated event sequences (e.g., session-start, context-drift), evaluating triggers, skips, and efficiency metrics like time overhead and token savings. Outputs tables and updates .oma/state/hooks-last-test.md.
/cc-hooksDesigns, creates, lists, tests, debugs, and manages Claude Code hooks; installs pre-built policy packs for security, formatting, and automation.
/add-hookAdds or updates hooks.json with a new hook configuration for automated plugin behavior at lifecycle events like PreToolUse or SessionStart. Requires event type; optional matcher and --plugin.
/create-hookCreates and configures Claude Code hooks for events like PreToolUse with matcher and command, including ESLint/Prettier templates. Outputs status and hook file path.