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
claude

Press a state to see how it lights up.

01

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.

02

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.

03

How it works

Writing the state and drawing the lights are separate jobs, so the hook stays light.

  1. Claude Code

    Sessions call the hook

    On prompt submit, tool use, permission requests and when a response finishes.

  2. 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.

  3. synclight_daemon.py

    The daemon picks one color

    From every session's state, plus Esc interrupts found in the transcript.

  4. USB HID · 1A86:FE07

    The strip lights up

    A SyncLight light is driven with the range-fill command.

04

Three lines to install

It takes effect in newly opened sessions.

PowerShell
git clone https://github.com/kotaooka/claude-synclight-led.git
cd claude-synclight-led
python install.py --takeover
  1. Get itClone the repository.
  2. InstallCopies files to ~/.claude/synclight/ and adds hooks to ~/.claude/settings.json.
  3. Open Claude CodeStart a new session and the light responds.
Updategit pull; python install.py
Installed versionpython install.py --version
Uninstallpython install.py --uninstall
05

Living 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.

06

Configuration

Edit ~/.claude/synclight/config.json. Changes apply within 5 seconds.

KeyDefaultDescription
lamps54Number of LEDs
takeoverfalseSwitch with the SyncLight app automatically
done_seconds180Seconds the green light stays on
colors—RGB for working / waiting / done / idle
debugfalseWhen true, logs the time of each hook call to hook.log
Protocol (range-fill command)
"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.

Never miss a permission prompt again.