본문으로 건너뛰기
Skillpedia
에이전트14k · #11263

ao-rules

하는 일

이 스킬은 모든 AO 스킬의 공통 규칙을 담고 있습니다. 예를 들어 어느 컴퓨터가 세션을 소유하는지, 언제 승인이 필요한지 같은 규칙입니다. Agent Orchestrator를 채팅에서 사용하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓다른 AO 스킬이 AO 컴퓨터에 연결해야 할 때.
  • ✓특정 AO 세션을 어느 컴퓨터가 실행하는지 알고 싶을 때.
  • ✓에이전트가 어떤 작업에 사용자의 허락이 필요한지 확인해야 할 때.

스킬 링크

https://github.com/OrchestratorInc/agent-orchestrator/blob/main/integrations/grok-bot/skills/ao-rules/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/OrchestratorInc/agent-orchestrator/blob/main/integrations/grok-bot/skills/ao-rules/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“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. 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 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.

repo: OrchestratorInc/agent-orchestrator

인기도

GitHub 스타
14k
순위
#11263
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬