Agent Tool Scout
/install agent-tool-scout
CLAM — Give AI Hands to Control Mac Apps
You 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.
Setup
If clam is not yet installed, run:
pip install clam-mac
What You Can Do
1. Discover what apps are controllable
clam --json scan
This returns a JSON array of all controllable apps with their command count, property count, and mode (full / ui / basic).
2. Install a CLI wrapper for any app
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.
3. Execute commands and read structured data
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.
4. Check command reliability before calling
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.
Command Pattern
clam --json scan # discover apps
clam --json info \x3Capp> # list all commands for an app
clam install \x3Capp> # install wrapper (if not already)
clam-\x3Capp> --json \x3Ccommand> [args] # execute
clam --json doctor \x3Capp> # reliability check
Three Modes
- Full mode: Apps with .sdef scripting definitions (Music, Finder, Chrome, Word) → dozens to hundreds of commands
- UI Scripting mode: Apps without .sdef but with accessible menus (Figma, Slack, VS Code, Spotify) → menu-click automation
- Basic mode: Fallback for all .app bundles (WeChat, DingTalk, WPS) → activate, quit, open file, get version
The install command auto-selects the best mode. You don't need to specify it.
Important Notes
- macOS only — requires
osascript(built-in on all Macs) - Some commands require Automation permission: System Settings > Privacy & Security > Automation
- UI Scripting commands require Accessibility permission: System Settings > Privacy & Security > Accessibility
- Commands execute via AppleScript with a 30-second timeout
- Always use
--jsonflag for structured output when processing results programmatically
Lobster Pipeline Example
CLAM-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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agent-tool-scout - 安装完成后,直接呼叫该 Skill 的名称或使用
/agent-tool-scout触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Agent Tool Scout 是什么?
Give AI hands to control any Mac app. Auto-discover installed apps, generate CLI wrappers, return structured JSON. Works with Music, Finder, Chrome, Word, Fi... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1828 次。
如何安装 Agent Tool Scout?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-tool-scout」即可一键安装,无需额外配置。
Agent Tool Scout 是免费的吗?
是的,Agent Tool Scout 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Agent Tool Scout 支持哪些平台?
Agent Tool Scout 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agent Tool Scout?
由 mileszhang001-boom(@mileszhang001-boom)开发并维护,当前版本 v0.1.0。