JesseRod329

Philips Hue Thinking Indicator

AI 智慧體v1.0.0
作者:JesseRod329更新於 2026-05-11philips-hue-thinking@clawhub_jesserod329/philips-hue-thinking
工作流編排工具呼叫

據 AlphaMoat 統計,截至 2026-09,Philips Hue Thinking Indicator 累計下載 2,617 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 4,008 位,在「AI 智慧體」分類(969 個)中排名第 810 位。

累計安裝
147
累計下載
2617
星標
1
全站排名
#4,008
全站前 79% · 「AI 智慧體」前 84%
平台累計安裝累計下載星標評論
ClawHub ↗8024591-
SkillHub ↗14726171—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

技能透過本地命令控制指定燈具,並在本地配置檔案中儲存 Hue 連線資訊。它可以直接改變本地網路上的燈光狀態;僅在確有需要時安裝,選擇指定燈具並保護配置檔案。將自動呼叫寫入 shell 配置前,應先審查相關鉤子,避免無意觸發燈光控制。 需要 Hue 燈橋、彩色燈泡、curl 和 Bash 4.0 或更新版本;會話自動觸發列為未來構想。

資料釋出於 2026-10-29

可以用來做什麼

  • 用燈光提示助手正在處理任務或已經完成
  • 為指定 Hue 燈配置狀態顏色
  • 排查燈橋連線或燈具無響應問題

什麼時候用

  • 本地網路中的 Hue 燈控制已獲使用者授權時
  • 只需控制已指定的燈具時
  • 燈光配置和可能自動執行的 shell 鉤子已審查時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

說明如何安全地為指定 Hue 燈配置處理中和完成狀態;不要連線燈橋、讀取配置或改變燈光。

月度資料趨勢

累計下載2617
1673218026872026-03 · 累計下載 17432026-05 · 累計下載 20322026-06 · 累計下載 21312026-07 · 累計下載 23012026-08 · 累計下載 23772026-09 · 累計下載 261726-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092617—1
2026-082377+3.3%1
2026-072301+8.0%1
2026-062131+4.9%1
2026-052032—1
2026-031743—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

4.7 KB · ClawHub v1.0.0
---
name: philips-hue-thinking
description: Visual AI activity indicator using Philips Hue lights. Pulse red when thinking, green when done.
homepage: https://github.com/yourusername/philips-hue-thinking
metadata: {"clawdbot":{"emoji":"🚦","requires":{"bins":["hue"]},"install":[{"id":"manual","kind":"manual","label":"Copy hue script to PATH"}]}}
---

# Philips Hue Thinking Indicator

**Visual AI activity indicator** — Connect your AI assistant's work status to your physical environment through Philips Hue smart lights.
展開全部(共 257 行)

![Demo](https://img.shields.io/badge/status-active-green)

## What It Does

Turns a Philips Hue light into an **AI activity indicator**:

| Light State | Meaning |
|-------------|---------|
| 🟢 **Green** | Ready / Done / Idle |
| 🔴 **Pulsing Red** | AI is thinking, analyzing, or planning |
| 🔴 **Solid Red** | AI 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

```bash
# 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

```bash
hue lights

# Output:
#   2: Bed room 1 💡 ON
#   3: Bedroom 2 ⚫ OFF
#   5: Front door 💡 ON  ← Use this one
```

### 3. Use It

```bash
# AI starts thinking
hue thinking 5

# AI is done
hue done 5
```

## Installation

### Option 1: Copy to PATH

```bash
# 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

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

# Then reload
source ~/.zshrc
```

## Commands

### Core Commands

```bash
# 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

```bash
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

```bash
# 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`:

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

Then just type:
```bash
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

| Color | X | Y |
|-------|---|---|
| Red | 0.675 | 0.322 |
| Green | 0.214 | 0.709 |
| Blue | 0.167 | 0.040 |
| Yellow | 0.492 | 0.476 |
| Purple | 0.265 | 0.100 |
| Orange | 0.600 | 0.380 |

### The Pulse Effect

```bash
# Brightness oscillation
254 (bright) → 50 (dim) → 254

# Timing
~2 second cycle
Background process keeps pulsing
```

## Configuration

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

```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

```bash
# Check connection
hue lights

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

### Pulse won't stop

```bash
# 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

「AI 智慧體」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。