Claudelight — Development skill for Claude Code
Get Tuya lights working with claude code hooks.
How to install Claudelight
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open maail/claudelight and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claudelight does
Get Tuya lights working with claude code hooks.
Alternatives in Development
- Agent.Extras.Workdir Structure — File structure of working directory {{folder}} 19k ★
- WARP.md — This file provides guidance to WARP (warp.dev) when working with code in this repository 10.5k ★
- Claude Skills Project Configuration — This file governs Claude's behavior when working on the claude-skills repository 6.8k ★
README
claudelight
Control a Tuya smart light to show Claude Code status. Your light changes color when Claude is thinking, running tools, asking a question, or encounters an error — and glows a warm dim yellow when idle.
Colors
| State | Color |
|---|---|
| Thinking | Purple |
| Running | Blue |
| Question | Yellow |
| Success | Green |
| Error | Red |
| Done | Warm Yellow (dim) |
Install
npm install -g claudelight
Setup
1. Get your Tuya credentials
You'll need the **device ID**, **local key**, and **local IP** of your Tuya smart light. The easiest way to get these is with [tinytuya](https://github.com/jasonacox/tinytuya):
pip install tinytuya
python -m tinytuya wizard
This will walk you through linking your [Tuya IoT Platform](https://iot.tuya.com/) account and scanning your local network for devices. You'll need to:
- Create a Tuya IoT Platform account and a Cloud project
- Link your Tuya/Smart Life app account to the project
- Run the wizard — it outputs a
devices.jsonwith each device'sid,key, andip
2. Configure your credentials
Create a config file at `~/.config/claudelight/.env`:
mkdir -p ~/.config/claudelight
cat > ~/.config/claudelight/.env << 'EOF'
CLAUDELIGHT_DEVICE_ID=your_device_id
CLAUDELIGHT_KEY=your_local_key
CLAUDELIGHT_IP=192.168.1.100
CLAUDELIGHT_VERSION=3.5
EOF
`CLAUDELIGHT_VERSION` is optional and defaults to `3.5`.
For multiple devices, use comma-separated values:
CLAUDELIGHT_DEVICE_ID=id1,id2
CLAUDELIGHT_KEY=key1,key2
CLAUDELIGHT_IP=192.168.1.100,192.168.1.101
Alternatively, you can set these as environment variables in your shell profile.
3. Set up Claude Code hooks
claude-light setup-hooks
This adds hooks to `~/.claude/settings.json` so Claude Code automatically triggers the light on lifecycle events.
Manual usage
claude-light thinking # Purple
claude-light running # Blue
claude-light question # Yellow
claude
Related Skills
Slash Cron
Claude Code slash command (/cron) shows all active in-memory cron jobs running in Claude Code (even outside of
Quality Loop
A verification-first working layer for Claude Code: hooks that gate edits on real syntax checks, reviewer agen
Rungraph
One command turns every agent session already on your disk into a graph: subagents, tool calls, retries, the m
Lights On Software Factory
Lights-on software factory boilerplate for Claude Code. Based on the setup developed for Votito.
Ha 3D Floorplan
Claude Code skill: interactive 3D floor plan of your home with live Home Assistant lights (three.js)
AutoSwarm
AutoSwarm: All Your Agents, Working as One (Codex · Claude Code · DeepSeek Harness · Muse · Grok · WorkBuddy·
Related Agents
Drupal Specialist
Drupal and PHP specialist for working with modules, themes, Twig templates, hooks, services, routing, and Drus
Render Artist
Use for all three.js rendering — scene/camera/lights, building maze meshes, character meshes from primitives (
Call Scorer
Scores one sales or discovery call transcript against SPIN, Gap Selling, the Trust Equation, yellow lights, JO