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
累计下载
2,617
星标
1
全站排名
#4,008
全站前 79% · 「AI 智能体」前 84%
平台累计安装累计下载星标评论
ClawHub ↗802,4591-
SkillHub ↗1472,6171—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

技能通过本地命令控制指定灯具,并在本地配置文件中保存 Hue 连接信息。它可以直接改变本地网络上的灯光状态;仅在确有需要时安装,选择指定灯具并保护配置文件。将自动调用写入 shell 配置前,应先审查相关钩子,避免无意触发灯光控制。 需要 Hue 灯桥、彩色灯泡、curl 和 Bash 4.0 或更新版本;会话自动触发列为未来构想。

资料发布于 2026-10-29

可以用来做什么

  • 用灯光提示助手正在处理任务或已经完成
  • 为指定 Hue 灯配置状态颜色
  • 排查灯桥连接或灯具无响应问题

什么时候用

  • 本地网络中的 Hue 灯控制已获用户授权时
  • 只需控制已指定的灯具时
  • 灯光配置和可能自动运行的 shell 钩子已审查时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

说明如何安全地为指定 Hue 灯配置处理中和完成状态;不要连接灯桥、读取配置或改变灯光。

月度数据趋势

累计下载2,617
1,6732,1802,6872026-03 · 累计下载 1,7432026-05 · 累计下载 2,0322026-06 · 累计下载 2,1312026-07 · 累计下载 2,3012026-08 · 累计下载 2,3772026-09 · 累计下载 2,61726-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-092,617—1
2026-082,377+3.3%1
2026-072,301+8.0%1
2026-062,131+4.9%1
2026-052,032—1
2026-031,743—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),按月更新。口径说明见数据方法。