workflow-local
できること
このスキルは、人が質問に答えなくても、TeamAIのチームのワークフローを最初から最後まで実行する方法をエージェントに教えます。無人の自動ジョブと、このコンピューター上での実行の継続のためのものです。
使う場面
- ✓CIのジョブやクラウドのエージェントが、誰もいない状態でチームのワークフローを実行する必要があるとき。
- ✓ワークフローの実行が止まり、このマシン上で続ける必要があるとき。
- ✓ワークフローの開始の応答が、ローカルのドライバーを使うよう指示しているとき。
スキルのリンク
https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow-local/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“夜間のジョブのために、チームのワークフローを無人で実行し、終わったら結果を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、入力を一つのJSONオブジェクトとして渡し、ローカルのドライバーでワークフローを開始します。実行が終わると、コマンドは成功か失敗かを報告し、失敗した手順と再試行のコマンドを示します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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 skillansweredask.kind: local: a coding session cannot run some step, andask.reasonsays 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
- Run
teamai workflow start <name> --describeand read the inputs it lists. - Start the run:
teamai workflow start <name> --driver local, with the inputs as one JSON object in--inputs.teamai workflow start --helplists the other options, such as answering optional approvals and picking the prompt tool. - 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'sworkflows.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.
よくある質問
実行中に質問されますか?
いいえ。実行中は誰にも質問されないので、すべての回答は開始の前に決めておくと説明されています。
止まった実行を続けるには?
実行の名前とともに、teamai workflow resumeコマンドを使います。
手順が失敗したらどうなりますか?
実行は、失敗した各手順、そのメッセージ、再試行のコマンドを示します。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 5.7k
- ランキング
- #14745
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
core
5.7kエージェントが、チームの共有のAIスキルとルールを、pullとpushで同期し、その状態を確認し、健全性チェックを実行して、他のTeamAIのワークフローにつなげられるよう支援します。
setup
5.7kエージェントが、管理者として新しいチームのリポジトリを作るか、既存のものに参加して、TeamAIを設定できるよう支援します。メンバー、役割、削除も管理します。
share
5.7kエージェントが、コーディングのセッションで分かったことを短い学習の内容にまとめ、teamai contributeコマンドでチームの知識ベースに公開できるよう支援します。
wiki
5.7kエージェントが、複数のリポジトリからなる大規模なコードベースを、各結論が元のコードの行に結びつく、構造化された知識ベースに変えられるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。