Development
Hook
Hooks
What cm runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
Install
> /plugin marketplace add tody-agent/codymaster > /plugin install cm@codymaster
Ships with cm. 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.
if [ -f .cm/CONTINUITY.md ]; then echo '[cm] Working memory loaded from .cm/CONTINUITY.md'; head -30 .cm/CONTINUITY.md; else echo '[cm] No .cm/CONTINUITY.md found. Run /cm:cm-start to initialize.'; fi
PreToolUse
- Matches
Write|Edit${CLAUDE_PLUGIN_ROOT}/bin/cm-guard-secrets
Stop
${CLAUDE_PLUGIN_ROOT}/bin/cm-save-continuity
Ships withcm
"I can't write code. But in 6 months, I shipped 12 real products using AI. CodyMaster is everything I learned — so you don't have to repeat my mistakes." — Tody Le, Head of Product, Creator of CodyMaster 50+ skills. One install.
Get the whole plugin
Stats
53
Stars
23
Forks
Active
Maintenance
Python
Language
25d ago
Last commit
6mo ago
Created
Repo: tody-agent/codymaster

