ao-rules
Что он делает
Скилл содержит общие правила для всех скиллов AO, например то, какой компьютер владеет сессией и когда нужно ваше согласие. Он нужен тем, кто использует Agent Orchestrator из чата.
Когда использовать
- ✓Когда другому скиллу AO нужно подключиться к вашим компьютерам с AO.
- ✓Когда вы хотите знать, на каком компьютере работает данная сессия AO.
- ✓Когда агенту нужно проверить, требуется ли для действия ваше разрешение.
Ссылка на скилл
https://github.com/OrchestratorInc/agent-orchestrator/blob/main/integrations/grok-bot/skills/ao-rules/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Я хочу узнать, на каком из моих компьютеров работает сессия AO под названием checkout-fix.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент сначала читает общие правила, а затем использует ваш сохранённый список компьютеров с AO, чтобы безопасно подключиться к каждому. Изменения ждут вашего согласия.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
AO rules
Every ao-* skill follows these rules. Other skills link here instead of repeating them.
AO hosts
An AO host is one computer that runs the AO daemon. Each host has its own projects, sessions and orchestrators, and AO never links them: a repo cloned on two hosts is two separate projects. AO names a project after its folder, so both can still get the same id, and then the same session id (for example agent-orchestrator-1-12) can exist on both. Always name a session as <host>/<session id>, and act only on the host that owns it.
Memory keeps one note named AO hosts, with one line per host:
| Field | Example | Meaning |
|---|---|---|
name |
Pro |
A short name: the user's pick, else the model word of the ListMachines label (Pro, Air, mini). Never the network hostname such as MacBookAir.lan |
reach |
local or remote |
How you get to its AO |
via |
laptop |
The ListMachines label of the computer whose shell you use |
base |
http://192.168.1.20:7444 |
Remote only. The host's LAN address from AO's remote access settings |
header |
~/.ao-grok/studio.header |
Remote only. File on via that holds the host's password |
- local: the Grok Bot desktop app runs on the AO host.
viais the host itself. - remote: the Grok Bot desktop app runs on another computer. You call the host's AO API over the network from
via. TheaoCLI onviatalks only tovia's own AO, so never use it for a remote host.
One computer can be via for itself (local) and for other hosts (remote) at the same time.
Every run: call ListMachines, then use every host whose via computer is connected, in parallel, labelled by host name. Say once which hosts you could not reach. Never hard-code machine ids or home paths.
Calling AO
Start every shell command that calls AO with this helper. It works in zsh and bash:
aoapi(){ # aoapi METHOD PATH [JSON]
local base hdr=() data=() f="${AO_RUN_FILE:-$HOME/.ao/running.json}"
if [ -n "$AO_REMOTE_BASE" ]; then base="$AO_REMOTE_BASE"; hdr=(-H @"$AO_REMOTE_HEADER")
else [ -f "$f" ] || { echo "AO_NOT_RUNNING" >&2; return 3; }
base="http://127.0.0.1:$(grep -o '"port": *[0-9]*' "$f" | grep -o '[0-9]*$')"; fi
[ -n "$3" ] && data=(--data "$3")
curl -sS --fail-with-body --max-time 30 -X "$1" "${hdr[@]}" -H 'Content-Type: application/json' "${data[@]}" "$base/api/v1/$2"
}
- Local host: use
aoapias is. - Remote host: on the
viacomputer, first setAO_REMOTE_BASE='<base>' AO_REMOTE_HEADER="$HOME/.ao-grok/<name>.header". - Build JSON bodies with
python3 -c 'import json,sys; print(json.dumps(...))' "$ARG", never by pasting text into quotes. - Anything longer than one line goes in a file first:
~/.ao-grok/out/<date>-<short name>.mdonvia. The user can see what was sent. - Use the
aoCLI only where a skill says "local only".
Errors
| You see | Meaning and next step |
|---|---|
AO_NOT_RUNNING, or connection refused on a local host |
AO is not running there. Ask the user to open AO |
| Connection refused or timeout on a remote host | The host is asleep, off this network, or remote access is off. Ask the user to check AO's remote access settings on the host |
| HTTP 401 or 403 on a remote host | The host's password changed. Run ao-setup "Remote host" again |
| HTTP 404 on a session path | No such session on that host. Check the host name |
| Any other error | AO returns JSON with message. Relay it in plain words |
Who does what: orchestrator first
Each project on a host has at most one live orchestrator: an agent that plans the project's work, starts and steers workers, and gets their reports. It has more context than you do. You are the user's phone line to it.
- Send to the orchestrator (ao-orchestrator): starting or changing work, "catch me up", "why", "what next", plans, and anything that needs judgement about the code.
- Do directly: status lists (ao-status), answering a pending request with the user's own pick (ao-answer), stop and interrupt, merges after the user's yes, files and screenshots (ao-actions).
- Never start a worker yourself in a project that has a live orchestrator. Ask the orchestrator instead. With no orchestrator, ask the user whether to start one or to start the worker directly.
- After you act directly on a worker (answer, stop, merge), the orchestrator sees it through AO. Don't send it a separate note.
Decisions
A worker asks for two kinds of decision. A **
Частые вопросы
Нужно ли мне самому читать этот скилл?
Нет. Агент читает его в фоновом режиме, когда вы используете другие скиллы AO.
Зачем хранить список компьютеров?
Проект может существовать на двух компьютерах, поэтому список привязывает каждую сессию к правильному компьютеру.
Хранит ли он мои пароли?
Он только указывает на файл на вашем компьютере, в котором лежит пароль хоста, и не показывает сам пароль.
Подробности
Оригинальное описание автора
Shared rules and the connection helper for every ao-* skill (run Orchestrator from chat). Read before running any ao-* skill.
Популярность
- Звёзды на GitHub
- 14k
- Место в рейтинге
- #11263
- Лицензия
- Apache-2.0
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
using-ao
14kДаёт агенту справочник по командной строке AO для запуска воркеров, управления сессиями и создания повторно используемых задач.
ao-actions
14kПозволяет агенту выполнять действия над одной сессией AO или одним пул-реквестом: остановить, возобновить, слить PR или отправить его файлы.
ao-answer
14kПозволяет агенту находить сессии AO, которые ждут вашего решения, показывать варианты выбора и отправлять ваш ответ обратно в эту сессию.
ao-orchestrator
14kПомогает агенту отправить ваш запрос оркестратору AO проекта, дождаться ответа и вернуть ответ вам.
Похожие скиллы
add-model-provider
394kПомогает агенту подключить нового провайдера ИИ-моделей к OpenClaw безопасными командами, хранить ключи API не в открытом виде и провести живой тест.
acp-router
394kПомогает агенту передать задачу инструменту для программирования, например Claude Code или Cursor, через OpenClaw, чтобы работа шла в этом инструменте.
browser-automation
394kУчит агента пошагово управлять веб-страницами: входить в аккаунты, работать с вкладками и восстанавливаться, если страница перестала отвечать.