Know when Claude Code is done, from your LED matrix
Walk away while the agent works. The matrix says when it's finished or needs you.
Coding agents work for minutes at a time, and it's easy to come back long after they stopped to ask a question. Claude Code runs hooks when it finishes and when it waits for you. Point them at the pipplee helper and the matrix tells you.
What your matrix shows
Text with the "rainbow" border. Illustration; the real effect is animated.
What you need
- Claude Code, and the pipplee helper from the setup guide installed on the same computer.
- Your Authorization value from the setup guide (about 5 minutes).
Set it up
1. Add the hooks
Add this to ~/.claude/settings.json (for every project) or .claude/settings.json in one project. If the file already has a "hooks" section, add the two entries to it.
{
"hooks": {
"Stop": [
{"hooks": [{"type": "command", "command": "$HOME/.local/bin/pipplee 'Claude is done' 2fd3e8 '' 20"}]}
],
"Notification": [
{"hooks": [{"type": "command", "command": "$HOME/.local/bin/pipplee 'Claude needs you' ffd43b rainbow 120"}]}
]
}
}
How it works
- Stop runs when Claude finishes its answer; the matrix shows a short cyan message.
- Notification runs when Claude is waiting for you, such as a permission prompt; the matrix shows a yellow message with a rainbow border for 2 minutes.
- The helper reads your Authorization value from ~/.config/pipplee/auth, so it works however Claude Code was started.
Variations
Name the project
Claude Code sets CLAUDE_PROJECT_DIR for hooks. Use its last part in the message.
{
"hooks": {
"Stop": [
{"hooks": [{"type": "command", "command": "$HOME/.local/bin/pipplee \"Done: ${CLAUDE_PROJECT_DIR##*/}\" 2fd3e8 '' 20"}]}
]
}
}
Other agents and editors
Any tool that can run a command when it finishes can call the helper the same way: pipplee "Agent is done" 2fd3e8.
Questions
Does a hook slow Claude Code down?
Barely. The helper sends one request and gives up after 10 seconds if the internet is down.
Will it fire for every small reply?
Stop fires at the end of every answer. If that is too often, keep only the Notification hook, which fires when Claude is actually waiting for you.