apple-home
Skill0 starsChanged 10 days agoMITView on GitHub
Read and control Apple Home via Home.app: rooms, accessory state, scenes, on/off toggles. Use for home devices. Not for Mac settings (macos-settings).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- trac3r00/agent-skillsword for word, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 1
- trac3r00/agent-skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository84 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- 3d-designSkill
- anti-bsSkill
- api-testerSkill
- apple-suiteSkill
- apple-tvSkill
- apps-handoffSkill
- appshotSkill
- astra-initSkill
- browser-asideSkill
- changelog-genSkill
- ci-test-rebuildSkill
- claim-auditSkill
- claude-designSkill
- cleanup-worktreesSkill
- code-reviewSkill
- comment-checkerSkill
- context-budgetSkill
- create-skillsSkill
- cron-auditSkill
- cyber-bypassSkill
- dftSkill
- diff-reviewSkill
- discord-messengerSkill
- doc-readerSkill
- env-gateSkill
- ext-scaffoldSkill
- fddSkill
- finderSkill
- finish-prSkill
- game-filmSkill
- gate-graphSkill
- graph-toolsSkill
- herdrSkill
- image-genSkill
- init-readmeSkill
- init-rulesSkill
- iphone-mirroringSkill
- json-diffSkill
- kakao-messengerSkill
- karpathy-promptSkill
- loeSkill
- log-analyzerSkill
- macos-settingsSkill
- max-buildSkill
- mofficeSkill
- net-probeSkill
- notionSkill
- obsidian-vaultSkill
- omo-runnerSkill
- open-loopsSkill
- optimize-omo-configSkill
- phone-facetimeSkill
- portfolio-auditSkill
- preflightSkill
- project-sessionsSkill
- prompt-builderSkill
- pro-reviewSkill
- proxmox-veSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 46
Read with --json status or list --room.
- Very specific: line 47
Run toggle or run-scene only when the user named that accessory or scene.
- Distinctive: line 66
Only the selected home is read.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
Apple Home
Home.app has no AppleScript dictionary and HomeKit is closed to unsigned tools,
so scripts/apple_home.py drives Home.app's UI through the Accessibility API
(stdlib ctypes via scripts/macax.py, no pyobjc). It reads the same names and
states the tiles show and presses tiles like a person. It launches Home.app in
the background when needed. Run commands from this skill's directory.
Commands
python3 scripts/apple_home.py --json status # home name, summary chips, rooms, categories
python3 scripts/apple_home.py rooms
python3 scripts/apple_home.py --json list # every accessory in every room with state
python3 scripts/apple_home.py list --room "Living Room"
python3 scripts/apple_home.py list --category Lights # Climate | Lights | Speakers & TVs | Security | Energy
python3 scripts/apple_home.py scenes [--room "Kitchen"]
python3 scripts/apple_home.py run-scene "Good Night" --room "Bedroom"
python3 scripts/apple_home.py --json toggle "Floor Lamp" --room "Living Room" [--timeout 6]
python3 scripts/apple_home.py toggle "Front Door" --room "Front Foyer" --allow-security
python3 scripts/apple_home.py open [--room "Kitchen" | --category Lights] # bring Home.app forward on a view
python3 scripts/apple_home.py screenshot --out /tmp/home.png [--room "Kitchen" | --category Lights]--jsonworks before or after the subcommand.- Names match case-insensitively, ignore extra spaces, and treat the curly
apostrophe (U+2019) like
', so"joshua's bedroom"findsJoshua’s Bedroom. listandscenesvisit each room in turn (about 1s per room), then return Home.app to the Home tab.list --stayleaves it on the last view.- States are Home.app's own wording:
On,Off,100%,Locked,No Response 2h,Updating...,Paused,77°.
Procedure
- Read with
--json statusorlist --room. Answer state questions from that output only. - Run
toggleorrun-sceneonly when the user named that accessory or scene. Take the name and room from the user. - Done when
togglereturnsbeforeandafter(report both), orrun-scenereturnstriggered: true.run-sceneonly confirms Home.app accepted the press; there is no per-scene completion state. - On exit
1, show the error and anyoptionslist of valid names, then stop. Do not retry with guessed names.
Boundaries
toggleandrun-scenechange physical devices. Never run them without an explicit request.- Security gate: an accessory whose state is locked/unlocked/open/closed (or
locking, jammed, stopped, ...) or whose name contains lock, door, garage, gate,
security, alarm or window is refused with exit
2unless--allow-securityis passed. Pass it only when the user explicitly asked to lock, unlock or open that accessory. toggleonly flips on/off accessories (lights, switches, outlets, fans; dimmers flip between off and their last level). Other states (thermostats, media, blinds, brightness levels) exit1. For those, runopen --roomand let the user act in Home.app, unless they asked for that UI step by name.- Accessories in
No Responseare refused; nothing is sent. - Two accessories or scenes with the same name in one room are refused; ask the user to rename one.
toggleexits1if the tile state does not change within--timeoutseconds (default 6).- Only the selected home is read. If the user has several homes, they switch in Home.app's toolbar first.
- For clicks, typing, or window control this helper does not cover, use the
opencuaskill (OpenCUA, formerly apple-cua; CLIopencua). Never write an ad-hoc input script or use OmO's native computer-use. - For Home automations the user built as Shortcuts, use
apple-suite shortcuts run.
Setup and exit codes
- macOS only. The process running the script (Terminal, iTerm, or the OmO host
app) needs Accessibility permission (System Settings > Privacy & Security >
Accessibility).
screenshotalso needs Screen Recording. A missing Accessibility grant exits2with that instruction. 0success.1app-level failure: unknown room/accessory/scene (validoptionslisted), duplicate name, not an on/off accessory, no state change, or no response.2usage error, missing permission, non-macOS, or a gated security action.
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
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.

