Skip to content
Development
Hook

Hooks

What devteam 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 michael-harris/devteam --agent claude-code

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

Where it lives

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.

Ships withdevteam

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

Get the whole plugin, auto-invoked
Stats
16
Stars
0
Views
6
Forks
Maintained
Maintenance
Shell
Language
MIT
License
5mo ago
Last commit
9mo ago
Created

Repo: michael-harris/devteam