askill
philips-hue-thinking

philips-hue-thinkingSafety 90Repository

Visual AI activity indicator using Philips Hue lights. Pulse red when thinking, green when done.

2 stars
1.2k downloads
Updated 2/7/2026

Package Files

Loading files...
SKILL.md

Philips Hue Thinking Indicator

Visual AI activity indicator β€” Connect your AI assistant's work status to your physical environment through Philips Hue smart lights.

Demo

What It Does

Turns a Philips Hue light into an AI activity indicator:

Light StateMeaning
🟒 GreenReady / Done / Idle
πŸ”΄ Pulsing RedAI is thinking, analyzing, or planning
πŸ”΄ Solid RedAI is actively building/working

Why Use This?

  • Ambient awareness β€” Know when your AI is working without checking screens
  • Flow state protection β€” Visual indicator prevents interruptions during deep work
  • Satisfying completion β€” Green light signals "ready for next task"
  • Conversation starter β€” "My AI has a physical presence in my house"

Quick Start

1. Setup Your Hue Bridge

# Find your bridge IP (check router or Hue app), then run:
hue setup <bridge-ip>

# Example:
hue setup 192.168.1.100

2. Find Your Light

hue lights

# Output:
#   2: Bed room 1 πŸ’‘ ON
#   3: Bedroom 2 ⚫ OFF
#   5: Front door πŸ’‘ ON  ← Use this one

3. Use It

# AI starts thinking
hue thinking 5

# AI is done
hue done 5

Installation

Option 1: Copy to PATH

# Clone or download
git clone https://github.com/yourusername/philips-hue-thinking.git

# Add to PATH
cp philips-hue-thinking/hue /usr/local/bin/
chmod +x /usr/local/bin/hue

Option 2: Use Directly

# Add to your shell profile (.zshrc or .bashrc)
export PATH="$PATH:/path/to/philips-hue-thinking"

# Then reload
source ~/.zshrc

Commands

Core Commands

# Setup (press bridge button first!)
hue setup <bridge-ip>

# List all lights
hue lights

# Thinking mode (pulsing red)
hue thinking <light-id>

# Done (solid green)
hue done <light-id>

# Set any color
hue set <light-id> <color>

Available Colors

hue set 5 red
hue set 5 green
hue set 5 blue
hue set 5 yellow
hue set 5 purple
hue set 5 orange

Utility Commands

# Turn off
hue off 5

# Pulse continuously
hue pulse 5 --color red

Workflow Integration

With AI Assistants

Planning Mode:

User: "Planning mode β€” I want to build a website"
AI:  [runs 'hue thinking 5'] πŸ”΄ Pulsing...
     "Here are my questions..."
User: [answers]
AI:  [runs 'hue done 5'] βœ… Green
     "Starting build now..."
     [runs 'hue thinking 5'] πŸ”΄ Solid red while building
AI:  [runs 'hue done 5'] βœ… Green
     "Done!"

Shell Aliases

Add to ~/.zshrc:

# Quick aliases
alias think='hue thinking 5'
alias done='hue done 5'

Then just type:

think  # Light pulses red
done   # Light turns green

Technical Details

How It Works

  1. Hue Bridge API β€” Communicates via local HTTP API
  2. Color XY Values β€” Uses CIE color space for accurate colors
  3. Background Pulse β€” Bash loop dims/brightens light
  4. Stateless β€” Stores config in ~/.config/philips-hue/

Color XY Values

ColorXY
Red0.6750.322
Green0.2140.709
Blue0.1670.040
Yellow0.4920.476
Purple0.2650.100
Orange0.6000.380

The Pulse Effect

# Brightness oscillation
254 (bright) β†’ 50 (dim) β†’ 254

# Timing
~2 second cycle
Background process keeps pulsing

Configuration

Config stored in: ~/.config/philips-hue/config.json

{
  "bridge_ip": "192.168.1.100",
  "username": "your-api-key"
}

Requirements

  • Philips Hue Bridge (v2)
  • Philips Hue color bulbs
  • macOS/Linux with curl
  • Bash 4.0+

Troubleshooting

"Link button not pressed"

Press the physical button on your Hue Bridge, then run setup within 30 seconds.

Light not responding

# Check connection
hue lights

# Verify config
cat ~/.config/philips-hue/config.json

Pulse won't stop

# Kill background process
pkill -f "hue-pulse-loop"

# Reset light
hue done 5

Future Ideas

  • Auto-trigger via AI session lifecycle
  • Multiple lights for different task types
  • Heartbeat mode (gentle pulse every 30 min)
  • Error state (flash purple)
  • Success celebration (rainbow effect)

License

MIT β€” See LICENSE file

Credits

Created by Jesse & Kate (Clawdbot)
Inspired by the need for AI physical presence


Questions? Open an issue or DM @jesse on Twitter

Install

Download ZIP
Requires askill CLI v1.0+β–Ά

AI Quality Score

95/100Analyzed 2/12/2026

A highly polished and comprehensive skill definition for controlling Philips Hue lights. It includes perfect documentation structure with installation steps, usage examples, troubleshooting, and technical details.

90
95
90
95
90

Metadata

Licenseunknown
Version-
Updated2/7/2026
PublisherDemerzels-lab

Tags

apici-cdgithubgithub-actions