ao-answer
Ce qu’il fait
Cette compétence repère les sessions de programmation IA bloquées en attente de votre réponse. Elle affiche chaque question ou demande d'approbation pour que vous puissiez répondre directement depuis votre discussion.
Quand l’utiliser
- ✓Quand vous voulez savoir quelles sessions d'agent attendent votre réponse.
- ✓Quand un agent vous demande d'approuver une modification ou de choisir une option.
- ✓Quand vous voulez que l'agent traite les questions en attente selon les règles que vous avez fixées.
Lien du skill
https://github.com/OrchestratorInc/agent-orchestrator/blob/main/integrations/grok-bot/skills/ao-answer/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Je veux voir ce qui attend ma réponse dans mes projets AO en ce moment.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent vérifie chaque ordinateur pour trouver les sessions en attente ou bloquées et liste les questions en suspens. Votre choix est envoyé à cette session exactement tel que vous l'avez fait.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Répond-elle à ma place sans demander ?
Seulement si vous avez défini des règles pour cela, comme un mode absent ou des approbations permanentes.
Ma réponse sera-t-elle modifiée avant d'atteindre l'agent ?
Non. Votre choix est envoyé au worker exactement tel que vous l'avez donné.
Et une session inactive qui a posé une question ?
La compétence liste aussi les sessions inactives du dernier jour dont la dernière réponse vous posait une question.
Détails
Description originale de l’auteur
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.
Popularité
- Étoiles GitHub
- 14k
- Position au classement
- #11261
- Licence
- Apache-2.0
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
using-ao
14kDonne à votre agent un guide de l'outil en ligne de commande AO pour lancer des workers, gérer des sessions et créer des tâches réutilisables.
ao-actions
14kPermet à votre agent d'agir sur une session AO ou une pull request : l'arrêter, la reprendre, fusionner la pull request ou envoyer ses fichiers.
ao-orchestrator
14kAide votre agent à envoyer votre demande à l'orchestrateur AO d'un projet, à attendre sa réponse et à vous la transmettre.
ao-rules
14kDéfinit les règles de sécurité communes et les étapes de connexion que suivent les autres compétences AO, pour que l'agent gère les sessions sur le bon ordinateur.
Skills similaires
add-model-provider
394kPermet à votre agent de connecter un nouveau fournisseur de modèles IA à OpenClaw par des commandes sûres, sans clé en clair, puis de lancer un test.
acp-router
394kAide votre agent à envoyer une tâche à un assistant de code comme Claude Code ou Cursor via OpenClaw, afin que le travail s'exécute dans cet outil.
browser-automation
394kApprend à votre agent à piloter des pages web étape par étape, y compris les connexions, les onglets et la reprise lorsqu'une page ne répond plus.