openhue

openhue is a skill for Claude Code, Codex from the-open-agent/openagent. It costs 15 tokens per session (649 once invoked), scanned A, original, Apache-2.0.

A command-line tool for controlling Philips Hue lights and lighting scenes through a Hue Bridge. It can work with individual lights, rooms, zones, and scenes.

In plain words
What is it for?
Use it to turn lights on or off, adjust brightness, color temperature, or color, and activate scenes for Hue rooms or zones.
Why use it?
It lets you manage Hue lighting from commands instead of opening the Hue app or manually changing each light.

Skill for Claude CodeCodex

About the project

OpenAgent is a self-hostable personal AI assistant that combines language models, document-based retrieval, and autonomous agent loops. It lets people connect model providers and their own knowledge bases, then have agents browse the web, run code, use computers, and call MCP-compatible tools.

the-open-agent/openagent · 5,602 stars · on GitHub · openagentai.org

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/the-open-agent/openagent/openhue
Any agent
npx skills add the-open-agent/openagent --skill openhue
Clone the repo
git clone --depth 1 https://github.com/the-open-agent/openagent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openhue

README.md
[![agentmods](https://agentmods.dev/badge/skills/the-open-agent/openagent/openhue.svg)](https://agentmods.dev/skills/the-open-agent/openagent/openhue)
Your own site
<a href="https://agentmods.dev/skills/the-open-agent/openagent/openhue"><img src="https://agentmods.dev/badge/skills/the-open-agent/openagent/openhue.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 649 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00649
Opus 5 $0.00008 $0.00324
Sonnet 5 $0.00003 $0.00130
Haiku 4.5 $0.00002 $0.00065

Measured 6d ago against content hash dae9ba55a656, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

openhue scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

  • openhue — 100% identical, 0 lines differ
  • openhue — 100% identical, 0 lines differ
  • openhue — 100% identical, 0 lines differ
  • openhue — 100% identical, 0 lines differ
  • openhue — 100% identical, 0 lines differ
  • openhue — 100% identical, 0 lines differ
  • openhue — 100% identical, 2 lines differ
  • openhue — 98% identical, 2 lines differ
skills/openhue/SKILL.md · 113 lines

What it actually says

OpenHue CLI

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

When to Use

USE this skill 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

DON'T use this skill when:

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

Common Commands

List Resources

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

Control Lights

# 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

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

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

Scenes

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

Quick Presets

# 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)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 113 lines · 15 tokens per session scan A dae9ba55a656

Subscribe to this mod's changes

openhue is a skill published in the GitHub repository the-open-agent/openagent (5,602 stars, last pushed 2d ago), licensed Apache-2.0. It adds 15 tokens to every session and 649 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.