Hooks
What crisandrews-agent runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
$ npx -y skills add crisandrews/ClawCode --agent claude-codeShips with crisandrews-agent. Installing the plugin gets these hooks.
What fires, and when
SessionStart
Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.
- Runs reconcile-crons.sh.
PreToolUse
- Runs cron-pretool.sh.
PostToolUse
- Runs cron-posttool.sh.
PreCompact
- Runs skip.'.
Stop
- Runs items.'.
SessionEnd
- Runs 0.
Where it lives
- hooks/cron-posttool.shGitHub
- hooks/cron-pretool.shGitHub
- hooks/exec-gate-pretool.shGitHub
- hooks/reconcile-crons.shGitHub
- hooks/scope-trust-legacy-warn.shGitHub
Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.
Persistent agents for Claude Code as a plugin, not a harness. Memory, personality, messaging across WhatsApp, Telegram, and Discord, plus a service mode for 24/7 runs. Imports from OpenClaw.
Repo: crisandrews/ClawCode

