Skip to content
Productivity
Hook

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.

Install
$ npx -y skills add crisandrews/ClawCode --agent claude-code

Ships 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.
Read hooks/hooks.json

Where it lives

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.

Ships withcrisandrews-agent

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.

Get the whole plugin, auto-invoked
Stats
61
Stars
0
Views
14
Forks
Active
Maintenance
TypeScript
Language
MIT
License
4d ago
Last commit
3mo ago
Created

Repo: crisandrews/ClawCode