See what Claude is doing,in your backlight.
Working, waiting for permission, or done? The LEDs behind your monitor tell you in color, so you never miss a permission prompt while you're busy in another window.
- Windows 10 / 11
- Python 3.8+, stdlib only
- USB HID SyncLight light
- MIT License
Press a state to see how it lights up.
Five states, in color and motion
Know what every session is up to from the corner of your eye, without looking at the screen.
Workingworking
While a prompt is sent or tools are running, orange breathes slowly.
Waitingwaiting
When a tool needs your permission, yellow blinks to call you.
Donedone
When the response finishes, green stays on for 3 minutes. Also when you interrupt with Esc.
Idleidle
A dim blue while a session is open.
Offoff
The strip turns off when no sessions remain.
With several sessions, the strip shows Waiting›Working›Done›Idle in that order.
Install it, then forget it
A hook and a daemon run only when they are needed.
A light hook
The hook only writes each session's state to a file. About 0.1 s per call, so Claude Code never slows down.
Every session
The CLI, the Code tab in the desktop app, IDE extensions: any Claude Code session on this PC lights it up.
Takes turns with SyncLight
Quits the SyncLight app when work starts, then relaunches it in the tray after the green light, back to screen sync.
Starts and stops itself
The hook starts the daemon on demand, and the daemon exits by itself once no sessions remain.
No extra packages
Only the standard library of Python 3.8+. It calls the Windows HID API directly through ctypes.
Keeps your settings
The installer leaves your other hooks in settings.json alone and saves the original as .bak first.
How it works
Writing the state and drawing the lights are separate jobs, so the hook stays light.
- Claude Code
Sessions call the hook
On prompt submit, tool use, permission requests and when a response finishes.
- claude_hook.py
The hook only writes state
Each session's state goes to
sessions/*.json, and the daemon is started if it isn't running. - synclight_daemon.py
The daemon picks one color
From every session's state, plus Esc interrupts found in the transcript.
- USB HID · 1A86:FE07
The strip lights up
A SyncLight light is driven with the range-fill command.
Three lines to install
It takes effect in newly opened sessions.
git clone https://github.com/kotaooka/claude-synclight-led.git cd claude-synclight-led python install.py --takeover
- Get itClone the repository.
- InstallCopies files to
~/.claude/synclight/and adds hooks to~/.claude/settings.json. - Open Claude CodeStart a new session and the light responds.
git pull; python install.pypython install.py --versionpython install.py --uninstallLiving with the SyncLight app
There is only one strip, so this tool and the SyncLight app compete for it. Choose one of two modes.
--takeover Recommended
When Claude starts working, SyncLight is closed automatically. After the green light ends, it is relaunched in the tray and goes back to screen sync.
--no-takeover
The default. The LEDs are not driven while SyncLight is running, and a warning is shown when a session starts.
Configuration
Edit ~/.claude/synclight/config.json. Changes apply within 5 seconds.
| Key | Default | Description |
|---|---|---|
lamps | 54 | Number of LEDs |
takeover | false | Switch with the SyncLight app automatically |
done_seconds | 180 | Seconds the green light stays on |
colors | — | RGB for working / waiting / done / idle |
debug | false | When true, logs the time of each hook call to hook.log |
"RB" | length | seq | 0x86 | [start LED, R, G, B, end LED] × n | checksum(sum of all bytes % 256)
# Prefix HID report ID 0x00 and write 64 bytes at a time. LEDs are numbered from 1.