harness/docs/quickstart.md
ythong c25e55b64b feat: harness + zio-harness Claude Code 플러그인 초기 배포
- harness: 도메인 한 줄 → 에이전트 팀 자동 생성 메타 스킬 (v1.2.0)
- zio-harness: React + Spring Boot + Mobile 풀스택 개발 에이전트 팀 (v1.0.0)
- 에이전트 4종: orchestrator / analyst / bot / agent
- PROJECT_MAP.md 폴더 구조 메모리 시스템
- references/: react, spring-boot, mobile, playwright, database, folder-map

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 13:48:56 +09:00

6.4 KiB
Raw Permalink Blame History

Quickstart — 5 Minutes to Your First Harness

Time budget: 5 minutes (strict). If you are not at Step 5 within 5 minutes, stop and file an issue — that is a bug in this document, not a bug in you.

What you will have at the end: a working .claude/agents/ directory with 35 domain-specialized agents, generated from a single-sentence prompt, ready to run on a sample task.

Prerequisites (check before starting):

  • Claude Code v2.x or later (claude --version should return 2.x or higher)
  • A shell that persists export across commands (bash, zsh, or fish)
  • Network access to github.com and api.anthropic.com

Step 1 — Add the marketplace (60 seconds)

claude plugin marketplace add revfactory/harness

What this does: Registers the harness marketplace so Claude Code can discover plugins published by revfactory.

Expected output: Added marketplace: revfactory/harness


Step 2 — Install the plugin and enable the Experimental flag (40 seconds)

claude plugin install harness@harness
export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1

(To persist the flag across shell sessions, append the export line to ~/.zshrc or ~/.bashrc.)

What this does: Installs the harness plugin from the harness marketplace, then enables Agent Teams — the Claude Code API harness uses to orchestrate multi-agent workflows. See docs/experimental-dependency.md for why the flag is required.

Failure FAQ #1 — AGENT_TEAMS not found / teams don't instantiate Cause: Claude Code version is older than v2.x (Agent Teams was introduced in v2.0). Fix: Run claude --version. If below 2.0, upgrade via npm i -g @anthropic-ai/claude-code (or your distribution's installer), then repeat Step 2.


Step 3 — Generate a harness from one sentence (2 minutes)

claude "build a harness for a fintech risk-assessment team"

What this does: Invokes the /harness:harness meta-skill, which analyzes your domain sentence and scaffolds a team of specialized agents + their skills into .claude/agents/ and .claude/skills/ in the current directory.

Try these alternate prompts — any of them work:

  • claude "하네스 구성해줘 — 핀테크 리스크 평가 팀" (Korean also works)
  • claude "build a harness for an e-commerce fraud-detection workflow"
  • claude "design an agent team for technical due diligence on open-source repos"

Expected output: A streaming plan, then confirmation that 35 agent .md files and their skills were written.

Failure FAQ #2 — The Korean prompt returns nothing / the English one succeeds but Korean doesn't Cause: Locale or tokenizer misrouting; harness's orchestrator matches on Korean trigger words ("하네스 구성"), which are built into the skill definition. Fix: If Korean fails, re-run with the English prompt above — the underlying skill is identical. If both fail, jump to Failure FAQ #3.


Step 4 — Verify the generated files (30 seconds)

ls -la .claude/agents/
ls -la .claude/skills/

What this does: Confirms the meta-skill wrote files to the expected locations.

Expected output: 35 files per directory, with names reflecting your domain (e.g., risk-analyst.md, compliance-reviewer.md, portfolio-monitor.md for the fintech example).

Failure FAQ #3 — "Nothing was generated" / directories are empty Cause: The plugin is not actually installed or is not active in the current project. Fix: Run claude plugin list. If harness@harness is absent, repeat Step 2. If present but inactive, run claude plugin enable harness@harness, then repeat Step 3.


Step 5 — Run a sample task against the new team (90 seconds)

Copy a realistic Jira-ticket-style prompt and hand it to your fresh team:

claude "Ticket FIN-427: A new corporate customer (mid-cap manufacturer, \$80M revenue, South Korea) has applied for a \$5M working-capital line. Produce a risk assessment covering (1) credit-history red flags, (2) sector concentration vs. our existing book, (3) regulatory exposure (KFTC, FSC). Output: a 1-page memo with a go/no-go recommendation."

What this does: Claude Code detects the new agents in .claude/agents/, routes the task through the team patterns harness generated (typically Producer-Reviewer or Expert-Pool for risk work), and returns a structured memo.

Failure FAQ #4 — "The team doesn't execute / only one agent responds" Cause: CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 was set in the shell that ran Step 3 but not in the shell running Step 5 (happens when opening a new terminal). Fix: Re-export in the current shell: export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1, then re-run Step 5. To make permanent, add the line to your shell rc file.

Failure FAQ #5 — "Too many API calls / cost anxiety" Cause: Multi-agent teams can fan out to 5+ parallel Claude calls per task. A single complex ticket can consume 50K200K tokens. Fix: Limit to a single task per run (don't chain && multiple harness invocations), and use the --max-turns flag if your Claude Code version supports it. For production, gate harness invocations behind a cost-aware wrapper — see docs/cost-controls.md (forthcoming).


You're done

At this point you should have:

  • A .claude/agents/ directory with domain-specialized agents
  • A .claude/skills/ directory with their supporting skills
  • One successful sample-task execution
  • A working CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 environment

Next reads:

If you hit something this guide didn't cover: open an issue with the quickstart-gap label and include: (a) which step failed, (b) claude --version, (c) the exact error message. The SLA for quickstart-gap issues is 48 hours to first response (see CONTRIBUTING.md).