workflow
하는 일
이 스킬은 코딩 세션 안에서 팀 워크플로를 단계별로 진행하는 방법을 에이전트에게 가르칩니다. TeamAI가 출력하는 명령을 따르고, 실행이 계속되는 동안 사람에게 상황을 알려 줍니다.
사용하는 경우
- ✓생성된 워크플로 스킬이 에이전트에게 팀 워크플로 실행을 지시할 때.
- ✓사람이 이 세션에서 팀 워크플로를 실행해 달라고 요청할 때.
- ✓워크플로 실행이 계속하려면 사람에게 질문 하나를 해야 할 때.
스킬 링크
https://github.com/Tencent/teamai-cli/blob/main/skill-data/workflow/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“저에게 주어진 팀 워크플로를 이 세션에서 실행하고 각 단계마다 진행 상황을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 설명 모드로 워크플로를 시작하고, 사람이 답해야 할 질문을 공유한 뒤, 출력된 명령을 순서대로 실행합니다. 분리된 실행기와 하위 에이전트가 작업 단계를 수행합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Drive a team workflow
Your role
You orchestrate. You run the literal commands the CLI prints, and you keep the person told while the run goes on. Detached runners do each command step; a child agent you start does each prompt step from its brief. Step work belongs to them, and yours is the literals and the person. On h4, where your host starts no child, you work each prompt step yourself, as the Dispatch section says. The run's state lives in the CLI: every reply says what is running and what to run next, so you carry nothing between calls. Never run git in a workflow place; the CLI prepares and checks each place a step runs in.
Start
Run teamai workflow start --describe <name> --driver skill with the workflow name from the skill that sent you. Where this machine runs teamai through npx teamai-cli, use that in its place; every literal the CLI prints after this already does.
Act on data.describe.ask.kind:
start: tell the personask.saywhen the reply has it, then runask.start. In an unattended run (CI, a cloud agent) describe never asks the person; whenask.inputsis listed, fill{inputs}inask.startwith their values from your task, as one JSON object. The slot sits inside single quotes, so write each'in that JSON as'\''.ask: the question is the person's to answer, once, so the run goes on without them after. In one message, give themask.question.textas it is, each entry ofask.question.inputs, and thelabelof each option as their choices. An entry with avalueis a proposal: show it with itswhy, and say they may keep, change or empty it. An entry without one is theirs to fill in. Wait for their pick, also when an option is marked recommended. In thestartof the option they pick, replace{inputs}with their answers as one JSON object, each'in it written as'\'', and run it. Those options are the whole choice: when the person wants a start none of them offers, show them the options again.local: tell the personask.reasonand give themask.startfor their own terminal. It is theirs to run.denied: tell the personask.reason. Nothing is left to run here.tool: this session names no tool, and the run needs one. Inask.describe, replace{tool}with the entry ofask.toolsfor the tool you work in, run it, and act on its reply instead. When none of them is the tool you work in, tell the personask.reason.
Done when a reply carries data.turn with a run id, or the person has ask.reason.
The loop
A turn lists the actions that wait for you, the running attempts, the events since your last call, and then. When nothing runs, waiting.reason says why.
- Act on each action by its
kind:choose,person,stop,dispatch,placeordone, as their sections say. - Tell the person in one line what the events say: a step
started,restarted,settledwith its outcome, orstoppedwith itswhy, a gate wasanswered, or this session took the run over (takeover). Tell themwaiting.reasonwhen it changes. Forjudging,judgedandjudging-off, followreferences/judging.md. - Run
then.runof the newest turn you have:poll: in the background when your host can, so you stay free to talk with the person; otherwise in the foreground. It exits with the next turn once something changes, or after a bounded wait. Keep one poll of the run going at a time.wake: in the foreground. Work waits for you, and the turn it returns carries it.
- Repeat with that turn.
Done when a turn has no then.
In an unattended run nobody reads you: step 2 is for your own log, and you ask nothing. Keep running then until a turn has none, also after done while it carries judging, so the judge's label lands before your session ends.
Run teamai score --drain before your session ends.
An unattended session that reaches a handoff reports that the run waits for a person, and stops.
When you have lost the last turn, after a compaction or in a new session, run teamai workflow next <run> --driver skill once for the current one.
A report you run answers with data.runner, not a turn. After one, go on with then of your newest turn.
Choose
A choose action asks for one answer, and about says what it is for:
host: comes once per run that has prompt steps, or that you judge. Followreference: it says which option fits your host and how to run it.gate: an optional approval or
자주 묻는 질문
git 명령을 실행해야 하나요?
아니요. 스킬은 CLI가 각 단계가 실행될 장소를 준비하고 확인하므로 워크플로 단계에서는 git을 실행하지 않는다고 설명합니다.
메시지 사이에 에이전트가 실행 상태를 기억하나요?
아니요. 실행 상태는 CLI에 저장되며, 모든 응답은 다음에 실행할 명령을 알려 준다고 설명합니다.
호스트가 하위 에이전트를 시작하지 못하면요?
그 경우 에이전트가 각 프롬프트 단계를 직접 처리한다고 스킬이 설명합니다.
상세 정보
작성자의 원본 설명
Drive a team workflow from this coding session. Use when a generated workflow skill (workflow-<alias or name>, or a teamai default such as teamai-share-learnings) sent you here, or the person asks to run a team workflow.
repo: Tencent/teamai-cli
인기도
- GitHub 스타
- 5.7k
- 순위
- #14746
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
core
5.7k팀의 공유 AI 스킬과 규칙을 pull과 push로 동기화하고, 상태를 확인하고, 상태 점검을 실행하며, 다른 TeamAI 워크플로에 연결하도록 에이전트를 돕습니다.
setup
5.7k관리자로서 새 팀 저장소를 만들거나 기존 저장소에 참여해 팀의 TeamAI를 설정하고, 구성원, 역할, 제거를 관리하도록 에이전트를 돕습니다.
share
5.7k코딩 세션에서 배운 내용을 짧은 팀 학습 문서로 바꾸고, teamai contribute 명령으로 팀 지식 베이스에 게시하도록 에이전트를 돕습니다.
wiki
5.7k규모가 큰 다중 저장소 코드베이스를 구조화된 지식 베이스로 바꾸며, 각 결론이 그 출처가 된 코드 줄과 연결되도록 에이전트를 돕습니다.