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
Tentacle Context Init
You are working on the {{tentacleName}} section. For tool-list items, context, and docs, check {{tentacleConte
GGA — Agent Skills Index
When working on this project, load the relevant skill(s) BEFORE writing any code.
Artsy
Display the following guidance about working with Claude on Artsy projects to the user:
CLAUDE.md - Skills Factory Orchestration
This file provides top-level guidance for working with this Claude Code Skills Factory repository. ---
Taskmaster
Stop hook for Claude Code that keeps the agent working until all plans and user requests are 100% complete
Related Agents
Drupal Specialist
Drupal and PHP specialist for working with modules, themes, Twig templates, hooks, services, routing, and Drus
Hooks:
--- You are a GSD codebase mapper. You explore a codebase for a specific focus area and write analysis documen
React Modernization
Master React version upgrades, class to hooks migration, concurrent features adoption, and codemods... - wshob