Install
openclaw skills install agent-tool-scoutGive AI hands to control any Mac app. Auto-discover installed apps, generate CLI wrappers, return structured JSON. Works with Music, Finder, Chrome, Word, Fi...
openclaw skills install agent-tool-scoutYou can control any macOS application through CLAM. It auto-discovers scriptable apps on the user's Mac, generates CLI wrappers on the fly, and returns structured JSON — all without API keys or manual configuration.
If clam is not yet installed, run:
pip install clam-mac
clam --json scan
This returns a JSON array of all controllable apps with their command count, property count, and mode (full / ui / basic).
clam install music # fuzzy match: "chrome" → "google-chrome"
This auto-generates a typed CLI with dozens to hundreds of commands. Takes ~10 seconds, zero configuration.
clam-music play
clam-music set-sound-volume 50
clam-music --json get-current-track # → full JSON with 15+ fields
clam-finder --json open ~/Documents
clam-google-chrome --json get-url # → current tab URL
Every command returns JSON when called with --json. Use this for reasoning and decision-making.
clam --json doctor music
This tells you which commands are fully supported vs. which have parameter type issues. Only call commands marked as supported: true for reliable results.
clam --json scan # discover apps
clam --json info <app> # list all commands for an app
clam install <app> # install wrapper (if not already)
clam-<app> --json <command> [args] # execute
clam --json doctor <app> # reliability check
The install command auto-selects the best mode. You don't need to specify it.
osascript (built-in on all Macs)--json flag for structured output when processing results programmaticallyCLAM-generated CLIs are standard shell commands, usable as Lobster pipeline steps:
steps:
- run: clam-music set-sound-volume 20
- run: clam-music play
- run: clam-finder open ~/Projects/current