PreCompact
01Hook
Runs before the context is compacted, executing memory-capture.codex.sh. From dinhanhthi/coding-friend.
Lean toolkit for disciplined engineering workflows with AI Agents (Claude Code, Codex, Oh-my-pi, Cursor, Grok CLI, Antigravity, ZCode).
Hook
Runs before the context is compacted, executing memory-capture.codex.sh. From dinhanhthi/coding-friend.
Hook
Runs before the agent uses a tool for Read, Write, Edit, Glob, Grep and apply_patch tool calls, executing privacy-block.sh and scout-block.cjs (2 commands). From dinhanhthi/coding-friend.
Hook
Runs when a session starts on startup, resume, clear and compact, executing session-init.sh. From dinhanhthi/coding-friend.
Hook
Runs when the agent finishes a response, executing session-log.sh. From dinhanhthi/coding-friend.
Hook
Runs when a subagent starts, executing agent-tracker.sh. From dinhanhthi/coding-friend.
Hook
Runs when a subagent finishes, executing agent-tracker.sh. From dinhanhthi/coding-friend.
Hook
Runs when you submit a prompt, before the agent sees it, executing rules-reminder.sh. From dinhanhthi/coding-friend.
Hook
Runs when the agent asks permission for an action, executing auto-approve.codex.cjs. From dinhanhthi/coding-friend.