Agent Skills
› codeany-ai/codeany
› codeany
codeany
GitHubCodeAny技能用于自动化控制macOS桌面应用、浏览器操作、远程SSH设备管理、定时任务调度及SaaS工具集成,支持本地与远程环境的统一指令执行。
触发场景
用户请求打开或操作macOS桌面应用
需要浏览或交互网站
管理远程设备或SSH服务器
创建定时提醒或重复任务
连接第三方SaaS工具
安装
npx skills add codeany-ai/codeany --skill codeany -g -y
SKILL.md
Frontmatter
{
"name": "codeany",
"description": "Control macOS desktop apps (Computer Use), automate Chrome or headless browsers (Browser Use), schedule reminders\/recurring tasks, connect third-party SaaS tools, manage persistent terminals, access files, and run coding agents across local and connected remote\/SSH devices via `codeany` CLI or `codeany mcp`. Use whenever the user asks to open or operate a macOS desktop app (e.g. music player, Finder, messaging, IDE), browse or interact with websites, manage remote devices\/SSH servers, schedule recurring jobs, or operate CodeAny workspaces, threads, bots, or group chats."
}
CodeAny Skill
CodeAny runs a unified headless engine (codeany serve / codeany-core) on every local computer and connected remote server. Both codeany CLI and codeany mcp expose the exact same capabilities.
Quick Start: Computer Use & Browser Use
- Executable: Run
codeany ...directly (ifcodeanyis not yet onPATHon macOS, use/Applications/CodeAny.app/Contents/MacOS/codeany). - Sandboxed shells:
codeanytalks to the local CodeAny daemon over loopback TCP and reads$CODEANY_HOME. If your shell tool runs commands inside a sandbox by default, runcodeanywith sandbox bypass on the first attempt instead of failing and retrying. - Codex note: If you are Codex with native bundled browser/computer-use tools available on this machine, prefer those first and use
codeanywhen unavailable or targeting another--device <name>. - macOS Computer Use (prefer
stepsto batch actions; omit--jsonfor compact UI trees; target windows are brought to the foreground automatically):codeany computer open --app "<AppName>" codeany computer state --app "<AppName>" codeany computer click --app "<AppName>" --element <n> codeany computer type --app "<AppName>" --text "<text>" [--element <n>] [--submit] codeany computer steps --app "<AppName>" --steps '[{"action":"open","app":"<AppName>"},{"action":"key","key":"cmd+f"},{"action":"type","text":"...","submit":true}]' - Browser Use (
--mode autouses the user's logged-in Chrome extension when connected, else headless Chromium;--tabdefaults to the active tab):codeany browser open <url> codeany browser read codeany browser snapshot codeany browser steps --steps '[{"action":"open","url":"https://..."},{"action":"wait","ms":1500},{"action":"read"}]'
When to Use codeany
Use codeany whenever the user asks to:
- Devices & SSH: list connected devices, add/test SSH servers, pair devices, send/fetch files between devices, or run work on another device (
--device <name>). - Projects & Threads: list/create/rename workspaces, add/remove projects, start/inspect/message/watch/stop/configure/delete coding-agent threads (locally or on another device), or answer pending permission approvals.
- Bots & Group Chats: list/create/edit/delete bots, inspect/update bot memory, privately ask a peer bot/agent (
ask), or manage and message group chats (groups). - Scheduled Tasks: create/list/update/delete/run reminders or recurring jobs (never use system cron).
- Third-Party Connectors: authorize and call external SaaS tools managed by Connany (
connectors). - Persistent Terminals: inspect, create, split, send input to, and read output from managed terminal panes (
term). - Local & Remote Files: read, list, stat, search, write, edit, mkdir, or remove files on this or another connected device (
fs). - Browser Use & Computer Use: inspect or operate the user's real browser (via CodeAny extension) or headless Chromium (
browser), or operate macOS desktop apps (computer).
Global Conventions
- Machine-readable output: Pass
--jsonto any CLI command when parsing output programmatically. - Cross-device targeting: Almost every command accepts
--device <name>to execute on another connected device instead of the current machine. - MCP vs CLI:
- Prefer CodeAny MCP tools when attached (especially for
browserandcomputer, which return inline screenshots directly in tool results). - Otherwise invoke
codeany ... --jsondirectly via shell.
- Prefer CodeAny MCP tools when attached (especially for
- Never edit
~/.codeany/files directly: Always usecodeanyCLI or MCP so state stays synchronized across the background service, desktop UI, and paired devices.
Detailed References
Read a specific reference on demand via codeany skills show <topic>:
| Topic | Covers |
|---|---|
devices-ssh |
status, doctor, devices, device, ssh, pair, invite, send, fetch |
threads-projects |
workspaces, workspace, project, threads, run, say, show, watch, stop, approve, thread configure/delete, agents, usage |
bots-groups |
peers, ask, bots, groups |
tasks-connectors |
tasks, connectors (including OAuth Connect flow) |
terminal-fs |
term (persistent terminal panes) and fs (local & cross-device file operations) |
browser-computer |
browser (user Chrome extension & headless fallback) and computer (macOS desktop automation & approvals) |
版本历史
- 00df284 当前 2026-12-06 22:38


