Zum Inhalt springen
Skillpedia
Allgemeines Programmieren5.7k · #14745

workflow-local

Was er macht

Dieser Skill zeigt einem Agenten, wie er einen TeamAI-Team-Ablauf von Anfang bis Ende ausführt, ohne dass eine Person Fragen beantwortet. Er ist für automatisierte Jobs gedacht und dafür, einen Lauf auf diesem Rechner fortzusetzen.

Wann du ihn nutzt

  • ✓Wenn ein CI-Job oder ein Cloud-Agent einen Team-Ablauf ohne anwesende Person ausführen muss.
  • ✓Wenn ein Ablauf angehalten wurde und auf diesem Rechner weiterlaufen muss.
  • ✓Wenn die Antwort auf den Start eines Ablaufs sagt, dass der Lauf den lokalen Treiber nutzen muss.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow-local/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Führe unseren Team-Ablauf für den nächtlichen Job ohne Aufsicht aus und sag mir das Ergebnis, wenn er fertig ist.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent startet den Ablauf mit dem lokalen Treiber und übergibt die Eingaben als ein JSON-Objekt. Wenn der Lauf endet, meldet der Befehl Erfolg oder Fehler und nennt jeden fehlgeschlagenen Schritt mit seinem Wiederholungsbefehl.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.

Häufige Fragen

Stellt der Lauf mir Fragen, während er arbeitet?

Nein. Der Skill sagt, dass während des Laufs niemand gefragt wird, alle Antworten also vor dem Start feststehen.

Wie setze ich einen angehaltenen Lauf fort?

Mit dem Befehl teamai workflow resume und dem Namen des Laufs.

Was passiert, wenn ein Schritt fehlschlägt?

Der Lauf nennt jeden fehlgeschlagenen Schritt, seine Meldung und den Wiederholungsbefehl.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
5.7k
Platz im Ranking
#14745
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills