app-resizability
Use when an app's layout must adapt to a window that changes size while the app runs, or when an app must support more than one…
Control HomeKit smart home accessories and view home events via homeclaw-cli. Use when the user asks to control lights, locks, thermostats, fans, blinds, scenes, check device/sensor status, or view recent home activity/events. Examples: "turn off the stairs lights", "lock the
Claude Code
$ npx -y skills add omarshahine/HomeClaw --skill homekit --agent claude-code
Codex
$ npx skills add omarshahine/HomeClaw --skill homekit -a codex -y
Cursor
$ npx skills add omarshahine/HomeClaw --skill homekit -a cursor -y
Gemini CLI
$ npx skills add omarshahine/HomeClaw --skill homekit -a gemini-cli -y
GitHub Copilot
$ npx skills add omarshahine/HomeClaw --skill homekit -a github-copilot -y
OpenCode
$ npx skills add omarshahine/HomeClaw --skill homekit -a opencode -y
Windsurf
$ npx skills add omarshahine/HomeClaw --skill homekit -a windsurf -y
name: homekit
description: |
Control HomeKit smart home accessories and view home events via homeclaw-cli.
Use when the user asks to control lights, locks, thermostats, fans, blinds,
scenes, check device/sensor status, or view recent home activity/events.
Examples: "turn off the stairs lights", "lock the front door", "what's the temperature",
"run the movie scene", "close the blinds", "is the garage door open",
"what happened at home today", "when was the front door last unlocked"
metadata:
openclaw:
emoji: house
os: ["darwin"]
homepage: https://github.com/omarshahine/HomeClaw
requires:
bins: ["homeclaw-cli"]
install:
- kind: download
id: homeclaw
label: "Install HomeClaw.app from TestFlight or build from source"
url: https://github.com/omarshahine/HomeClaw
bins: ["homeclaw-cli"]**Before your first HomeKit action in a session, read `memory/homekit-device-map.json`.**
This compact device map has every device as a flat list with `display_name`, `id` (UUID), `room`, `type` (semantic category), `controls` (writable characteristics), and `state`. It's optimized for fast LLM scanning and disambiguation.
**Refresh the cache** periodically or when devices may have changed:
homeclaw-cli device-map --format agent -o memory/homekit-device-map.json
1. Match user's words against `display_name` and `room` from the cached map 2. **Use `type` to disambiguate** — `lighting` devices support brightness; `power` devices are on/off only. A "Closet Light" with `type: power` cannot dim. 3. If ambiguous, prefer the device in the most likely room (main living areas > bedrooms > outdoor) 4. If still ambiguous, ask 5. **Always use UUIDs for write operations** — many devices share names (9 "Overhead" lights, multiple "Blinds"). Use `display_name` for reading, `id` (UUID) for `set`, `import-scene`, and `automations create` commands 6. **Check `controls` before sending a command** — if `brightness` isn't in `controls`, don't try to set it 7. **If no match found, refresh the cache first** — devices may have been added/renamed:
homeclaw-cli device-map --format agent -o memory/homekit-device-map.json
Then retry the match. Only tell the user "device not found" if it's still missing after refresh.
# Discovery
homeclaw-cli device-map --format agent # LLM-optimized flat list (default cache format)
homeclaw-cli device-map --format json # Full detail with aliases, manufacturer
homeclaw-cli device-map --format md # Markdown tables by room
homeclaw-cli device-map --home "<home>" --format agent # Scope map to one home
homeclaw-cli search "<query>" --json # Search by name/room/category
homeclaw-cli search "<query>" --home "<home>" --json
homeclaw-cli get "<name-or-uuid>" --json # Full detail on one device
homeclaw-cli get "<name-or-uuid>" --home "<home>" --json
homeclaw-cli list --room "Kitchen" --json # All devices in a room
homeclaw-cli list --home "<home>" --room "Kitchen" --json
# Control — always use UUID for reliability
homeclaw-cli set "<uuid>" power true # On/off
homeclaw-cli set "<uuid>" power true --home "<home>" # Multi-home: pin the home
homeclaw-cli set "<uuid>" brightness 50 # Lights (0-100)
homeclaw-cli set "<uuid>" target_temperature 72 # Thermostat
homeclaw-cli set "<uuid>" target_heating_cooling auto # HVAC: off/heat/cool/auto
homeclaw-cli set "<uuid>" lock_target_state locked # Locks: locked/unlocked
homeclaw-cli set "<uuid>" target_position 100 # Blinds (0=closed, 100=open)
# Multi-gang switches — one accessory, several channels sharing a service type
homeclaw-cli set "<uuid>" power true --service-name "Pendentes" # By service name
homeclaw-cli set "<uuid>" power true --service-id "<service-uuid>" # By service UUID (names can repeat)
homeclaw-cli set "<uuid>" power true --service-index 2 # By channel number (ServiceLabelIndex)
# Scenes
homeclaw-cli scenes --json # List all scenes
homeclaw-cli scenes --home "<home>" --json
homeclaw-cli get-scene "<name>" --json # Full detail: all actions (accessory, room, characteristic, value)
homeclaw-cli trigger "<scene-name>" # Run a scene
homeclaw-cli trigger "<scene-name>" --home "<home>"
homeclaw-cli import-scene scene.json --dry-run # Preview scene import
homeclaw-cli import-scene scene.json # Create scene from JSON
echo '{"name": "...", "actions": [...]}' | homeclaw-cli import-scene - # Read JSON from stdin (works from any directory, sandbox-safe)
homeclaw-cli delete-scene "<name-or-uuid>" --dry-run # Preview deletion
homeclaw-cli delete-scene "<name-or-uuid>" # Delete a scene
# Room assignment — supports UUID for duplicate names
homeclaw-cli assign-rooms rooms.json --dry-run # Preview room assignments
homeclaw-cli assign-rooms rooms.json # Assign accessories to rooms
echo '[{"accessory": "...", "room": "..."}]' | homeclaw-cli assign-rooms - # stdin also works here
# JSON format: bare array [{"uuid": "...", "room": "..."} or {"accessory": "...", "room": "..."}]
# (or the same array wrapped as {"assignments": [...]})
# Use "uuid" when multiple accessories share the same name (e.g., ceiling fan + light)
# Management — rename, rooms, zones
homeclaw-cli rename "<name-or-uuid>" "<new-name>" # Rename accessory
homeclaw-cli rename "<name-or-uuid>" "<new-name>" --dry-run # Preview rename
homeclaw-cli rename "<name-or-uuid>" "<new-name>" --service-name "Switch 2" # Rename one gang of a multi-gang accessory (also --service-index / --service-id, or pass the service UUID)
homeclaw-cli set-display-as "<name-or-uuid>" light|fan|switch|outlet|default [--service-index N] # Home app Display As (switch/outlet services only)
homeclaw-cli groupsHomeKit smart home control via MCP — lights, locks, thermostats, and scenes for Claude Desktop, Claude Code, and OpenClaw
Use when an app's layout must adapt to a window that changes size while the app runs, or when an app must support more than one…
Design and implement App Intents, app entities, and App Shortcuts for iOS apps so useful actions and content are available to…
Use XcodeBuildMCP to build, run, launch, and debug the current iOS project on a booted simulator. Trigger when asked to run an…
Capture and interpret ETTrace profiles for iOS simulator apps, including symbolicated launch and runtime flamegraphs. Use when…
Capture, inspect, compare, and root-cause iOS memory graph leaks using Apple's leaks and memgraph tools. Use when debugging…
Analyze Swift Package Manager dependencies, package plugins, module variants, and CI-oriented build overhead that slow Xcode…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…