ao-orchestrator
Ce qu’il fait
Cette compétence permet à votre agent de dialoguer avec l'agent orchestrateur qui gère un projet dans AO. Elle s'adresse aux personnes qui veulent lancer un travail ou demander un point d'avancement depuis leur discussion.
Quand l’utiliser
- ✓Quand vous voulez lancer une nouvelle tâche dans l'un de vos projets AO.
- ✓Quand vous voulez un résumé de ce qui s'est passé dans un projet.
- ✓Quand vous voulez savoir pourquoi quelque chose a été fait ou ce qui doit se passer ensuite.
Lien du skill
https://github.com/OrchestratorInc/agent-orchestrator/blob/main/integrations/grok-bot/skills/ao-orchestrator/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 dire à l'orchestrateur de mon projet de site web d'ajouter un formulaire de contact.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent trouve le projet et son orchestrateur, envoie votre message, attend la réponse et vous la rapporte. Si aucun orchestrateur n'est en cours d'exécution, il demande votre accord avant d'en lancer un.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Follow the ao-rules skill ("Who does what: orchestrator first"). Sending a message is a write: do it only for what the user asked in this turn.
1. Pick the host and project
Match the user's words against project ids on every host (aoapi GET projects). One match: use it. The same project id on two hosts (two separate projects that share a folder name): ask which host, unless the user named one or memory has a default for that project. No match: list the projects and ask.
2. Find the orchestrator
f(){ <aoapi helper>; aoapi GET "sessions?orchestratorOnly=true&active=true&project=<project>" | python3 -c '
import json,sys
for s in json.load(sys.stdin)["sessions"]: print(s["id"], (s.get("activity") or {}).get("state",""), s.get("provisionState",""))'; }; f
- One line: that is the orchestrator. Its state tells you if it is busy (
active). exited: resume it first withaoapi POST "sessions/<id>/resume-agent" '{}', then go on.- Provision state
failed: AO could not create its workspace, and messages to it fail. Read the reason withaoapi GET "sessions/<id>"(fieldprovisionError), tell the user in plain words, and ask them to fix it in AO. Stop here. - No line: ask "There's no orchestrator in <project> on <host>. Start one with your request?" On yes, start it with the request as its first message (step 3's file and tag), then go to step 4. Its reply is its first turn:
Start an orchestrator
f(){ <aoapi helper>; P='<project>'; TAG="[via Grok Bot #$(date +%H%M%S)]"; F=~/.ao-grok/out/$(date +%F)-<short name>.md
mkdir -p ~/.ao-grok/out; { printf '%s ' "$TAG"; cat <<'EOF'
<message>
EOF
} > "$F"
H=$(aoapi GET "projects/$P" | python3 -c 'import json,sys; d=json.load(sys.stdin); c=(d.get("project",d).get("config") or {}); print((c.get("orchestrator") or {}).get("agent") or (c.get("worker") or {}).get("agent") or "")')
aoapi POST sessions "$(python3 -c 'import json,sys; b={"projectId":sys.argv[1],"kind":"orchestrator","mode":"chat","displayName":"Orchestrator","prompt":open(sys.argv[2]).read()}; b.update({"harness":sys.argv[3]} if sys.argv[3] else {}); print(json.dumps(b))' "$P" "$F" "$H")" | python3 -c 'import json,sys; d=json.load(sys.stdin); d=d.get("session",d); print("started", d["id"])' && echo "TAG=$TAG"; }; f
After about 10 seconds, check provisionState with aoapi GET "sessions/<new id>". If it is failed, handle it as above.
3. Send
Write the message to a file on via, then send it. The message is the user's request in their words, plus only the context from this chat the orchestrator needs. Don't add your own design choices. Start it with a tag so you can find the reply:
f(){ <aoapi helper>; O='<orchestrator id>'; TAG="[via Grok Bot #$(date +%H%M%S)]"; F=~/.ao-grok/out/$(date +%F)-<short name>.md
mkdir -p ~/.ao-grok/out; { printf '%s ' "$TAG"; cat <<'EOF'
<message>
EOF
} > "$F"
B=$(python3 -c 'import json,sys; print(json.dumps({"message":open(sys.argv[1]).read(),"userAuthored":True}))' "$F")
if aoapi POST "sessions/$O/send" "$B" >/dev/null; then echo "sent TAG=$TAG F=$F"; return 0; fi
echo "SEND_FAILED: resuming the agent and trying once more"
aoapi POST "sessions/$O/resume-agent" '{}' >/dev/null; sleep 5
aoapi POST "sessions/$O/send" "$B" >/dev/null && echo "sent TAG=$TAG F=$F"; }; f
A failed send prints AO's error. If it still fails after the retry, tell the user the orchestrator isn't accepting messages and to open it in AO.
If the orchestrator was active in step 2, the message waits and runs as its own turn after the current one. Tell the user right away, in one line: "The orchestrator is busy with <what its last turn is about>. Your question is queued and runs next." Then go on to step 4.
If the user wants to change what it is doing right now ("stop that", "use X instead"), steer instead. Write the file and tag as above, then:
f(){ <aoapi helper>; O='<orchestrator id>'; F='<message file>'
aoapi POST "sessions/$O/conversation/steer-or-send" "$(python3 -c 'import json,sys,uuid; print(json.dumps({"text":open(sys.argv[1]).read(),"clientMessageId":str(uuid.uuid4())}))' "$F")"; }; f
"outcome":"sent" means it arrived (in the running turn, or as a new turn if the orchestrator was idle). Then go to step 4.
4. Wait for the reply
Check every 10 seconds for up to 5 minutes. Done when the orchestrator is no longer active and a turn that starts with your tag has a reply:
f(){ <aoapi helper>; O='<orchestrator id>'; TAG
Questions fréquentes
Que faire si j'ai des projets portant le même nom sur deux ordinateurs ?
L'agent demande de quel ordinateur vous parlez avant d'envoyer quoi que ce soit.
Lance-t-il un orchestrateur sans demander ?
Non. Il demande d'abord, puis en lance un avec votre demande si vous acceptez.
Modifie-t-il mon projet de lui-même ?
Envoyer un message est une modification, donc la compétence n'envoie que ce que vous avez demandé dans ce tour.
Détails
Description originale de l’auteur
Talk to a project's AO orchestrator: pass the user's request to it, wait for its reply and relay it. The default route for starting or changing work, "catch me up", "why", "what next" and plans. Use for "in <project>: <ask>", "tell the orchestrator ...", "catch me up on <project>", "start work on ...".
Popularité
- Étoiles GitHub
- 14k
- Position au classement
- #11262
- 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-answer
14kPermet à votre agent de trouver les sessions AO qui attendent votre décision, d'afficher les choix sous forme d'options et de renvoyer votre réponse à cette session.
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.