OpenParable
Skip to content
← Back to skills

smart-home

Apps & Automation

Control smart home devices including lights, doors, and TV

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/acodercat/cave-agent/blob/HEAD/examples/skills/smart-home/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/smart-home, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Smart Home Skill

Use this skill to check status and control smart home devices.

Injected Functions

  • get_status(device_id=None): Get status of a device, or all devices if no ID
  • set_light(device_id, state, brightness=100): Turn a light on/off with brightness (0-100)
  • set_door(device_id, state): Lock or unlock a door
  • set_tv(state, channel=None, volume=None): Control TV power, channel, and volume

Device IDs

  • Lights: living_room_light, bedroom_light, kitchen_light
  • Doors: front_door, garage_door
  • TV: tv