Hooks
What beast-forge 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 malakhov-dmitrii/forge --agent claude-codeShips with beast-forge. 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 sessionstart.
SessionEnd
- Runs sessionend.
PreCompact
- Runs precompact.
Where it lives
- hooks/discover-skills.shGitHub
- hooks/forge-crud.mjsGitHub
- hooks/forge-global.mjsGitHub
- hooks/forge-hooks.mjsGitHub
- hooks/forge-schema.mjsGitHub
- hooks/integration-runner.mjsGitHub
- hooks/nightly-maintenance-launchd.mjsGitHub
- hooks/nightly-maintenance-policy.mjsGitHub
- hooks/nightly-maintenance-runner.mjsGitHub
- hooks/nightly-maintenance-state.mjsGitHub
- hooks/stream-planner.mjsGitHub
Showing the source of 6 of 11 scripts. Every one is linked above.
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.
Ore in, steel out. A blacksmith doesn't blame the ore. It smelts, shapes, tempers, and quenches — until what comes out holds an edge.
Repo: malakhov-dmitrii/forge

