Skip to main content
skill CX Codex

c-lights — Claude Code skill: Philips Hue control

This skill lets the agent drive Philips Hue bulbs through the openhue CLI — power, brightness, color, scenes and rooms.

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

What c-lights does

The skill hands Claude a set of openhue commands for Philips Hue hardware. The agent lists bulbs and rooms, flips lights on or off, sets brightness from 0 to 100, picks a color by name or hex value, shifts color temperature in mirek, and fires scenes.

Room-level calls cover a whole group at once: openhue set room "Living Room" --on --brightness 80 powers the space and dims it in one go. Unsure of a name? The skill tells the agent to run openhue get lights or openhue get rooms first.

openhue itself has to be set up before any of this works — your Hue Bridge IP and an API key go into its config. The bridge also has to sit on the same local network as the machine running the agent, otherwise the commands go nowhere. Color temperature is expressed in mirek, roughly 153 at the cool end and 500 at the warm end.

What it helps with

  • switch a named bulb on or off
  • dim an entire room with one call
  • set a light color from a hex value
  • browse the scenes available on the bridge
  • activate a scene inside one room

Example prompts for the agent

  • Turn on the "Desk Lamp"
  • Set "Living Room" to brightness 80 and color #FF6600
  • Which scenes can I run in the "Kitchen"?

How to install c-lights

1Skills CLI (Vercel)

npx skills add daxaur/openpaw --skill c-lights -a claude-code

2Manually: put the files in place

~/.claude/skills/c-lights/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/c-lights/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about c-lights

How do I install c-lights in Claude Code?

Run npx skills add daxaur/openpaw --skill c-lights -a claude-code. The skill file lands at ~/.claude/skills/c-lights/SKILL.md.

What does c-lights do?

It controls Philips Hue lighting through the openhue CLI: toggling bulbs, adjusting brightness and color, running scenes, and addressing rooms or groups.

What does c-lights need to work?

A configured openhue with your Hue Bridge IP and API key. The bridge must be reachable on the same local network.

Source text

SKILL.md · MIT
---
name: c-lights
description: Control Philips Hue smart lights using the `openhue` CLI. Turn lights on/off, adjust brightness and color, activate scenes, and manage rooms and groups.
tags: [hue, lights, smart-home, openhue, philips, automation]
---

## What This Skill Does

Enables Claude to control Philips Hue smart lighting — individual bulbs, rooms, and scenes — using the `openhue` CLI.

## Available CLI Tool: `openhue`

### Common Commands

```bash
# List all lights
openhue get lights

# List all rooms/groups
openhue get rooms

# Turn a light on or off
openhue set light "Desk Lamp" --on
openhue set light "Desk Lamp" --off

# Set brightness (0-100)
openhue set light "Bedroom" --brightness 75

# Set color by name or hex
openhue set light "Living Room" --color red
openhue set light "Living Room" --color "#FF6600"

# Set color temperature (warm to cool, in mirek)
openhue set light "Kitchen" --color-temp 370

# Control an entire room
openhue set room "Living Room" --on --brightness 80

# List available scenes
openhue get scenes

# Activate a scene
openhue set scene "Relax" --room "Living Room"
```

## Usage Guidelines

- Use room-level commands when the user refers to a space, not a specific bulb
- Brightness is 0–100; color-temp ranges roughly 153 (cool) to 500 (warm)
- List lights/rooms first if unsure of exact names

## Notes

- Requires `openhue` configured with your Hue Bridge IP and API key
- Bridge must be on the same local network

© daxaur · MIT · daxaur/openpaw

Similar skills

All skills for Automation and no-code: n8n, Zapier, Make →

From the same set14

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