workflow
Ce qu’il fait
Cette compétence apprend à un agent à exécuter un flux de travail d'équipe étape par étape depuis une session de codage. Elle suit les commandes affichées par TeamAI et informe la personne pendant que l'exécution se poursuit.
Quand l’utiliser
- ✓Quand une compétence de flux de travail générée envoie l'agent exécuter un flux de travail d'équipe.
- ✓Quand une personne demande de lancer un flux de travail d'équipe depuis cette session.
- ✓Quand une exécution de flux de travail pose à la personne une question nécessaire pour continuer.
Lien du skill
https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow/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
“Lance le flux de travail d'équipe qui m'a été confié depuis cette session et tiens-moi au courant de chaque étape.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent démarre le flux de travail en mode description, présente les questions auxquelles la personne doit répondre, puis exécute les commandes affichées dans l'ordre. Des exécuteurs détachés et des agents enfants effectuent les étapes de travail.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Drive a team workflow
Your role
You orchestrate. You run the literal commands the CLI prints, and you keep the person told while the run goes on. Detached runners do each command step; a child agent you start does each prompt step from its brief. Step work belongs to them, and yours is the literals and the person. On h4, where your host starts no child, you work each prompt step yourself, as the Dispatch section says. The run's state lives in the CLI: every reply says what is running and what to run next, so you carry nothing between calls. Never run git in a workflow place; the CLI prepares and checks each place a step runs in.
Start
Run teamai workflow start --describe <name> --driver skill with the workflow name from the skill that sent you. Where this machine runs teamai through npx teamai-cli, use that in its place; every literal the CLI prints after this already does.
Act on data.describe.ask.kind:
start: tell the personask.saywhen the reply has it, then runask.start. In an unattended run (CI, a cloud agent) describe never asks the person; whenask.inputsis listed, fill{inputs}inask.startwith their values from your task, as one JSON object. The slot sits inside single quotes, so write each'in that JSON as'\''.ask: the question is the person's to answer, once, so the run goes on without them after. In one message, give themask.question.textas it is, each entry ofask.question.inputs, and thelabelof each option as their choices. An entry with avalueis a proposal: show it with itswhy, and say they may keep, change or empty it. An entry without one is theirs to fill in. Wait for their pick, also when an option is marked recommended. In thestartof the option they pick, replace{inputs}with their answers as one JSON object, each'in it written as'\'', and run it. Those options are the whole choice: when the person wants a start none of them offers, show them the options again.local: tell the personask.reasonand give themask.startfor their own terminal. It is theirs to run.denied: tell the personask.reason. Nothing is left to run here.tool: this session names no tool, and the run needs one. Inask.describe, replace{tool}with the entry ofask.toolsfor the tool you work in, run it, and act on its reply instead. When none of them is the tool you work in, tell the personask.reason.
Done when a reply carries data.turn with a run id, or the person has ask.reason.
The loop
A turn lists the actions that wait for you, the running attempts, the events since your last call, and then. When nothing runs, waiting.reason says why.
- Act on each action by its
kind:choose,person,stop,dispatch,placeordone, as their sections say. - Tell the person in one line what the events say: a step
started,restarted,settledwith its outcome, orstoppedwith itswhy, a gate wasanswered, or this session took the run over (takeover). Tell themwaiting.reasonwhen it changes. Forjudging,judgedandjudging-off, followreferences/judging.md. - Run
then.runof the newest turn you have:poll: in the background when your host can, so you stay free to talk with the person; otherwise in the foreground. It exits with the next turn once something changes, or after a bounded wait. Keep one poll of the run going at a time.wake: in the foreground. Work waits for you, and the turn it returns carries it.
- Repeat with that turn.
Done when a turn has no then.
In an unattended run nobody reads you: step 2 is for your own log, and you ask nothing. Keep running then until a turn has none, also after done while it carries judging, so the judge's label lands before your session ends.
Run teamai score --drain before your session ends.
An unattended session that reaches a handoff reports that the run waits for a person, and stops.
When you have lost the last turn, after a compaction or in a new session, run teamai workflow next <run> --driver skill once for the current one.
A report you run answers with data.runner, not a turn. After one, go on with then of your newest turn.
Choose
A choose action asks for one answer, and about says what it is for:
host: comes once per run that has prompt steps, or that you judge. Followreference: it says which option fits your host and how to run it.gate: an optional approval or
Questions fréquentes
Dois-je lancer des commandes Git ?
Non. La compétence indique que l'interface en ligne de commande prépare et vérifie chaque emplacement d'exécution, donc Git n'est pas lancé dans les étapes du flux.
L'agent se souvient-il de l'exécution entre les messages ?
Non. La compétence indique que l'état de l'exécution se trouve dans l'interface en ligne de commande, et que chaque réponse indique la prochaine commande à lancer.
Que faire si l'hôte ne peut pas démarrer d'agents enfants ?
La compétence indique que l'agent exécute alors lui-même chaque étape de type invite.
Détails
Description originale de l’auteur
Drive a team workflow from this coding session. Use when a generated workflow skill (workflow-<alias or name>, or a teamai default such as teamai-share-learnings) sent you here, or the person asks to run a team workflow.
repo: Tencent/teamai-cli
Popularité
- Étoiles GitHub
- 5.7k
- Position au classement
- #14746
- Licence
- —
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
core
5.7kAide votre agent à synchroniser les compétences et règles d'IA partagées de votre équipe avec pull et push, à vérifier leur état, à lancer un contrôle de santé et à accéder aux autres flux de travail TeamAI.
setup
5.7kAide votre agent à installer TeamAI pour une équipe, soit en créant un nouveau dépôt d'équipe en tant qu'administrateur, soit en rejoignant un dépôt existant, et à gérer les membres, les rôles et les retraits.
share
5.7kAide votre agent à transformer ce qu'une session de codage a appris en un bref apprentissage d'équipe, et à le publier dans la base de connaissances de l'équipe avec la commande teamai contribute.
wiki
5.7kAide votre agent à transformer une grande base de code composée de nombreux dépôts en une base de connaissances structurée, où chaque conclusion renvoie à la ligne de code d'où elle provient.
Skills similaires
diffs
394kPermet à votre agent de produire un diff réel et partageable de vos modifications, sous forme de lien ou d'image, plutôt qu'un résumé écrit à la main.
coding-agent
394kAide votre agent à confier une tâche de programmation plus importante à Codex, Claude Code ou OpenCode comme travailleur en arrière-plan, puis à suivre sa progression.
gh-issues
394kAide votre agent à trouver des tickets GitHub, choisir ceux à traiter et ouvrir des pull requests avec des correctifs, y compris le suivi des commentaires de relecture.