-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsession-start.example.json
More file actions
24 lines (24 loc) · 986 Bytes
/
Copy pathsession-start.example.json
File metadata and controls
24 lines (24 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"_comment": "Reference SessionStart hook for claude-codestart. Merge the 'hooks' key into your existing ~/.claude/settings.json. Do NOT replace the file — merge carefully.",
"_install_instructions": [
"1. Open ~/.claude/settings.json in your editor",
"2. If a top-level 'hooks' key already exists, add the SessionStart entry into its array",
"3. If no 'hooks' key exists, add the entire 'hooks' block below as a new top-level key",
"4. Save and start a new claude session — you should see 'Loading codestart pulse...' briefly",
"5. Test: claude --print 'Summarize my pulse without any tool calls'"
],
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "$HOME/.claude-codestart/build-pulse.sh >/dev/null 2>&1 && cat $HOME/.claude-codestart/PULSE.md",
"timeout": 30,
"statusMessage": "Loading codestart pulse..."
}
]
}
]
}
}