Pular para o conteúdo
Skillpedia
Código em geral5,7 mil · #14745

workflow-local

O que ela faz

Esta skill ensina um agente a executar um fluxo de trabalho de equipe do TeamAI do início ao fim, sem uma pessoa respondendo perguntas. É para jobs automatizados e para continuar uma execução neste computador.

Quando usar

  • ✓Quando um job de CI ou um agente em nuvem precisa executar um fluxo de equipe sem ninguém presente.
  • ✓Quando uma execução de fluxo parou e precisa continuar nesta máquina.
  • ✓Quando a resposta de início de um fluxo informa que a execução precisa usar o driver local.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow-local/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Execute nosso fluxo de equipe sem supervisão para o job noturno e me informe o resultado quando terminar.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente inicia o fluxo com o driver local, passando as entradas como um único objeto JSON. Ao fim da execução, o comando informa sucesso ou falha e indica qualquer etapa que falhou, com seu comando de nova tentativa.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.

Perguntas frequentes

A execução me faz perguntas enquanto trabalha?

Não. A skill afirma que ninguém é consultado durante a execução, então todas as respostas são definidas antes de começar.

Como continuo uma execução parada?

Use o comando teamai workflow resume com o nome da execução.

O que acontece se uma etapa falhar?

A execução indica cada etapa que falhou, a mensagem e o comando de nova tentativa.

Detalhes

Descrição original do 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

Popularidade

Estrelas no GitHub
5,7 mil
Posição no ranking
#14745
Licença
—
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas