agentleFS
autonomous-aiautonomous-ai/Physical-AI-Operating-System/skills/scene/SKILL.md

scene

Skill552 starsChanged 8 months agoApache-2.0View on GitHub

Activate predefined lighting scene presets (reading, focus, relax, movie, night, energize) when the user asks for activity-based or environment lighting. Scenes control both color temperature AND brightness. Do NOT use for specific colors (use LED Control) or emotion expression (use Emotion).

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the API returns an error or is unreachable, inform the user: "I couldn't change the lighting scene right now.

    line 61
  2. Distinctive:

    If the user requests a scene that does not exist, suggest the closest available scene from the table above.

    line 62
  3. Distinctive:

    After activating a scene, you can ALSO call Emotion to show your personality — emotion is a brief reaction, scene is the persistent ambient …

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Lighting Scenes

Quick Start

Activate predefined lighting presets that set optimal color temperature and brightness for specific activities. Use this for ALL activity-based or environment lighting requests.

Workflow

  1. Determine which scene matches the user's request or activity
  2. Prefix reply with [HW:/scene:{"scene":"name"}] — the device fires it before TTS
  3. Confirm the scene activation to the user
  4. Optionally chain emotion: [HW:/scene:{"scene":"night"}][HW:/emotion:{"emotion":"sleepy","intensity":0.7}]

Examples

Input: "Reading mode" Output: [HW:/scene:{"scene":"reading"}] Reading mode activated — 80% brightness, neutral white.

Input: "Goodnight" / "good night" / "time to sleep" Output: [HW:/scene:{"scene":"night"}][HW:/emotion:{"emotion":"sleepy","intensity":0.7}] Night mode on. Sweet dreams!

Input: "I want to relax" / "let me chill" Output: [HW:/scene:{"scene":"relax"}] Relax mode — warm, gentle light at 40%.

Input: "Movie time" / "watching a movie" Output: [HW:/scene:{"scene":"movie"}] Movie mode — dim amber bias lighting.

Input: "I need to focus" Output: [HW:/scene:{"scene":"focus"}] Focus mode — full brightness, cool white.

Input: "Make it purple" Output: Do NOT use this skill. Use LED Control skill instead.

Input: Conversational reply needing emotion Output: Do NOT use this skill for emotion. Use Emotion skill instead (you CAN use both Scene + Emotion together).

How to Activate a Scene

No exec/curl needed. Inline marker at start of reply:

[HW:/scene:{"scene":"reading"}] Reading mode activated.
[HW:/scene:{"scene":"night"}][HW:/emotion:{"emotion":"sleepy","intensity":0.7}] Night mode on. Sweet dreams!

Available scenes

SceneBrightnessColor TempBest for
reading80%~4000K neutral whiteReading, studying, desk work
focus100%~5000K cool whiteDeep work, coding, no distractions
relax40%~2700K warmWinding down, casual chat
movie15%~2700K dim amberWatching videos, bias lighting
night5%~2200K very warmSleep-friendly, minimal light
energize100%~6500K daylightMorning wake-up, need energy

Error Handling

  • If the API returns an error or is unreachable, inform the user: "I couldn't change the lighting scene right now. The hardware service may be unavailable."
  • If the user requests a scene that does not exist, suggest the closest available scene from the table above.

Rules

  • Scene = brightness + color. This is why you must use Scene instead of direct LED for ambiance. LED /led/solid is always 100% brightness — useless for sleep/relax.
  • "sleepy", "goodnight", "time to sleep", "going to bed" -> ALWAYS use night (5% brightness, ultra-dim).
  • "relax", "chill", "unwind" -> use relax (40%).
  • "watch a movie", "movie" -> use movie (15%).
  • After activating a scene, you can ALSO call Emotion to show your personality — emotion is a brief reaction, scene is the persistent ambient light.
  • You can switch scenes smoothly — just call the endpoint, the LED update is immediate.
  • Scene off: [HW:/scene/off:{}] deactivates the current scene and returns to idle state (restores camera, speaker, servo, idle LED). Use when:
    • User says "normal mode" / "turn off scene" / "back to normal"
    • Current scene doesn't match the time of day — switch to appropriate scene OR turn off
    • "Turn off the light" → use LED Control skill (/led/off), not Scene
  • For custom lighting beyond these presets, use the LED Control skill directly with specific RGB values.
  • Do NOT use for specific color requests -> use LED Control skill.
  • Do NOT use for expressing emotion -> use Emotion skill.

Output Template

[HW:/scene:{"scene":"reading"}] Reading mode activated.

Examples:

  • [HW:/scene:{"scene":"reading"}] Reading mode activated.
  • [HW:/scene:{"scene":"night"}] Night mode on.
  • [HW:/scene:{"scene":"energize"}] Energize mode on.

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.

Reviews can't be read right now.

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.