Hooks
What devteam 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 michael-harris/devteam --agent claude-codeShips with devteam. Installing the plugin gets these hooks.
What fires, and when
PreToolUse
- Runs pre-tool-use-hook.
PostToolUse
- Runs post-tool-use-hook.
Stop
- Runs stop-hook.
SubagentStart
- Runs started".
SubagentStop
- Runs completed".
TaskCompleted
- Runs complete".
WorktreeCreate
- Runs created".
WorktreeRemove
- Runs removed".
TeammateIdle
PreCompact
- Runs pre-compact.
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 session-start.
SessionEnd
- Runs session-end.
Notification
- Runs persistence-hook.
Where it lives
- hooks/install.ps1GitHub
- hooks/install.shGitHub
- hooks/log-event.jsGitHub
- hooks/persistence-hook.ps1GitHub
- hooks/persistence-hook.shGitHub
- hooks/post-tool-use-hook.ps1GitHub
- hooks/post-tool-use-hook.shGitHub
- hooks/pre-compact.ps1GitHub
- hooks/pre-compact.shGitHub
- hooks/pre-tool-use-hook.ps1GitHub
- hooks/pre-tool-use-hook.shGitHub
- hooks/run-hook.jsGitHub
- hooks/scope-check.ps1GitHub
- hooks/scope-check.shGitHub
- hooks/session-end.ps1GitHub
- hooks/session-end.shGitHub
- hooks/session-start.ps1GitHub
- hooks/session-start.shGitHub
- hooks/stop-hook.ps1GitHub
- hooks/stop-hook.shGitHub
Showing the source of 6 of 20 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.
A Claude Code plugin providing 127 specialized AI agents with: Interview-driven planning - Clarify requirements before work begins Codebase research - Investigate patterns and blockers before implementation SQLite state management - Reliable session tracking
Repo: michael-harris/devteam

