本文へ移動
cccskills
無料GitHub で公開日本語紹介

workflow-local

CIやクラウド環境などでチームのワークフローを対話なしで実行し、入力や承認の扱いを設定して、終了結果や失敗した工程を報告するスキルです。

原文原文の説明を見る

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.

Tencent/teamai-cliスター 5,708(GitHub 5,708 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • CIジョブからワークフローを実行したいとき
  • 停止した実行を同じマシンで再開したいとき
  • 対話なしで定型作業を進めたいとき

日本語での紹介

できること

チームのワークフローをローカルドライバーで実行します。コマンド工程はプロセスとして、指示文に基づく工程はヘッドレスツールを通じて処理し、実行中に利用者へ質問しません。そのため開始前に必要な入力をまとめ、teamai workflow start で実行します。途中で停止した実行は、run IDを指定して再開できます。終了後は成否、失敗した工程のメッセージ、作成されたプルリクエストをジョブログまたは返信で報告します。

こんなときに便利

CIジョブやクラウドエージェントから定型のチーム作業を実行したいときに向いています。対話型セッションでは実行できない工程がローカルドライバーに割り当てられた場合や、別のセッションから引き継いだ実行を同じマシンで続ける場合にも使えます。

使い方の例

  • 「このワークフローに必要な入力を確認して、CIで実行して」
  • 「停止したrunをこのマシンで再開して」

注意点

実行中に質問への回答はできないため、必要な入力は事前に用意します。必須承認が必要な工程は実行に失敗し、任意の承認は設定によって自動承認または省略されます。必要な環境変数がマシンにない場合も工程は失敗します。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(2)

  • SKILL.md3.0 KB
  • references/ci.md2.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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. 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; the message offers teamai env set only for a key the team declares, and otherwise the environment, or teamai env add KEY --secret to declare it. 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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

core

無料概要あり

チーム共通のスキル・ルール・文書の同期や公開、差分確認、設定の診断を支援し、依頼に応じて初期設定や知識共有の手順へ案内するスキルです。

  • チーム共通のスキルを同期したいとき
  • 手元のルールや文書を公開したいとき
  • ローカルとチーム版の差分確認
Tencent/teamai-cli5,7082026年10月29日 更新

setup

無料概要あり

チーム向けのAI共有環境の新規作成や既存チームへの参加を案内し、メンバー・役割・共有設定の管理から端末からの削除まで支援するスキルです。

  • チームのAI共有環境を新設したいとき
  • 既存チームに参加したいとき
  • メンバー・役割・共有設定の管理
Tencent/teamai-cli5,7082026年10月29日 更新

share

無料概要あり

AIとの作業で解決した問題や発見した手順を振り返り、判断理由・回避策・注意点を簡潔な文書にまとめ、チームの知識ベースへ公開するスキルです。

  • 難しい問題の解決策を記録したいとき
  • 便利な作業手順やパターンの共有
  • 長いセッションの判断や注意点の整理
Tencent/teamai-cli5,7082026年10月29日 更新

teamai

無料概要あり

複数のAIコーディングツールでチームのスキルや設定・文書を共有し、導入・同期・コード構成の知識化・学びの共有に必要な手順へ案内するスキルです。

  • チームでAI設定の共有を始めたいとき
  • 複数のAIツールでスキルを同期したいとき
  • コード構成の知識を蓄積・検索したいとき
Tencent/teamai-cli5,7082026年10月29日 更新

wiki

無料概要あり

複数リポジトリやマイクロサービスのコードを解析し、構成・業務ルール・依存関係を、根拠となるコード行と関係の確信度を添えた知識ベースに整理するスキル。

  • 複数リポジトリの構成を文書化したいとき
  • サービスの依存関係や業務ルールの整理
  • コード変更に合わせた知識ベース更新
Tencent/teamai-cli5,7082026年10月29日 更新

workflow

無料概要あり

チームのワークフローを開始し、各工程を担当するエージェントやコマンドへ引き継ぎながら、進行状況と次の操作を利用者に伝えるスキルです。

  • チームのワークフローを開始したいとき
  • 複数工程の進行状況を管理したいとき
  • 承認や端末操作を利用者に引き継ぎたいとき
Tencent/teamai-cli5,7082026年10月29日 更新

Tencent のスキルをすべて見る

このスキルの問題を報告する