codeany

GitHub

CodeAny技能用于自动化控制macOS桌面应用、浏览器操作、远程SSH设备管理、定时任务调度及SaaS工具集成,支持本地与远程环境的统一指令执行。

skills/codeany/SKILL.md codeany-ai/codeany

触发场景

用户请求打开或操作macOS桌面应用 需要浏览或交互网站 管理远程设备或SSH服务器 创建定时提醒或重复任务 连接第三方SaaS工具

安装

npx skills add codeany-ai/codeany --skill codeany -g -y
更多选项

不安装直接使用

npx skills use codeany-ai/codeany@codeany

指定 Agent (Claude Code)

npx skills add codeany-ai/codeany --skill codeany -a claude-code -g -y

安装 repo 全部 skill

npx skills add codeany-ai/codeany --all -g -y

预览 repo 内 skill

npx skills add codeany-ai/codeany --list

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 (if codeany is not yet on PATH on macOS, use /Applications/CodeAny.app/Contents/MacOS/codeany).
  • Sandboxed shells: codeany talks to the local CodeAny daemon over loopback TCP and reads $CODEANY_HOME. If your shell tool runs commands inside a sandbox by default, run codeany with 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 codeany when unavailable or targeting another --device <name>.
  • macOS Computer Use (prefer steps to batch actions; omit --json for 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 auto uses the user's logged-in Chrome extension when connected, else headless Chromium; --tab defaults 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 --json to 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 browser and computer, which return inline screenshots directly in tool results).
    • Otherwise invoke codeany ... --json directly via shell.
  • Never edit ~/.codeany/ files directly: Always use codeany CLI 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

同 Skill 集合

packaging/skills/headless-codeany/SKILL.md

元信息

文件数
0
版本
00df284
Hash
0189648c
收录时间
2026-12-06 22:38

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-12-06 22:56
浙ICP备14020137号-1