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규모가 큰 다중 저장소 코드베이스를 구조화된 지식 베이스로 바꾸며, 각 결론이 그 출처가 된 코드 줄과 연결되도록 에이전트를 돕습니다.