Agent Orchestrator
NeverSight/learn-skills.dev
Meta-agent skill for orchestrating complex tasks through autonomous sub-agents.
Designs a project-specific agent harness: defines specialist agents, writes the skills they follow, picks an execution mode and model for each, and keeps the setup maintained.
SKILL.md written in Korean; this summary is our English description.
$ npx skills add revfactory/harness --skill harness -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install revfactory/harness harness --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/revfactory/harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/harness .claude/skills/harness && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "harness" agent skill from https://github.com/revfactory/harness/tree/main/skills/harness into .claude/skills/harness/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/revfactory/harness/tree/main/skills/harnessType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add revfactory/harness --skill harness -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install revfactory/harness harness --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/harness .agents/skills/harness && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "harness" agent skill from https://github.com/revfactory/harness/tree/main/skills/harness into .agents/skills/harness/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness --skill harness -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install revfactory/harness harness --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/harness .cursor/skills/harness && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "harness" agent skill from https://github.com/revfactory/harness/tree/main/skills/harness into .cursor/skills/harness/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/revfactory/harness.git --path skills/harness--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add revfactory/harness --skill harness -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install revfactory/harness harness --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/harness .gemini/skills/harness && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "harness" agent skill from https://github.com/revfactory/harness/tree/main/skills/harness into .gemini/skills/harness/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install revfactory/harness harnessInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add revfactory/harness --skill harness -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/revfactory/harness.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/harness .github/skills/harness && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "harness" agent skill from https://github.com/revfactory/harness/tree/main/skills/harness into .github/skills/harness/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness --skill harness -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install revfactory/harness harness --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/harness .opencode/skills/harness && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "harness" agent skill from https://github.com/revfactory/harness/tree/main/skills/harness into .opencode/skills/harness/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
harnessDesigns a project-specific agent harness: defines specialist agents, writes the skills they follow, picks an execution mode and model for each, and keeps the setup maintained.
Written in Korean, this meta-skill builds a harness for a project: agent definitions go in the project's `.claude/agents/` folder (who works) and skills in `.claude/skills/` (how the work is done). Step 0 inspects what exists and decides between a new build, an extension of an existing harness or maintenance. It also flags old v1 orchestrators that use TeamCreate, TeamDelete or the experimental agent-teams variable and proposes moving them to v2.
Later steps analyze the domain and tasks, choose an execution mode (a code-defined workflow, a persistent agent for back-and-forth with one specialist, or a one-shot subagent), design the team, and choose a model by difficulty: fable for the hardest long autonomous work, opus for design, code generation and cross-checking, sonnet for routine jobs. Only invocation conditions and change history go into `CLAUDE.md`. Reference files cover execution modes, model choice, QA agents and skill writing.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 92d9f1b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Harness Agent Team Designer loads about 4.5k tokens when it runs, and up to ~37k if it reads all its reference files. Until then it costs about 80 tokens; SKILL.md has 3,129 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from revfactory/harness at commit 92d9f1b, republished under its Apache-2.0 licence (© revfactory). 3,129 words, ~4,482 tokens.
.claude/skills/harness/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.프로젝트에 맞는 하네스를 설계한다. 각 에이전트의 역할을 정의하고, 에이전트가 작업할 때 따를 스킬을 만든다.
프로젝트/.claude/agents/에, 스킬은 프로젝트/.claude/skills/에 만든다. 에이전트에는 누가 일하는지를, 스킬에는 그 일을 어떻게 하는지를 적는다.CLAUDE.md에 호출 조건과 변경 이력만 기록한다.CLAUDE.md에 계속 반영한다. 회고하고 변경 사항을 찾아내는 작업은 harness:evolve 스킬이 맡는다.CLAUDE.md 기록은 사용자가 대화에 쓰는 언어로 작성한다. 이 스킬 문서와 references/의 템플릿이 한국어로 쓰였다는 이유로 산출물을 한국어로 쓰지 않는다. 템플릿의 제목과 예시 문구도 그 언어로 옮긴다. 사용자가 언어를 따로 정하면 그 언어를 따르고, 따로 정하지 않은 채 기존 하네스를 확장하면 기존 파일의 언어를 따른다.하네스 스킬을 불러오면 기존 구성을 먼저 확인한다.
프로젝트/.claude/agents/, 프로젝트/.claude/skills/, 프로젝트/CLAUDE.md를 읽는다.
현재 상태에 따라 진행할 절차를 고른다.
| 변경 내용 | 1단계 | 2단계 | 3단계 | 4단계 | 5단계 | 6단계 |
|---|---|---|---|---|---|---|
| 에이전트 추가 | 생략하고 0단계 결과 사용 | 어떤 실행 모드에서 어느 팀과 단계에 둘지만 결정 | 필수 | 전용 스킬이 필요할 때 | 오케스트레이터 수정 | 필수 |
| 스킬 추가·수정 | 생략 | 생략 | 생략 | 필수 | 연결이 바뀔 때 | 필수 |
| 구조·실행 모드 변경 | 생략 | 필수 | 영향을 받는 에이전트만 | 영향을 받는 스킬만 | 필수 | 필수 |
기존 오케스트레이터에 TeamCreate, TeamDelete, CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS가 있으면 v1 산출물이다. 현재 실행 환경에서는 작동하지 않으므로 v2로 옮기자고 제안한다. 자세한 방법은 references/execution-modes.md의 「v1에서 v2로 전환」을 따른다.
실제 에이전트·스킬 목록과 CLAUDE.md 기록을 대조해 불일치를 찾는다.
점검 결과와 실행 계획을 사용자에게 알리고 확인받는다.
Harness v2는 Claude Code의 멀티에이전트 기능 세 가지를 사용한다. 작업 흐름에 맞춰 다음 모드 가운데 하나를 고른다.
| 실행 모드 | 사용하는 기능 | 알맞은 작업 |
|---|---|---|
| 워크플로 조율 | Workflow 스크립트의 agent(), pipeline(), parallel(), phase() | 처리 목록, 검증 절차, 반복 횟수를 코드로 정할 수 있는 작업. 스키마에 맞춘 결과가 필요하거나 Agent를 수십 번 이상 호출해야 하는 작업 |
| 지속형 에이전트 협업 | Agent(name:), SendMessage, TaskCreate, TaskUpdate | 이름 있는 전문가가 대화 맥락을 유지하면서 피드백·협상·공동 편집을 반복해야 하는 작업 |
| 서브에이전트 위임 | Agent 한 번 호출. 기본적으로 백그라운드에서 실행하며 병렬 호출 가능 | 에이전트끼리 대화할 필요가 없고 결과만 한 번 받으면 되는 작업 |
다음 순서로 결정한다.
Workflow 도구를 쓰려면 사용자가 명시적으로 동의해야 한다. 사용자가 직접 워크플로 실행을 요청했거나, Workflow 호출을 지시하는 오케스트레이터 스킬을 사용자가 불러왔다면 동의한 것으로 본다. 기본 실행은 에이전트 몇 명으로 제한하고, 사용자가 "철저히", "전수"처럼 넓은 조사를 요구했을 때만 대규모로 늘린다.
실행 모드 비교와 동시 실행 상한, 스키마, 토큰 예산, 재개 조건은
references/execution-modes.md에서 확인한다.
references/team-patterns.md에 있다.pipeline()에 알맞다.pipeline()과 필요할 때만 parallel()을 쓴다.confirmed로 판정한 항목만 통과시킨다. refuted나 uncertain 판정은 통과로 세지 않는다.필요한 전문 지식, 병렬 처리 가능 여부, 유지해야 할 대화 맥락, 다시 쓸 가능성을 기준으로 에이전트를 나눈다. 자세한 표는 references/team-patterns.md의 「에이전트 분리 기준」에서 확인한다.
여러 세션에서 재사용할 전문 에이전트는 프로젝트/.claude/agents/{name}.md 파일로 정의한다. 반복해서 사용할 역할을 Agent 도구의 prompt에만 직접 넣지 않는다.
Agent 도구에서는 subagent_type: "{name}", Workflow에서는 agentType: "{name}"으로 부른다.재사용할 전문가 역할은 사용자 정의 유형으로 파일에 만들고, 호출할 때 그 파일의 이름을 subagent_type이나 agentType에 지정한다. general-purpose, Explore, Plan 같은 기본 제공 유형을 그대로 쓰는 단발 작업에는 별도 정의 파일을 만들지 않는다.
새 에이전트 파일을 만들기 전에 프로젝트/.claude/agents/의 기존 에이전트와 역할이 겹치는지 확인한다. 1단계를 생략하고 에이전트만 추가할 때도 이 확인은 건너뛰지 않는다. 하네스를 여러 번 구축하거나 확장하면 같은 역할의 에이전트가 이름만 달리해 쌓일 수 있기 때문이다. 겹치면 새 이름으로 만들지 말고 기존 에이전트를 그대로 쓰거나 확장한다. 판단 기준과 예외(도메인을 의도적으로 특화한 경우)는 references/team-patterns.md의 「에이전트 재사용 설계」에서 확인한다.
업무의 복잡도, 작업 기간, 자율성, 응답 속도를 기준으로 에이전트마다 모델을 고른다. YAML 프론트매터(머리말)의 model:이나 호출 인자인 model, opts.model에 지정하고, 선택 이유를 에이전트 정의나 오케스트레이터에 주석으로 남긴다.
| 모델 | 선택 기준 | 대표 업무 |
|---|---|---|
| fable | 스스로 계획하고 여러 단계를 연결해 장기간 자율적으로 실행해야 하는 최고 난도 업무 | 에이전트 조율, 계획 수립과 장기 실행, 방대한 자료 통합, 막연한 아이디어 구체화 |
| opus | 범위는 분명하지만 깊은 추론과 분석이 필요한 전문 업무 | 설계·아키텍처, 코드 생성, 복잡한 분석, 교차 검증, 연구 방법 비판, 창작 |
| sonnet | 절차가 분명하고 빠른 처리가 중요한 일상 업무 | 로그 분석, 형식 변환, 정적 파일 검사, 배포 스크립트 실행, 단순 수집, 일반 글쓰기·요약 |
모델별 자세한 기준은
references/model-selection-guide.md에서 확인한다.
YAML 프론트매터에는 name과 description을 반드시 넣는다. 필요하면 사용할 도구를 제한하는 tools와 모델을 바꾸는 model을 추가한다. 읽기 전용 검토·분석 에이전트의 tools에서는 Edit와 Write를 빼서 파일을 바꾸지 못하게 한다.
반대로 산출물을 고치는 에이전트에는 Write와 함께 Edit도 준다. Edit가 없으면 한 줄을 고칠 때도 파일 전체를 다시 써야 하므로, 산출물이 크면 에이전트가 수정을 포기하고 우회한다. 또 tools에 적은 도구가 실행할 때 주어지지 않은 사례가 있으므로, 지속형 에이전트에게는 첫 보고에서 실제로 쓸 수 있는 도구 목록을 알리게 한다.
본문에는 핵심 역할, 작업 원칙, 입력·출력 규칙, 오류 처리, 협업 방법을 반드시 적는다. 지속형 에이전트에는 ## 통신 규칙을 추가해 SendMessage를 주고받을 대상과 공유 작업 목록 사용법을 정한다.
정의 템플릿, 전체 예시,
tools를 제한할 때 주의할 점은references/team-patterns.md의 「에이전트 정의 구조」에서 확인한다.
Explore는 읽기 전용이라 검증 스크립트를 실행할 수 없다.references/qa-agent-guide.md를 따른다.각 에이전트가 따를 스킬을 프로젝트/.claude/skills/{name}/SKILL.md에 만든다. 자세한 작성법은 references/skill-writing-guide.md를 따른다.
새 스킬을 만들기 전에 프로젝트/.claude/skills/의 기존 스킬과 기능이 겹치는지 확인한다. 겹치면 새 이름으로 만들지 말고 기존 스킬을 에이전트에 연결하거나 확장한다. 판단 기준과 예외(도메인을 의도적으로 특화한 경우), 어디까지 일반화할지는 references/skill-writing-guide.md의 「스킬 재사용 설계」에서 확인한다.
skill-name/
├── SKILL.md # 필수
│ ├── YAML 프론트매터 # name과 description 필수
│ └── Markdown 본문
├── scripts/ # 선택: 반복하거나 결과가 항상 같아야 하는 작업의 실행 코드
├── references/ # 선택: 필요할 때만 읽는 참조 문서
└── assets/ # 선택: 템플릿, 이미지처럼 산출물에 쓰는 파일Claude는 스킬의 name과 description을 보고 어떤 스킬을 불러올지 판단한다. 이 가운데 description에는 스킬이 하는 일과 사용해야 하는 상황을 구체적으로 적고, 비슷해 보이지만 사용하면 안 되는 경우도 구분한다.
나쁜 예: "PDF 문서를 처리하는 스킬"
좋은 예: "PDF 파일 읽기, 텍스트·표 추출, 병합, 분할, 회전, 워터마크, 암호화, OCR 등 PDF 작업을 수행한다. 사용자가 .pdf 파일을 언급하거나 PDF 산출물을 요청하면 반드시 사용한다."
| 원칙 | 적용 방법 |
|---|---|
| 이유부터 설명한다 | ALWAYS, NEVER만 나열하지 말고 왜 필요한 규칙인지 밝힌다. 이유를 알아야 예외 상황에서도 올바르게 판단할 수 있다. |
| 간결하게 쓴다 | SKILL.md는 500줄 미만으로 유지한다. 판단에 도움이 되지 않는 내용은 지우거나 references/로 옮긴다. |
| 원리로 일반화한다 | 특정 예시에만 맞는 규칙을 만들지 않는다. 여러 입력에 적용할 수 있는 판단 기준을 적는다. |
| 반복 코드는 미리 넣는다 | 테스트할 때 여러 에이전트가 같은 스크립트를 다시 작성한다면 scripts/에 넣는다. |
| 지시문으로 쓴다 | ~한다나 ~하라 가운데 문서에 맞는 한 가지 어미를 골라 통일한다. 해야 할 행동이 분명하게 드러나야 한다. |
스킬은 필요한 정보와 실행 코드를 다음 시점에 불러온다.
| 정보 | 불러오는 시점 | 권장 분량 |
|---|---|---|
메타데이터(name, description) | 항상 | 약 100단어 |
SKILL.md 본문 | 스킬을 불러올 때 | 500줄 미만 |
references/ | 해당 자료가 필요할 때 | 제한 없음 |
scripts/ | 반복 작업이나 결과가 항상 같아야 하는 작업을 실행할 때 | 제한 없음. 내용을 읽지 않고 바로 실행할 수 있음 |
SKILL.md가 500줄에 가까워지면 세부 내용을 references/로 옮기고, 본문에는 언제 어떤 파일을 읽을지 적는다.오케스트레이터도 스킬이다. 개별 에이전트와 스킬을 하나의 작업 흐름으로 묶고, 누가 언제 어떤 순서로 협업하는지 정한다. 모드별 전체 템플릿은 references/orchestrator-template.md, 워크플로 스크립트 예시는 references/workflow-recipes.md에 있다.
기존 하네스를 확장할 때는 오케스트레이터를 새로 만들지 말고 기존 파일을 고친다. 에이전트를 추가하면 구성, 작업 배정, 데이터 전달 순서에 반영하고 description에도 새 호출 조건을 넣는다.
A. 워크플로 조율
오케스트레이터 스킬에 Workflow 스크립트를 정의한다. 스크립트는 meta, phase(), pipeline(), parallel(), agent()로 구성한다. 사용자 정의 유형은 agentType으로 지정하고, 스키마에 맞춘 결과는 schema로 받는다.
[오케스트레이터 스킬] → Workflow(script)
├── phase('수집'): pipeline(items, ...) ← 미리 정한 목록을 분산 처리
├── phase('검증'): 적대적 검증 또는 심사위원단
└── return 구조화된 결과 → 메인이 종합 보고서 작성B. 지속형 에이전트 협업
이름 있는 에이전트를 실행한 뒤 공유 작업 목록과 SendMessage로 조율한다. TeamCreate와 TeamDelete는 더 이상 없다. 명시적인 팀 객체를 만들지 않으며, 세션에서 이름을 붙여 실행한 에이전트는 자동으로 구성되는 하나의 협업 그룹에 속한다. 해당 에이전트에는 이전 대화 맥락을 유지한 채 다시 메시지를 보낼 수 있다.
[메인 에이전트(리더)]
├── Agent(name: "researcher", ...) / Agent(name: "critic", ...) ← 병렬 실행
├── TaskCreate(작업 + 의존 관계)
├── SendMessage({to: "critic"}, "researcher의 초안을 검토하라")
└── 결과 수집 및 종합C. 서브에이전트 위임
메시지 한 번에 Agent 도구를 N번 병렬로 호출하고 완료 알림에서 결과를 모은다. 호출한 에이전트는 기본적으로 백그라운드에서 실행된다.
단계마다 작업 성격이 다르면 혼합 모드로 구성할 수 있다. 예를 들어 워크플로로 자료를 모은 뒤 지속형 에이전트가 합의해 통합하거나, 지속형 에이전트가 만든 결과를 워크플로로 적대적 검증할 수 있다. 각 단계 위에 **실행 모드:**를 적는다.
| 방법 | 구현 | 알맞은 실행 모드 | 사용할 때 |
|---|---|---|---|
| 구조화된 반환값 | Workflow의 agent(prompt, {schema})가 검증된 JSON 반환 | 워크플로 조율 | 다음 단계가 결과를 코드로 처리해야 할 때 |
| 일반 반환값 | Agent 도구의 반환 메시지 | 서브에이전트 | 메인이 요약 결과를 직접 모을 때 |
| 메시지 | SendMessage로 에이전트끼리 직접 전달 | 지속형 에이전트 | 실시간 조율과 피드백이 필요할 때 |
| 공유 작업 목록 | TaskCreate, TaskUpdate로 상태 공유 | 지속형 에이전트 | 진행 상황, 의존 관계, 동적 배정을 관리할 때 |
| 파일 | 정해 둔 경로에 쓰고 읽기 | 모든 모드 | 데이터가 크거나 나중에 작업 과정을 확인해야 할 때 |
파일로 전달할 때는 다음 규칙을 지킨다.
_workspace/에 중간 산출물을 저장한다.{phase}_{agent}_{artifact}.{ext} 형식을 쓴다. 예: 01_analyst_requirements.md_workspace/는 사후 검증을 위해 남긴다.오케스트레이터에 오류 처리 방침을 넣는다.
agent()는 null을 반환하고 parallel()은 실패를 예외로 던지지 않는다. 결과 배열에 .filter(Boolean)을 적용하고 빠진 항목 수를 log()로 알려야 한다.SendMessage로 상태를 확인하고 다시 지시한다. 그래도 실패하면 같은 사용자 정의 유형을 새 이름으로 실행하고, 필요한 작업 맥락을 프롬프트로 넘긴다.오류 유형별 대응 방법은
references/orchestrator-template.md에서 해당 실행 모드 템플릿의 「오류 처리」를 확인한다.
| 작업 규모 | 지속형 에이전트 수 | 워크플로의 Agent 호출 규모 |
|---|---|---|
| 소규모: 작업 10개 미만 | 2~3명 | 2~5건 |
| 중규모: 작업 10~20개 | 3~5명 | 약 10건. 동시 실행 상한을 넘으면 자동 대기 |
| 대규모: 작업 20개 초과 | 감독자 + 작업자 3~5명 | 수십~수백 건. 전체 상한 1,000건 |
+500k처럼 토큰 예산을 지정하면 워크플로 스크립트에서 budget.remaining()을 확인해 실행 규모를 조절한다.CLAUDE.md에 하네스 연결 정보 기록구성을 마치면 프로젝트의 CLAUDE.md에 하네스가 있다는 사실과 호출 조건을 기록한다. CLAUDE.md는 새 세션마다 읽히므로 자세한 실행 규칙을 반복해서 넣지 않는다.
## 하네스: {도메인명}
**목표:** {하네스의 핵심 목표 한 줄}
**호출 조건:** {도메인} 관련 작업을 요청받으면 `{orchestrator-skill-name}` 스킬을 사용한다. 단순 질문에는 직접 답해도 된다.
**변경 이력:**
| 날짜 | 변경 내용 | 대상 | 사유 |
| --- | --- | --- | --- |
| {YYYY-MM-DD} | Harness v2로 처음 구성 | 전체 | - |에이전트·스킬 목록, 디렉터리 구조, 자세한 실행 규칙은 넣지 않는다. 이 정보는 오케스트레이터 스킬과 .claude/agents/, .claude/skills/에서 관리한다. CLAUDE.md에는 호출 조건과 변경 이력만 둔다.
오케스트레이터는 처음 실행할 때뿐 아니라 결과를 다시 고칠 때도 작동해야 한다.
description에 다시 실행, 재실행, 업데이트, 수정, 보완, {도메인}의 {부분 작업}만 다시, 이전 결과를 바탕으로, 결과 개선 같은 표현을 넣는다._workspace/가 있고 일부만 고쳐 달라는 요청이면 해당 단계나 에이전트만 다시 실행한다._workspace/가 있고 새 입력을 받았으면 기존 디렉터리를 타임스탬프가 붙은 디렉터리로 옮긴 뒤 새로 실행한다._workspace/가 없으면 처음부터 실행한다.runId가 있으면 resumeFromRunId로 재개할 수 있다. 바뀌지 않은 agent() 호출은 캐시 결과를 사용한다.생성한 하네스를 검증한다. 자세한 방법은 references/skill-testing-guide.md를 따른다.
name과 description이 있는지 확인한다..claude/commands/에 명령 파일을 만들지 않았는지 확인한다.TeamCreate, TeamDelete, team_name, 실험 기능 플래그가 남지 않았는지 확인한다.meta가 값만 담은 리터럴인지, Date.now()와 Math.random()을 쓰지 않았는지, 전체 결과를 기다려야 할 때만 parallel()을 썼는지, .filter(Boolean)이 빠지지 않았는지, phase() 제목이 meta.phases와 일치하는지 확인한다.SendMessage의 발신·수신 경로, 작업 의존 관계, 에이전트 수를 확인한다.scripts/에 넣는다.명백히 무관한 요청은 경계를 검증하지 못한다. 예를 들어 이미지 생성 스킬을 시험할 때 피보나치 함수 작성보다 이 엑셀 파일의 차트를 PNG로 추출해 줘가 더 좋은 경계 사례다. 결과는 이미지지만 실제로는 스프레드시트 도구가 더 알맞기 때문이다. 기존 스킬과 호출 조건이 겹치는지도 확인한다.
오케스트레이터 스킬에 ## 테스트 시나리오를 만들고 정상 흐름 한 가지와 오류 흐름 한 가지 이상을 적는다.
하네스는 한 번 만들고 끝나는 산출물이 아니다.
실행 결과를 회고하고 피드백을 반영하는 작업은 harness:evolve 스킬이 맡는다. 사용자가 하네스 회고, 하네스 진화, 피드백 반영해줘라고 요청하면 harness:evolve를 사용한다. 이 스킬은 처음 구성과 현재 상태의 차이를 분석하고, 여러 상황에 적용할 수 있도록 피드백을 정리해 에이전트·스킬·오케스트레이터에 반영한다. CLAUDE.md 변경 이력도 갱신한다.
이 harness 스킬은 기존 하네스를 운영하고 유지 보수하는 다음 절차를 직접 처리한다.
.claude/agents/, .claude/skills/, 오케스트레이터 구성을 비교해 불일치 목록을 만들고 사용자에게 알린다.CLAUDE.md에 날짜, 변경 내용, 대상, 사유를 적는다.CLAUDE.md와 실제 파일이 일치하는지 마지막으로 확인한다.다음 상황에서는 harness:evolve로 개선하자고 제안한다.
프로젝트/.claude/agents/에 재사용할 모든 사용자 정의 유형의 파일을 만들었다. 단발 작업에 기본 제공 유형을 그대로 쓰는 경우는 제외했다.프로젝트/.claude/skills/에 필요한 SKILL.md와 참조 문서를 만들었다.model:을 복잡도, 작업 기간, 자율성, 응답 속도에 따라 골랐고 이유를 주석으로 남겼다. 모든 에이전트에 같은 고성능 모델을 일괄 지정하지 않았다.TeamCreate, TeamDelete, 실험 기능 플래그 같은 v1 방식이 남지 않았다..filter(Boolean)을 넣고 meta에는 리터럴만 썼다. 꼭 필요할 때만 parallel()로 전체 결과를 기다린다..claude/commands/에 파일을 만들지 않았다.CLAUDE.md 기록을 사용자가 대화에 쓰는 언어로 작성했다. 사용자가 따로 정한 언어나 기존 하네스 파일의 언어가 있으면 그 언어를 따랐다.description에 해야 할 일과 호출 조건을 구체적으로 적고 후속 요청 표현도 넣었다.SKILL.md 본문이 500줄 미만이다. 500줄 이상이면 세부 내용을 references/로 옮겼다.CLAUDE.md에 호출 조건과 변경 이력만 기록했다.references/execution-modes.mdreferences/model-selection-guide.mdreferences/team-patterns.mdreferences/team-examples.mdreferences/workflow-recipes.mdreferences/orchestrator-template.mdreferences/skill-writing-guide.mdreferences/skill-testing-guide.mdreferences/qa-agent-guide.md© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files (references) in skills/harness of revfactory/harness.
Open the folder on GitHubat commit 92d9f1b
Harness Agent Team Designer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Harness Agent Team Designer this skillrevfactory/harness | 9.1k | — | ~4.5k | Automated safety check: Pass | Apache-2.0 | |
| Agent OrchestratorNeverSight/learn-skills.dev | 216 | 1 repos | ~1.4k | Automated safety check: Pass | None | |
| Agent Delegation PromptsQwenLM/qwen-code | 28k | — | ~847 | Automated safety check: Pass | Apache-2.0 | |
| Claude Code Masteryborghei/Claude-Skills | 874 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Paseo Advisor Second Opiniongetpaseo/paseo | 20k | 1 repos | ~756 | Automated safety check: Pass | Custom licence | |
| Task Observerrebelytics/one-skill-to-rule-them-all | 3.2k | 1 repos | ~12k | Automated safety check: Pass | CC-BY-4.0 |
NeverSight/learn-skills.dev
Meta-agent skill for orchestrating complex tasks through autonomous sub-agents.
QwenLM/qwen-code
Reference for writing briefs to a subagent or a fork: what context to include, what never to delegate, and how a custom subagent's definition limits the prompt.
borghei/Claude-Skills
A skill your agent uses when the user asks to "optimize CLAUDE.md", "create a new skill", "write a custom agent", "configure hooks", "manage context window", "set up MCP servers", "scaffold a skill…
getpaseo/paseo
Launches one separate agent through Paseo to give a second opinion on the current task, with a self-contained briefing and no permission to edit files.
rebelytics/one-skill-to-rule-them-all
Monitors task execution for skill improvement opportunities.
openobserve/openobserve
Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.
revfactory/harness
Collects feedback on how an agent harness performed, generalizes it, and updates the harness agents, skills and orchestrator along with a change-history table.
Categories
Designs a project-specific agent harness: defines specialist agents, writes the skills they follow, picks an execution mode and model for each, and keeps the setup maintained. claude/skills/` (how the work is done). Step 0 inspects what exists and decides between a new build, an extension of an existing harness or maintenance.
Harness Agent Team Designer fits situations like: setting up a team of specialist agents and skills for a new project; extending or reorganizing an existing agent and skill setup; auditing the current agents and skills against what CLAUDE.md records.
Run `npx skills add revfactory/harness --skill harness -a claude-code`. Or copy the skill folder (skills/harness in revfactory/harness) into .claude/skills/harness in your project. Claude Code loads it when a task matches its description.
Run `npx skills add revfactory/harness --skill harness -a codex`. Or copy the skill folder (skills/harness in revfactory/harness) into .agents/skills/harness in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness --skill harness -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/harness, .gemini/skills/harness, .github/skills/harness and .opencode/skills/harness in your project.
SKILL.md names no scripts, command-line tools or credentials: Harness Agent Team Designer is instructions for the agent only. Our summary lists: A Claude Code project where `.claude/agents/` and `.claude/skills/` can be created.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Harness Agent Team Designer is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.5k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 33k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Harness Agent Team Designer: Agent Orchestrator (NeverSight/learn-skills.dev, 216 stars), Agent Delegation Prompts (QwenLM/qwen-code, 28k stars), Claude Code Mastery (borghei/Claude-Skills, 874 stars) and Paseo Advisor Second Opinion (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
revfactory (a GitHub user) maintains it in revfactory/harness, which has 9,127 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 28, 2026.
Source: revfactory/harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.