本文へ移動
cccskills
無料GitHub で公開日本語紹介

ao-rules

AOを使う各スキルに共通する接続方法やホストの扱い、判断・承認、書き込み、秘密情報のルールを確認できます。

原文原文の説明を見る

Shared rules and the connection helper for every ao-* skill (run Orchestrator from chat). Read before running any ao-* skill.

OrchestratorInc/agent-orchestratorスター 13,873(GitHub 13,873 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • AOスキルを使う前に共通ルールを確認したいとき
  • 複数ホストのセッションを区別したいとき
  • リモートホストへの接続方法を確認したいとき
  • 承認や秘密情報の扱いを確認したいとき

日本語での紹介

できること

AOを操作する他の ao-* スキルが共通して参照するルールをまとめています。AOが動くコンピューターをホストとして区別し、セッションをホスト名と組み合わせて扱う方法や、ローカル・リモートそれぞれの接続手順を確認できます。また、作業の依頼や計画はオーケストレーターに伝え、状態確認やユーザーの選択の反映などは直接行う、といった役割分担も説明します。承認の種類とリスク判断、ファイル変更の扱い、認証情報やエージェントへのメッセージの注意点も含まれます。

こんなときに便利

AOを使うスキルを初めて実行するときや、複数のコンピューターにAOがある環境で対象を取り違えずに操作したいときに役立ちます。ユーザーへの確認が必要な場面や、秘密情報を扱う際の共通ルールを把握したい場合にも参照できます。

使い方の例

  • 「AOスキルを使う前に、ホストの指定方法を確認して」
  • 「リモートホストへの接続ルールを確認して」
  • 「この操作でユーザー承認が必要か、共通ルールを見て」

注意点

接続にはAO APIと curl、JSON処理には python3 が使われます。リモート接続にはホストのアドレスとパスワードを含むヘッダーファイルが必要です。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

資料チェック

SKILL.md の記述から、注意が要る操作と導入の前提を AI が確認しました。点数は実際に動かした結果(実行検証)だけで付けています。

安全面送信・削除・コマンド実行などの扱いが明示されているか
A良好秘密ファイルを開かずcurlに渡す等、認証情報の扱いを明示。
導入のしやすさ必要なツールや API キーが少ないか、書かれているか
B一部不足AO API、curl、python3に加え、遠隔用ヘッダーファイルが必要。

点数には入れていません。 2026年10月29日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。

評価が違うと思ったら、見直しを依頼する

どの項目が、なぜ違うと思うかを書いてください。ログインは不要です。内容を SKILL.md と照らし合わせて評価を作り直し、この欄に反映します。

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

含まれるファイル(1)

  • SKILL.md8.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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:

FieldExampleMeaning
nameProA 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
reachlocal or remoteHow you get to its AO
vialaptopThe ListMachines label of the computer whose shell you use
basehttp://192.168.1.20:7444Remote only. The host's LAN address from AO's remote access settings
header~/.ao-grok/studio.headerRemote only. File on via that holds the host's password
  • local: the Grok Bot desktop app runs on the AO host. via is 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. The ao CLI on via talks only to via'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 aoapi as is.
  • Remote host: on the via computer, first set AO_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>.md on via. The user can see what was sent.
  • Use the ao CLI only where a skill says "local only".

Errors

You seeMeaning and next step
AO_NOT_RUNNING, or connection refused on a local hostAO is not running there. Ask the user to open AO
Connection refused or timeout on a remote hostThe 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 hostThe host's password changed. Run ao-setup "Remote host" again
HTTP 404 on a session pathNo such session on that host. Check the host name
Any other errorAO 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 question (user_input) asks what to build. An approval asks permission to run a command or change files. Who decides depends on the mode, saved in memory:

  1. Default mode: show each question or approval to the user as a card with the exact options. Answer only with their pick for that request. Never reuse a pick for a new request.
  2. Away mode starts when the user says something like "I'm away", "decide for me" or "keep it moving". Save the scope and the end time in memory. Then:
    • Answer routine questions yourself, and tell the user afterwards what you picked and why.
    • Accept low and normal approvals with the one-time option (kind allow_once). Never pick an allow_always option: it changes the agent's permissions for good. Never accept a high approval without the user's yes for that request.
    • Leave product direction, money, publishing and anything the user kept for themselves to the user.
    • Away mode ends at the end time or when the user is back. Say when it ended.
  3. Standing approvals: the user may list kinds of approvals to always accept. Follow the list exactly.

AO gives no risk level, so you judge it. Treat these as a floor. If a command looks riskier, call it high.

RiskExamples
highDeletes outside the session's worktree, rm -rf, git push --force, push to main or master, git reset --hard, history rewrites, deploy, publish, release, secrets, credentials, tokens, sudo, system installs, payments
lowReading or searching files, git status/diff/log, tests, lint, typecheck, builds
normalEverything else, such as edits and commits in the session's worktree, or pushing the session's own branch

Never invent the user's preferences. The worker decides how to do the work. The user decides what to build.

Writes

Change nothing on the user's computers unless the user approved that exact change in chat, or away mode or a standing approval covers it. Approval for one change is not approval for the next. Never delete or archive sessions or projects, never change AO settings, and never merge, publish or deploy without the user's yes for that item.

Secrets

  • The header file holds a host's password. Pass it only to curl as -H @<file>. Never open, print, copy or paste it.
  • Never read AO's own credential files: ~/.ao/mobile/, ~/.ao/data/agent-accounts/, ~/.ao/electron/, or any *token*, *auth*, .env or keychain item.
  • If session text contains a key, never repeat it.

Messages to agents

  • Before you send a follow-up, read the last turn (aoapi GET "sessions/<id>/history?offset=0&limit=1") so you don't repeat or contradict it.
  • Keep messages short and concrete: what is right so far, then the next step. Leave out check-ins, your own process and these rules.
  • Start every message you send with [via Grok Bot], so the user can tell it apart in AO.

Output

  • Answer first, in short plain words. Say what you could not check.
  • Write every session as <host name>/<session id>, every time, in every skill and every line, even when only one host has that id: Air/agent-orchestrator-31, Pro/agent-orchestrator-1-249. Add the display name when it helps.
  • Give times in the user's timezone.
  • One message per event. If two checks report the same thing, say it once. News (a merge, a finished review) is reported once: ao-status keeps a seen list.
  • Send files with SendToUser. Copy them to the box first with CopyToBox.

Memory

  • Save hosts, modes and preferences, not activity. A check where nothing changed is not worth a note.
  • When the user corrects you, save the correction.
  • A follow-up you promise for later ("I'll tell you when it's done") goes into a Routine, not only into memory.

Grok Bot only

These steps need tools only Grok Bot has. Any other agent (Claude Code, Codex, Cursor) runs on one computer and does this instead:

Grok Bot stepOther agents
ListMachines, every connected computerOnly the computer you run on, as a local host
RoutinesRun the check once when asked
CardsPlain text with numbered options
MemoryAsk, or use the notes file the user names
SendToUser, CopyToBoxGive the file path

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

ao-actions

無料概要あり

AOのセッションやPRに対して停止・再開・レビュー・マージなどを行い、ブラウザー画像や成果物の送信、ホスト維持、定期実行も扱います。

  • AOのセッションを中断・再開したいとき
  • PRのレビューやマージを進めたいとき
  • セッションの画面や成果物を受け取りたいとき
OrchestratorInc/agent-orchestrator1.4万2026年10月30日 更新

ao-answer

無料概要あり

AO上でユーザーの返答を待つセッションを見つけ、質問や承認内容を選択肢で示して回答を返します。離席中の判断ルールにも沿って処理します。

  • AOで返答待ちの内容を確認したいとき
  • 特定セッションの質問に答えたいとき
  • 保留中のコマンドや変更を承認したいとき
OrchestratorInc/agent-orchestrator1.4万2026年10月30日 更新

ao-desktop-dev

無料概要あり

AOの実際のデスクトップアプリを起動・再起動し、画面変更を確認するスキル。ローカルデータでの動作確認や、プロセス・ポート競合などの原因調査を支援します。

  • AOの実アプリで画面変更を確認したいとき
  • 分離データや既存データで動作確認
  • 複数PRを組み合わせた画面レビュー
OrchestratorInc/agent-orchestrator1.4万2026年10月30日 更新

ao-orchestrator

無料概要あり

AOのプロジェクト担当オーケストレーターに依頼や質問を届け、返答を確認してユーザーに伝えます。

  • プロジェクトの作業を開始したいとき
  • 進捗やこれまでの経緯を尋ねたいとき
  • 変更依頼をオーケストレーターに伝えたいとき
OrchestratorInc/agent-orchestrator1.4万2026年10月30日 更新

ao-setup

無料概要あり

AOが動くコンピューターを検出してホスト情報を記録し、必要に応じてリモート接続や定期確認の設定を進めます。

  • AOを初めて使うために環境を確認したいとき
  • ローカルホストを登録したいとき
  • リモートホストを追加したいとき
OrchestratorInc/agent-orchestrator1.4万2026年10月30日 更新

ao-status

無料概要あり

AOの各ホストで動くセッションの状態や、マージ可能なPR、レビュー通知をまとめて確認し、必要に応じて日次ダイジェストを作成します。

  • AOで実行中や待機中の作業を確認したいとき
  • マージ可能なPRを探したいとき
  • レビュー結果やPRの更新を把握したいとき
OrchestratorInc/agent-orchestrator1.4万2026年10月30日 更新

OrchestratorInc のスキルをすべて見る

このスキルの問題を報告する