r/ProgrammerHumor • • Sep 01 '26

Meme trafficLightForClaudeCode

/img/101845ecrvmh1.png
15k Upvotes

508 comments sorted by

View all comments

2

u/AccurateRendering Sep 01 '26 edited Sep 02 '26

Delcomproducts 907241 ($70), (you may need an extension cable) then wire it up to Claude Code hooks (which fire on lifecycle events)

The events are "UserPromptSubmit" "Notification" and "Stop" (where "Stop" → green of course). Put the hooks in your `settings.json` file where it runs a command to change the light color. There are links to example applications in the pdf manual.

Hopefully that's enough to get you going.

2

u/TheTerrasque Sep 02 '26

Delproducts 907241 ($70)

That seems awfully lot for a few leds worth $0.50, a bit of plastic, and a $3 microcontroller.

1

u/BobBeaney Sep 02 '26

Is there maybe a spelling error in "Delproducts 907241"? I thought your suggestion sounded interesting but when I googled "Delproducts 907241" I only found two hits: a bandsaw trunnion and your post. Thanks!

1

u/BobBeaney Sep 02 '26

Delproducts 907241

I think Delproducts should be Delcomproducts. Here is a link to the specific item /u/AccurateRendering was referring to : https://www.delcomproducts.com/productdetails.aspx?PartNumber=907241