Saltar al contenido
Skillpedia
Programación general5,7 mil · #14745

workflow-local

Qué hace

Esta skill enseña a un agente a ejecutar de principio a fin un flujo de trabajo de equipo de TeamAI sin que una persona responda preguntas. Es para trabajos automatizados y para continuar una ejecución en este equipo.

Cuándo usarla

  • ✓Cuando un trabajo de CI o un agente en la nube necesita ejecutar un flujo de trabajo de equipo sin nadie presente.
  • ✓Cuando una ejecución de flujo de trabajo se detuvo y necesita continuar en esta máquina.
  • ✓Cuando la respuesta de inicio de un flujo de trabajo indica que la ejecución debe usar el controlador local.

Link de la skill

https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow-local/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow-local/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Ejecuta nuestro flujo de trabajo de equipo sin supervisión para el trabajo nocturno y dime el resultado cuando termine.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente inicia el flujo de trabajo con el controlador local, pasando las entradas como un único objeto JSON. Cuando la ejecución termina, el comando informa de éxito o fallo y nombra cualquier paso fallido con su comando de reintento.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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.

Preguntas frecuentes

¿La ejecución me hace preguntas mientras trabaja?

No. La skill indica que no se pregunta nada durante la ejecución, así que todas las respuestas se fijan antes de empezar.

¿Cómo continúo una ejecución detenida?

Usa el comando teamai workflow resume con el nombre de la ejecución.

¿Qué pasa si un paso falla?

La ejecución indica cada paso fallido, su mensaje y el comando de reintento.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
5,7 mil
Posición en el ranking
#14745
Licencia
—
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas