Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

openhue — Claude Code skill: control Philips Hue lights

This skill lets your agent drive Philips Hue lights and scenes through the OpenHue CLI. Handy when you want the lights off or movie mode on without leaving the chat.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openclaw/openclaw --skill openhue -a claude-code
Open on GitHub

What openhue does

The skill documents openhue, a command-line tool for the Hue Bridge. Commands cover listing lights, rooms and scenes, turning things on and off, brightness from 0 to 100, color temperature from 153 to 500 mirek, and color by name or hex.

You can target a single light or a whole room. Scenes are called by name with a room attached: openhue set scene "Relax" --room "Bedroom". The file also ships quick presets, like dim warm light for bedtime or bright cool light for work.

You need openhue installed first, via brew: brew install openhue/cli/openhue-cli. The bridge has to sit on the same local network, and the first run asks you to press the button on the bridge to pair. Color only works on bulbs that support it. Skip this skill for other brands, HomeKit scenes, TVs or thermostats — it won't touch them.

What it helps with

  • turn off every light in a room with one command
  • set brightness and a warm tone before bed
  • activate a Relax or Concentrate scene in a given room
  • list all lights and rooms on the bridge
  • set a bulb color from a hex code

Example prompts for the agent

  • Turn off the bedroom lights
  • Set the office to brightness 100 and temperature 250
  • Activate the Relax scene in the living room

How to install openhue

1Skills CLI (Vercel)

npx skills add openclaw/openclaw --skill openhue -a claude-code

2Manually: put the files in place

~/.claude/skills/openhue/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/openhue/

From the same set45

The whole set →
summarize openclaw Runs a CLI tool to summarize or transcribe web articles, YouTube videos, podcasts, and local PDF documents directly within your AI assistant. Claude Code CX Codex Cursor +1 26,900installs weather openclaw This skill fetches current conditions and forecasts for a city, region, airport code, or coordinates. Use it to check rain and temperature or plan a trip. Claude Code CX Codex Cursor +1 9,300installs gog openclaw Guides an agent using the gog CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. Use it when Google Workspace tasks need to run from a terminal. Claude Code CX Codex Cursor +1 8,500installs tmux openclaw Lets an agent work with live tmux sessions: read pane output, send keys and text, wait for a prompt line to show up. Claude Code CX Codex Cursor +1 8,400installs openai-whisper openclaw This skill lets your agent call the Whisper CLI to transcribe audio on your own machine. No API key needed. Claude Code CX Codex Cursor +1 7,100installs nano-pdf openclaw Edit PDF pages with plain text instructions through the nano-pdf CLI. Useful when you need to fix a typo or swap a heading without leaving your terminal. Claude Code CX Codex Cursor +1 7,100installs skill-creator openclaw A skill for writing, repairing and reviewing other skills. It splits behaviour into branches, sets the frontmatter and sorts resources into folders. Useful once your skill folder gets crowded. Claude Code CX Codex Cursor +1 6,700installs coding-agent openclaw This skill sends large coding tasks to Codex, Claude Code, or OpenCode as background workers. Use it for refactors, PR reviews, and issue-to-PR work. Claude Code CX Codex Cursor +1 6,500installs

Similar

Questions about openhue

How do I install openhue in Claude Code?

Run npx skills add openclaw/openclaw --skill openhue -a claude-code. The skill file lands at ~/.claude/skills/openhue/SKILL.md.

What does the openhue skill do?

It teaches the agent to call openhue for Philips Hue lights and scenes: on and off, brightness, color and color temperature.

What do I need for openhue to work?

The openhue CLI plus a Hue Bridge on your local network. The first run requires a button press on the bridge to pair.

Source text

SKILL.md · MIT
---
name: openhue
description: "Control Philips Hue lights and scenes via the OpenHue CLI."
homepage: https://www.openhue.io/cli
metadata:
  {
    "openclaw":
      {
        "emoji": "💡",
        "requires": { "bins": ["openhue"] },
        "install":
          [
            {
              "id": "brew",
              "kind": "brew",
              "formula": "openhue/cli/openhue-cli",
              "bins": ["openhue"],
              "label": "Install OpenHue CLI (brew)",
            },
          ],
      },
  }
---

# OpenHue CLI

Use `openhue` to control Philips Hue lights and scenes via a Hue Bridge.

## When to Use

Use when:

- "Turn on/off the lights"
- "Dim the living room lights"
- "Set a scene" or "movie mode"
- Controlling specific Hue rooms or zones
- Adjusting brightness, color, or color temperature

## When NOT to Use

Do not use when:

- Non-Hue smart devices (other brands) -> not supported
- HomeKit scenes or Shortcuts -> use Apple's Home app or Shortcuts
- TV or entertainment system control
- Thermostat or HVAC
- Smart plugs (unless Hue smart plugs)

## Common Commands

### List Resources

```bash
openhue get light       # List all lights
openhue get room        # List all rooms
openhue get scene       # List all scenes
```

### Control Lights

```bash
# Turn on/off
openhue set light "Bedroom Lamp" --on
openhue set light "Bedroom Lamp" --off

# Brightness (0-100)
openhue set light "Bedroom Lamp" --on --brightness 50

# Color temperature (warm to cool: 153-500 mirek)
openhue set light "Bedroom Lamp" --on --temperature 300

# Color (by name or hex)
openhue set light "Bedroom Lamp" --on --color red
openhue set light "Bedroom Lamp" --on --rgb "#FF5500"
```

### Control Rooms

```bash
# Turn off entire room
openhue set room "Bedroom" --off

# Set room brightness
openhue set room "Bedroom" --on --brightness 30
```

### Scenes

```bash
# Activate scene
openhue set scene "Relax" --room "Bedroom"
openhue set scene "Concentrate" --room "Office"
```

## Quick Presets

```bash
# Bedtime (dim warm)
openhue set room "Bedroom" --on --brightness 20 --temperature 450

# Work mode (bright cool)
openhue set room "Office" --on --brightness 100 --temperature 250

# Movie mode (dim)
openhue set room "Living Room" --on --brightness 10
```

## Notes

- Bridge must be on local network
- First run requires button press on Hue bridge to pair
- Colors only work on color-capable bulbs (not white-only)

© openclaw · MIT · openclaw/openclaw

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor