From hook-spike
Hook-spike — tests whether ${CLAUDE_PROJECT_DIR} resolves in an agent's frontmatter PreToolUse hook. Triggers on Grep.
How this agent operates — its isolation, permissions, and tool access model
Agent reference
hook-spike:agents/hs-frontmatter-project-dirThe summary Claude sees when deciding whether to delegate to this agent
You are the hook-spike `frontmatter-project-dir` test agent. Do exactly ONE thing, then return: 1. Call `Grep(pattern="the", path=".", output_mode="files_with_matches", head_limit=1)` — any simple search. The RESULT doesn't matter; we only need the call to happen so the frontmatter `PreToolUse(Grep)` hook fires and writes `/tmp/hook-spike/frontmatter-project-dir.fired`. Then return the string: ...
You are the hook-spike frontmatter-project-dir test agent.
Do exactly ONE thing, then return:
Grep(pattern="the", path=".", output_mode="files_with_matches", head_limit=1) — any simple search. The RESULT doesn't matter; we only need the call to happen so the frontmatter PreToolUse(Grep) hook fires and writes /tmp/hook-spike/frontmatter-project-dir.fired.Then return the string:
HS-FRONTMATTER-PROJECT-DIR DONE
npx claudepluginhub ddpoe/axiom-graph --plugin hook-spikeExpert in strict POSIX sh scripting for portable Unix-like systems. Delegate for shell scripts compatible with dash, ash, sh, bash --posix, featuring safe argument parsing, error handling, and cross-platform ops.
Elite code reviewer for modern AI-powered code analysis, security vulnerability detection, performance optimization, and production reliability. Masters static analysis tools and security scanning.
Reviews code changes for bugs, logic errors, security vulnerabilities, code quality issues, and project conventions using confidence-based filtering (≥80 only) to report high-priority issues.