agentleFS
claude-worldclaude-world/claude-agent/.claude/skills/hue-lights/SKILL.md

hue-lights

Skill5 starsChanged 8 months agoMITView on GitHub

Control Philips Hue smart lights via CLI. Turn lights on/off, adjust brightness and color, activate scenes, control rooms and zones. Use when user says "turn off bedroom lights", "set lights to warm", "activate movie scene", "dim the office", or any Philips Hue light control request.

  • Installs packages

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check if CLI is installed first: which openhue

    line 111
  2. Distinctive:

    If not installed, show brew install command and stop

    line 112
  3. Very specific:

    If setup not done (no config), instruct user to run openhue setup first

    line 113
  4. Distinctive:

    If a command fails, check if the Bridge IP is still reachable on the local network

    line 116
  5. Distinctive:

    Keep responses concise: list changes made, not raw API output

    line 117

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Hue Lights Control

Control Philips Hue lights via the local network API.

Prerequisites

Install openhue:

brew install openhue/tap/openhue-cli
# Docs: https://www.openhue.io/

First-time setup — register with your Hue Bridge:

openhue setup
# Press the physical button on your Hue Bridge when prompted
# Credentials saved to ~/.config/openhue/

The Hue Bridge must be on your local network. No cloud account needed after initial setup.

Commands

Discovery

openhue get lights              # List all lights (id, name, state)
openhue get rooms               # List all rooms
openhue get zones               # List all zones
openhue get scenes              # List all scenes

Light Control

openhue set light "Name" --on            # Turn on
openhue set light "Name" --off           # Turn off
openhue set light "Name" --brightness 80 # 1-100
openhue set light "Name" --color-temp 4000 # Kelvin (2000-6500)
openhue set light "Name" --hue 120 --sat 100  # Color (hue 0-360, sat 0-100)

Room / Group Control

openhue set room "Living Room" --on
openhue set room "Bedroom" --off
openhue set room "Office" --brightness 50

Scenes

openhue set scene "Relax"       # Activate scene by name
openhue set scene "Movie"
openhue set scene "Energize"

Usage Examples

"Turn off bedroom lights"

openhue set room "Bedroom" --off

"Set living room to warm and dim (30%)"

openhue set room "Living Room" --on --brightness 30 --color-temp 2700

"Activate movie scene"

openhue set scene "Movie"

"List all available scenes"

openhue get scenes

"Bright white in office"

openhue set room "Office" --on --brightness 100 --color-temp 6500

Common Color Temperatures

ModeKelvin
Candle / Very warm2000
Warm white2700
Neutral white4000
Cool white / Daylight6500

Rules

  • Check if CLI is installed first: which openhue
  • If not installed, show brew install command and stop
  • If setup not done (no config), instruct user to run openhue setup first
  • Room and light names are case-sensitive — use openhue get rooms to confirm exact names
  • Brightness is 1-100 (not 0-255)
  • If a command fails, check if the Bridge IP is still reachable on the local network
  • Keep responses concise: list changes made, not raw API output

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.