ao-setup
它能做什么
这项技能检查你的电脑是否安装了 Agent Orchestrator,并保存找到的每一台。它也会帮你在尚未安装 AO 的电脑上安装并做好准备。
适用场景
- ✓当你第一次使用 Orchestrator Bot 的时候。
- ✓当你的智能体还没有保存 AO 电脑列表的时候。
- ✓当你想添加一台没有桌面应用的远程 AO 电脑的时候。
技能链接
https://github.com/OrchestratorInc/agent-orchestrator/blob/main/integrations/grok-bot/skills/ao-setup/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想在我的电脑上设置 Agent Orchestrator,并找出已经在运行它的电脑。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会以只读模式检查每台已连接的桌面,并报告其发现。在你同意之前,不会保存或安装任何内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Follow the ao-rules skill. Detection is read-only. Nothing is written until the user says yes.
Open with one line: "Give me a few seconds to look for AO on your computers."
1. Detect
- ListMachines. Use desktops only. If none is connected, say: "Install the Grok Bot desktop app on the computer where you run Orchestrator.inc (or want to), sign in, and tell me when it shows up," then stop.
- On each connected desktop, in parallel, run this read-only probe with the
aoapihelper from ao-rules: run "Probe" below. - Each desktop where the probe prints a
projects=line is a local AO host; an empty list means it still needs "First run". For any other result, see "Missing pieces". On a Windows desktop, don't run the probe: say once "These skills need macOS or Linux; Windows isn't supported yet," and skip it.
Probe
f(){ <aoapi helper>; echo "ao=$(command -v ao >/dev/null && ao version 2>/dev/null | head -1 || echo missing)"
if [ "$(uname -s)" = Darwin ] && [ "$(command -v python3)" = /usr/bin/python3 ] && ! xcode-select -p >/dev/null 2>&1; then echo "python=missing"
else echo "python=$(command -v python3 >/dev/null && python3 -c 'import sys;print("%d.%d"%sys.version_info[:2])' || echo missing)"; fi
[ "$(uname -s)" = Darwin ] && A=$(find /Applications "$HOME/Applications" -maxdepth 1 -name '*Orchestrator*.app' 2>/dev/null | head -1) && echo "app=${A:-missing}"
if P=$(aoapi GET projects 2>/dev/null); then
echo "$P" | python3 -c 'import json,sys; d=json.load(sys.stdin); p=d.get("projects",d) if isinstance(d,dict) else d; print("projects=" + ", ".join(x.get("id","?") for x in p))'
aoapi GET 'sessions?active=true' | python3 -c 'import json,sys; print("live_sessions=%d" % len(json.load(sys.stdin)["sessions"]))'
else echo "daemon=not running"; fi; }; f
Missing pieces
Use the probe result for each computer. Install or open anything only after the user's yes.
| Probe shows | Next step |
|---|---|
python=missing |
Fix this first: every step needs it. macOS: xcode-select --install (the user confirms the system dialog). Linux: give the package manager line for python3 |
daemon=not running and app=missing (macOS) |
Say: "Orchestrator.inc isn't installed on <computer>. Want me to install it? It's about a 300 MB download." On yes, run "Install on a Mac" |
daemon=not running and app=<path> |
On yes, open it with open "<path>", then "Wait for the app" |
daemon=not running on Linux |
If Orchestrator.inc is installed, ask the user to open it and say check again. Otherwise give the download for the user's distribution: AppImage, .deb or .rpm. The user installs and opens it, then says check again |
projects= with nothing after it |
Run "First run" |
ao=missing with projects listed |
Everything works except starting a review, screenshots and automations, which use the ao CLI. Say so once |
check again runs the probe on that computer again and goes on from its result.
Wait for the app: run the probe every 15 seconds, for up to 2 minutes, until it prints a projects= line. Still daemon=not running after that: ask the user to look at the Orchestrator.inc window and say check again when it's open.
Install on a Mac
After a yes, on that computer. The download takes a few minutes, so the install runs in the background, in its own session so it keeps going after this command returns, and writes its progress to ~/.ao-grok/install.log. It picks the build for the Mac's chip, checks the app's code signature (Orchestrator.inc's Developer ID team X9LNSP8MC2), copies it to Applications (or ~/Applications if that isn't writable) and opens it:
f(){ mkdir -p ~/.ao-grok && cat > ~/.ao-grok/install-orchestrator.sh <<'EOF'
a=$([ "$(sysctl -n hw.optional.arm64 2>/dev/null)" = 1 ] && echo arm64 || echo x64); d=$(mktemp -d)
echo "downloading the $a build"
curl -fsSL -o "$d/o.dmg" "https://github.com/OrchestratorInc/agent-orchestrator/releases/latest/download/agent-orchestrator-darwin-$a.dmg" || { echo DOWNLOAD_FAILED; rm -rf "$d"; exit 1; }
m=$(hdiutil attach -nobrowse -readonly "$d/o.dmg" | awk -F'\t
常见问题
检查会更改我电脑上的任何内容吗?
不会。检测步骤是只读的,在你同意之前不会写入任何内容。
它能在 Windows 上运行吗?
这项技能说明这些 AO 技能需要 macOS 或 Linux,因此目前会跳过 Windows。
什么是第一个编排器?
它是管理某个项目的智能体,设置时可以用你的第一个请求启动它。
详情
作者的原始描述
First run of Orchestrator Bot: find every computer that runs AO, save them as AO hosts, add a remote AO host that has no Grok Bot desktop app, and turn on optional routines. On a computer without Orchestrator.inc it helps install it and get it ready: a coding agent, a first project and the first orchestrator. Use on the first chat, when memory has no "AO hosts" note, or when the user says "set up AO", "add a host", "add remote host", "check my AO setup" or "install Orchestrator".
热度
- GitHub 星标
- 14k
- 排名
- #11264
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …