Skip to content
Development
Hook

Hooks

What session-orchestrator 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 Kanevry/session-orchestrator --agent claude-code

Ships with session-orchestrator. 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 [analyze|review|list]'.

SessionEnd

  • Runs on-session-end.mjs".

PreToolUse

  • Runs skill-invocation-telemetry.mjs".

PostToolUse

  • Runs post-edit-validate.mjs".

Stop

  • Runs on-stop.mjs".

SubagentStop

  • Runs on-stop.mjs".

PostToolUseFailure

  • Runs post-tool-failure-corrective-context.mjs".

PostToolBatch

  • Runs post-tool-batch-wave-signal.mjs".

SubagentStart

  • Runs subagent-telemetry.mjs".

CwdChanged

  • Runs cwd-change-restore.mjs".
Read hooks/hooks.json

Where it lives

Showing the source of 6 of 26 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.

Ships withsession-orchestrator

Loop engineering for AI coding agents — turn ad-hoc sessions into a repeatable research → plan → wave-execute → close loop with verification gates. Runs on Claude Code, Codex CLI, Cursor, and Pi.

Get the whole plugin, auto-invoked
Stats
50
Stars
0
Views
7
Forks
Active
Maintenance
JavaScript
Language
MIT
License
18h ago
Last commit
4mo ago
Created

Repo: Kanevry/session-orchestrator