Agent Orchestration
Hook
Hooks
What nights-watch 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 aniketkarne/claudenightswatch > /plugin install claude-nights-watch@claude-nights-watch-marketplace
Ships with nights-watch. 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.
${CLAUDE_PLUGIN_ROOT}/hooks/scripts/check-daemon-status.sh
SessionEnd
${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-end-prompt.sh
PostToolUse
- Matches
Write|Edit${CLAUDE_PLUGIN_ROOT}/hooks/scripts/log-file-changes.sh
Ships withnights-watch
๐ NEW: Now available as a Claude Code Plugin! ๐ Autonomous task execution system for Claude CLI that monitors your usage windows and executes predefined tasks automatically.
Get the whole plugin

