Skip to content
cccskills
FreePublished on GitHub

workflow-local

Run a team workflow in one process without interactive questions, such as in CI or on a cloud agent. Provide inputs before starting, resume stopped runs, and report the outcome, failed step, and any opened pull requests.

OriginalShow the original description

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-cli5,707 stars(GitHub 5,707 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Running a workflow in a CI job
  • Continuing a stopped run on the same machine
  • Providing workflow inputs before unattended execution

Files included (2)

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

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

core

FreeSummary

Manage shared team skills, rules, and documents through TeamAI. This skill guides syncing, publishing, checking differences, and diagnosing configuration problems, while directing setup and knowledge-sharing requests to the appropriate workflows.

  • Sync shared team skills
  • Publish local rules and documents
  • Check differences between local and team resources
Tencent/teamai-cli5.7KUpdated Oct 29, 2026

setup

FreeSummary

Set up TeamAI for a new team or join an existing one. The skill guides installation checks, shared resource management, member and role administration, and removal, with diagnostic checks to verify setup.

  • Create a shared AI environment for a new team
  • Join an existing team
  • Manage members, roles, and shared settings
Tencent/teamai-cli5.7KUpdated Oct 29, 2026

share

FreeSummary

Turn an AI coding session into a concise team learning document. Summarize the problem, decisions, solution, useful tools, and pitfalls, then publish the Markdown document to the team knowledge base through TeamAI.

  • Document the solution to a difficult problem
  • Share a useful workflow or pattern
  • Capture decisions and pitfalls from a long session
Tencent/teamai-cli5.7KUpdated Oct 29, 2026

teamai

FreeSummary

Access TeamAI workflows for sharing skills, rules, documents, and environment settings across AI coding tools. This entry skill loads version-matched guidance for team setup, synchronization, codebase knowledge, and sharing lessons from a session.

  • Start sharing AI settings across a team
  • Sync team skills across AI coding tools
  • Build or search knowledge about codebase architecture
Tencent/teamai-cli5.7KUpdated Oct 29, 2026

wiki

FreeSummary

Turn a large codebase spanning multiple repositories or services into a structured knowledge base. It documents architecture, business rules, and dependencies, links conclusions to source lines, labels confidence in relationships, and supports incremental updates.

  • Documenting architecture across multiple repositories
  • Tracing service dependencies and business rules
  • Updating a knowledge base after code changes
Tencent/teamai-cli5.7KUpdated Oct 29, 2026

workflow

FreeSummary

Coordinate a team workflow from an agent session. Start a named workflow, route each step to the right command or agent, relay status and required choices, and continue until the run finishes or hands control to a person.

  • Starting a team workflow from an agent session
  • Tracking steps and relaying workflow updates
  • Handing approvals or local steps to a person
Tencent/teamai-cli5.7KUpdated Oct 29, 2026

See all skills by Tencent

Report a problem with this skill