Aller au contenu
Skillpedia
Agents14k · #11260

ao-actions

Ce qu’il fait

Cette compétence gère des actions isolées sur une session Agent Orchestrator ou une pull request. Elle s'adresse aux personnes qui utilisent AO et veulent contrôler une tâche précise depuis leur discussion.

Quand l’utiliser

  • ✓Quand vous voulez arrêter une session qui travaille encore.
  • ✓Quand vous voulez fusionner une pull request terminée créée par AO.
  • ✓Quand vous voulez voir la capture d'écran du navigateur ou les fichiers produits par une session.

Lien du skill

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

Copiez-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

Utilise ce skill pour m’aider : https://github.com/OrchestratorInc/agent-orchestrator/blob/main/integrations/grok-bot/skills/ao-actions/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Je veux arrêter la session qui construit la page de paiement, puis fusionner sa pull request.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent trouve la session, puis lance l'action AO correspondante sur l'ordinateur qui l'héberge. Les actions qui modifient quelque chose, comme mettre fin à une session ou fusionner, attendent votre accord.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Follow the ao-rules skill. Find the session first (ao-rules "AO hosts": <host>/<session id>). Run each action on the owner host from its via computer. "Yes" means the user's yes for that exact action in this chat.

Ask Do Yes needed Hosts
Stop what it's doing now aoapi POST "sessions/<id>/conversation/interrupt" No All
End the session aoapi POST "sessions/<id>/kill" '{}' Yes All
Resume an exited agent aoapi POST "sessions/<id>/resume-agent" '{}' No All
Restore an ended session aoapi POST "sessions/<id>/restore" '{}' (an ended orchestrator can't come back while its project has another live one) Yes All
Merge a PR see "Merge" Yes, per PR All
Start AO's reviewer on a session's PR ao review trigger <id> Yes Local
Screenshot a session's browser see "Screenshot" No Local
A session's files see "Files" No Local
Keep the host awake see "Keep awake" Yes Local
Recurring agent work see "Automations" Yes Local
Start one worker directly aoapi POST sessions '<json>' with projectId, displayName, prompt Yes All

For an action marked Local on a remote host, ask that host's orchestrator to do it (ao-orchestrator).

Start a worker directly only when the project has no orchestrator and the user doesn't want one (ao-rules "orchestrator first").

Merge

First show the PR and ask:

f(){ <aoapi helper>; aoapi GET "sessions/<session id>/pr" | python3 -c '
import json,sys
for p in json.load(sys.stdin).get("prs") or []:
    if str(p.get("number"))==sys.argv[1]: print(json.dumps({"url":p.get("url"),"headSha":p.get("headSha"),"state":p.get("state"),
        "ci":(p.get("ci") or {}).get("state"),"review":(p.get("review") or {}).get("decision"),"mergeability":(p.get("mergeability") or {}).get("state")}))' '<pr number>'; }; f

Tell the user the link, checks (ci), review decision and whether it can merge (mergeability). Never merge on failing checks or conflicting without the user saying so for that PR. On yes, merge exactly the commit you showed:

f(){ <aoapi helper>; aoapi POST "prs/<pr number>/merge" "$(python3 -c 'import json,sys; print(json.dumps({"prUrl":sys.argv[1],"expectedHeadSha":sys.argv[2]}))' '<url>' '<headSha>')"; }; f

If the PR got new commits since you showed it, AO refuses the merge. Show it again and ask again.

Screenshot

The session must have a browser page open. BROWSER_CAPABILITY_INVALID means it has none: say so.

f(){ mkdir -p ~/.ao-grok/out && AO_SESSION_ID='<id>' ao browser screenshot ~/.ao-grok/out/<id>-$(date +%H%M%S).png; }; f

Then CopyToBox and SendToUser.

Files

A session's deliverables are in its artifact folder:

f(){ ls -la "${AO_DATA_DIR:-$HOME/.ao/data}/artifacts/<id>/"; }; f

Send the file the user asks for with CopyToBox and SendToUser. HTML reports render best opened on the phone as a file.

Keep awake

For a run that must last overnight, after a yes:

f(){ <aoapi helper>; aoapi POST awake/sessions "$(python3 -c 'import json,sys; print(json.dumps({"mode":"duration","durationSeconds":int(sys.argv[1]),"scope":"ao"}))' '<seconds>')"; }; f

Say when it ends. The user can stop it in AO. An AWAKE error that mentions a safety stop means AO stopped keep-awake on purpose (for example on battery): tell the user to resume it in AO. Don't resume it yourself.

Automations

For recurring agent work that should run on the host even when the bot is off (for example "every night, update dependencies in <project>"), create an AO automation after a yes:

ao automation create --project '<project>' --name '<name>' --cron '<m h dom mon dow>' --timezone '<IANA zone>' --prompt '<task>'

ao automation list shows them. To remove one after a yes: ao automation delete --yes <id>. Use a Grok routine instead when the job is to tell the user something (ao-status "Digest", ao-answer waiting check).

Questions fréquentes

Va-t-il arrêter ou fusionner quelque chose sans demander ?

Non. Mettre fin à une session, fusionner une pull request et certaines autres modifications nécessitent votre accord explicite pour cette action précise.

Que faire si un même nom de session existe sur deux ordinateurs ?

L'agent associe chaque session à son ordinateur, il n'agit donc que sur la bonne.

Peut-elle empêcher mon ordinateur de se mettre en veille ?

Oui, elle peut garder l'hôte éveillé, mais seulement après votre accord.

Détails

Description originale de l’auteur

Direct actions on one AO session or PR: stop or interrupt, resume, merge a PR, start a review, screenshot a session's browser, send a session's files, keep a host awake, and recurring AO automations. Use for "stop <session>", "merge <PR>", "review <session>'s PR", "show me what <session> built", "keep the Mac awake tonight", "every night, ...".

repo: OrchestratorInc/agent-orchestrator

Popularité

Étoiles GitHub
14k
Position au classement
#11260
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires