본문으로 건너뛰기
Skillpedia
일반 코딩5.7k · #14745

workflow-local

하는 일

이 스킬은 사람이 질문에 답하지 않아도 TeamAI 팀 워크플로를 처음부터 끝까지 실행하는 방법을 에이전트에게 가르칩니다. 자동화된 작업과 이 컴퓨터에서 실행을 이어 가는 경우를 위한 스킬입니다.

사용하는 경우

  • ✓CI 작업이나 클라우드 에이전트가 사람 없이 팀 워크플로를 실행해야 할 때.
  • ✓워크플로 실행이 멈춰서 이 컴퓨터에서 이어 가야 할 때.
  • ✓워크플로 시작 응답이 로컬 드라이버를 사용해야 한다고 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow-local/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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 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.

자주 묻는 질문

실행 중에 질문하나요?

아니요. 스킬은 실행 중에 아무에게도 질문하지 않으므로 모든 답변은 시작 전에 정해진다고 설명합니다.

멈춘 실행은 어떻게 이어 가나요?

실행 이름과 함께 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬