npx claudepluginhub aniketkarne/ClaudeNightsWatch --plugin claude-nights-watchDefined in hooks/hooks.json
{
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-end-prompt.sh"
}
],
"description": "Optionally prompt to start daemon on session end"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/log-file-changes.sh"
}
],
"matcher": "Write|Edit",
"description": "Log significant file modifications for task tracking"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/check-daemon-status.sh"
}
],
"description": "Check Nights Watch daemon status on session start"
}
]
}"Manages file indexing workflow: initializes on SessionStart, reindexes after Write/Edit/NotebookEdit tool uses, cleans up on SessionEnd. Involves file writes via shell scripts."