ao-answer
하는 일
이 스킬은 사용자를 기다리며 멈춰 있는 AI 코딩 세션을 찾습니다. 각 질문이나 승인 요청을 보여 줘서 채팅에서 바로 답할 수 있게 합니다.
사용하는 경우
- ✓어떤 에이전트 세션이 답변을 기다리는지 알고 싶을 때.
- ✓에이전트가 변경 승인이나 옵션 선택을 요청할 때.
- ✓설정한 규칙에 따라 대기 중인 질문을 에이전트가 처리하게 하고 싶을 때.
스킬 링크
https://github.com/OrchestratorInc/agent-orchestrator/blob/main/integrations/grok-bot/skills/ao-answer/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“지금 내 AO 프로젝트에서 나를 기다리고 있는 것이 무엇인지 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 각 컴퓨터에서 대기 중이거나 막힌 세션을 확인하고, 대기 중인 질문을 나열합니다. 사용자가 고른 답은 고른 그대로 해당 세션에 전송됩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Follow the ao-rules skill. Its "Decisions" section says who may answer. Answers go straight to the worker, not through the orchestrator: the user's pick must arrive exactly as given.
1. Find what's waiting
On every host, in parallel:
f(){ <aoapi helper>
aoapi GET 'sessions?active=true' | python3 -c '
import json,sys,time,calendar
now=time.time()
for s in json.load(sys.stdin)["sessions"]:
st=(s.get("activity") or {}).get("state"); t=(s.get("lastEventAt") or "")[:19]
if st in ("waiting_input","blocked"): print("W", s["id"])
elif st=="idle" and t and now-calendar.timegm(time.strptime(t,"%Y-%m-%dT%H:%M:%S"))<86400: print("I", s["id"], s.get("lastEventAt"))' |
while read -r k id at; do
if [ "$k" = W ]; then
aoapi GET "sessions/$id/conversation" | python3 -c '
import json,sys
d=json.load(sys.stdin); found=False
for a in d.get("activities") or []:
if a.get("activityKind") in ("approval","user_input") and a.get("status")=="pending":
found=True; print(json.dumps({"session":sys.argv[1],"kind":a["activityKind"],"requestId":a.get("requestId"),
"summary":a.get("summary"),"decisions":a.get("decisions") or (a.get("detail") or {}).get("decisions"),"detail":a.get("detail")}))
if not found: print(json.dumps({"session":sys.argv[1],"kind":"reply"}))' "$id" 2>/dev/null
else
aoapi GET "sessions/$id/history?offset=0&limit=1" | python3 -c '
import json,sys,re
t=(json.load(sys.stdin).get("turns") or [{}])[0]; r=(t.get("agentResponse") or "").strip()
if re.search(r"\?[\s*_`)\]]*$", r): print(json.dumps({"session":sys.argv[1],"kind":"reply","lastEventAt":sys.argv[2],"asked":r[-300:]}))' "$id" "$at" 2>/dev/null
fi
done; }; f
Each line is one thing waiting:
kind |
What it is |
|---|---|
approval |
Permission to run a command or change files. summary and detail.input say what; decisions are the options [{id, kind, label}] |
user_input |
A question. detail.message asks it; detail.schema.properties are the fields, with choices in enum or oneOf |
reply |
The agent asked in plain text: a session that waits with no request (or a terminal session), or an idle session from the last 24 hours whose last reply ends with a question (asked holds its end). Read its last reply (ao-status "One session in detail") |
In the AO waiting check routine: keep what you already showed in ~/.ao-grok/shown.txt on via, one line per item (<host> <session> <requestId>, or <host> <session> reply <lastEventAt> for a reply), and message only about new items. Send nothing when nothing new is waiting.
2. Show it
Per session, one short briefing first: <host>/<session> and its name, what it is doing, and what it asks, in one or two sentences. Don't recommend anything. Then:
approval: the command or change verbatim, the risk you judge (ao-rules), and thedecisionslabels exactly as options in one card. Mark a decision whosekindisallow_alwaysas "changes this agent's permissions for good".user_input: one card with every question in it, in order (the card pages through them). A field withoneOforenumis a question: use theoneOftitles orenumvalues as its options, exactly. A field whose_meta._askUserQuestionCustomAnswer.questionIdnames another field is that question's "Other" box: show it as a typed-answer option on that question, not as its own question. Any other free-text field is a question with a typed answer.detail.inputModeurlcan't be answered from chat: tell the user to open AO.reply: the agent's question from its last reply, with options if it gave clear ones, else ask for a typed answer.
Several sessions at once: explain them together, then cards per session.
3. Answer
On the owner host, from its via computer:
- Approval:
aoapi POST "sessions/<id>/conversation/approvals/<requestId>/resolve" "$(python3 -c 'import json,sys; print(json.dumps({"decisionId":sys.argv[1]}))' '<decision id>')" - Question:
contentmaps each field name to the pick. For a picked option use itsoneOfconst(or theenumvalue), not the title. For a typed "Other" answer, put the text under the "Other" field (for examplequestion_0_custom) and leave its question out:aoapi POST "sessions/<id>/conversation/inputs/<requestId>/resolve" "$(python3 -c 'import json,sys; print(json.dumps({"action":"accept","content":json.loads(sys.argv[1])}))' '{"<field>":"<pick>"}')"The user says no or skip: `{"act
자주 묻는 질문
내가 묻지 않아도 대신 답하나요?
설정한 규칙이 있는 경우에만 답합니다. 예를 들어 자리 비움 모드나 상시 승인입니다.
내 답변이 에이전트에 도달하기 전에 바뀌나요?
아니요. 선택은 작업자에게 고른 그대로 전달됩니다.
질문을 한 유휴 세션은 어떻게 하나요?
스킬은 지난 하루 동안 마지막 응답에서 질문을 한 유휴 세션도 나열합니다.
상세 정보
작성자의 원본 설명
Find AO sessions that wait on the user, show each question or approval as tap-to-answer options, and send the answer back to that session, following ao-rules "Decisions" (default, away mode, standing approvals). Use for "what's waiting on me", "answer <session>", "approve it", the AO waiting check routine, and away mode.
인기도
- GitHub 스타
- 14k
- 순위
- #11261
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
using-ao
14k에이전트가 AO 명령줄 도구로 작업자를 시작하고, 세션을 관리하며, 재사용 가능한 작업을 만드는 방법을 안내합니다.
ao-actions
14k에이전트가 하나의 AO 세션이나 풀 리퀘스트에 대해 멈추기, 재개하기, PR 병합, 파일 전송 같은 작업을 하도록 돕습니다.
ao-orchestrator
14k에이전트가 프로젝트의 AO 오케스트레이터에 요청을 보내고, 응답을 기다린 뒤 그 응답을 사용자에게 전달하도록 돕습니다.
ao-rules
14k다른 AO 스킬이 따르는 공통 안전 규칙과 연결 단계를 정해, 에이전트가 올바른 컴퓨터에서 세션을 다루도록 합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.