# 安装 openhue

- 类型: Skill 技能
- 说明: 通过命令行控制飞利浦 Hue 灯光与场景，便捷实现智能照明操作自动化。
- 仓库: https://github.com/openclaw/openclaw
- ⚠ 安全: 该技能材料显示其为开源、社区采用度很高的提示型 Hue 控制技能，未声明需要云端密钥或外部互联网端点。主要能力是面向本地局域网中的 Hue Bridge 发出设备控制指令，整体风险偏低，但因会控制本地智能家居设备，仍需留意实际执行环境与配对权限。

## 方式一 · 一键代装（复制提示词让 AI 代劳）

### Claude Code
```
请帮我安装 askskill 上的 "openhue" 技能：
1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/skills/openhue/SKILL.md
2. 保存为 ~/.claude/skills/openhue/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Codex
```
请帮我安装 askskill 上的 "openhue" 技能：
1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/skills/openhue/SKILL.md
2. 保存为 ~/.codex/skills/openhue/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Cursor
```
请帮我安装 askskill 上的 "openhue" 技能：
1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/skills/openhue/SKILL.md
2. 保存为 ~/.cursor/skills/openhue/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

## 方式二 · 命令行安装（原生命令与配置）

### Claude Code
```bash
mkdir -p '~/.claude/skills/openhue' && curl -fsSL 'https://raw.githubusercontent.com/openclaw/openclaw/main/skills/openhue/SKILL.md' -o '~/.claude/skills/openhue/SKILL.md'
```

### Codex
```bash
mkdir -p '~/.codex/skills/openhue' && curl -fsSL 'https://raw.githubusercontent.com/openclaw/openclaw/main/skills/openhue/SKILL.md' -o '~/.codex/skills/openhue/SKILL.md'
```

### Cursor
```bash
mkdir -p '~/.cursor/skills/openhue' && curl -fsSL 'https://raw.githubusercontent.com/openclaw/openclaw/main/skills/openhue/SKILL.md' -o '~/.cursor/skills/openhue/SKILL.md'
```
