Aller au contenu
Skillpedia
Programmation générale5.7k · #14745

workflow-local

Ce qu’il fait

Cette compétence apprend à un agent à exécuter de bout en bout un flux de travail d'équipe TeamAI sans qu'une personne réponde à des questions. Elle s'adresse aux tâches automatisées et à la reprise d'une exécution sur cet ordinateur.

Quand l’utiliser

  • ✓Quand une tâche CI ou un agent cloud doit exécuter un flux de travail d'équipe sans personne présente.
  • ✓Quand une exécution de flux de travail s'est arrêtée et doit reprendre sur cette machine.
  • ✓Quand la réponse de démarrage d'un flux de travail indique que l'exécution doit utiliser le pilote local.

Lien du skill

https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow-local/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/Tencent/teamai-cli/blob/main/skill-data/workflow-local/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

“Exécute notre flux de travail d'équipe sans surveillance pour la tâche de nuit et dis-moi le résultat à la fin.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent démarre le flux de travail avec le pilote local en transmettant les entrées sous forme d'un seul objet JSON. À la fin de l'exécution, la commande indique la réussite ou l'échec et nomme toute étape en échec avec sa commande de relance.

Contenu technique (SKILL.md original)

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

Run a team workflow unattended

The local driver runs a whole run in one process on this machine: each command step as a process, each prompt step through a headless tool. Nobody is asked anything while it runs, so every answer the run needs is decided before it starts.

When

  • A CI job or a cloud agent runs the workflow.
  • teamai workflow start --describe <name> --driver skill answered ask.kind: local: a coding session cannot run some step, and ask.reason says which.
  • A run continues on this machine without a coding session: after a retry, an answer, a stopped driver, or a session that handed it over.

Run it

  1. Run teamai workflow start <name> --describe and read the inputs it lists.
  2. Start the run: teamai workflow start <name> --driver local, with the inputs as one JSON object in --inputs. teamai workflow start --help lists the other options, such as answering optional approvals and picking the prompt tool.
  3. To continue a run that stopped, run teamai workflow resume <run>.

The command exits when the run ends: 0 when it succeeded, 1 when it failed or was cancelled. A failed run names each failed step, its message and its teamai workflow retry command on stderr. Done when it has exited and the outcome, the failing step's message and the pull requests the run opened are reported where the person reads them: the job log, or your reply.

Approvals

Without a terminal, nobody answers a gate during the run:

  • A required approval fails its step hitl_required, and so does the run.
  • With --auto-approve, or the member's workflows.auto_approve, an optional approval is answered yes and a choice takes its default.
  • Without either, an optional approval is skipped, and a choice fails hitl_required.

From an agent session

A coding agent's session may start or continue only a workflow whose invoke allows it, with start or resume. invoke: allow goes on. invoke: ask goes on once the person agreed, with --confirmed, and never in an unattended run (CI or a cloud agent), where it answers unattended_denied. invoke: deny, the default, answers invoke_denied. Tell the person the message, which names the command for their own terminal.

Inside a workflow step, every teamai workflow command that changes a run answers nested_workflow. Do the step's own work there instead.

Env and secrets

A step gets the team env keys its requires.env lists, and no other team key. A key with no value on this machine fails the step missing_env before it runs, and the message names the fix: teamai env set KEY for a key the team declares; for one it does not, the environment, or teamai env add KEY --secret followed by teamai env set KEY. The person runs env set in their own terminal. A CI job exports each secret under its key name instead. TeamAI masks the value of every key in env/secrets.yaml in run files and output.

CI

When you set up a CI job that starts a run, or one that takes the runs members offer, read references/ci.md.

Questions fréquentes

L'exécution me pose-t-elle des questions pendant son déroulement ?

Non. La compétence indique que personne n'est interrogé pendant l'exécution, toutes les réponses sont donc fixées avant le démarrage.

Comment reprendre une exécution arrêtée ?

Utilisez la commande teamai workflow resume avec le nom de l'exécution.

Que se passe-t-il si une étape échoue ?

L'exécution indique chaque étape en échec, son message et la commande de relance.

Détails

Description originale de l’auteur

Run a team workflow unattended with the local driver. Use in CI or a cloud agent, when a describe reply routed the run to the local driver, or to continue a run on this machine without a coding session.

repo: Tencent/teamai-cli

Popularité

Étoiles GitHub
5.7k
Position au classement
#14745
Licence
—
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