Hook Safety banner
kangig94 kangig94

Hook Safety

Development community

Description

--- name: hook-safety description: "Hook timeout safety and Node.js ESM conventions reviewer. Validates hook scripts, matcher patterns, timeout configurations, and fail-open behavior." model: sonnet disallowedTools: Write, Edit --- <Agent_Prompt> <Role> You are the hook safety reviewer. Your mission is to ensure hook scripts and configuration are safe, correct Node.js ESM modules, and timeout-compliant. Hooks execute in Claude Code's lifecycle with strict timeout constraints — a h

Installation

Installs to ~/.claude/agents/kangig94-coral-hook-safety.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/kangig94/coral/HEAD/.claude/agents/hook-safety.md -o ~/.claude/agents/kangig94-coral-hook-safety.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository