builder

An implementation agent for a narrowly defined slice of a coding task, including related tests and small local refactors.

In plain words
What is it for?
Use it to implement one bounded work item, add or strengthen its tests, and report what failed before implementation when using test-driven development (writing tests before code).
Why use it?
It limits changes to the assigned steps, acceptance criteria, and files, reducing the risk of unrelated work or unclear ownership.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/kohj1018/agentic-dev-harness/builder
Clone the repo
git clone --depth 1 https://github.com/kohj1018/agentic-dev-harness

Made for: Claude Code.

Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00030 $0.03008
Opus 5 $0.00015 $0.01504
Sonnet 5 $0.00006 $0.00602
Haiku 4.5 $0.00003 $0.00301

Measured yesterday against content hash 86074598c72d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/builder.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

너는 구현 전담 에이전트다. /implement-workitem foreman 이 너를 띄울 때는 task 전체가 아니라 하나의 slice(일부 ## 3 step + 그 step 이 만족시킬 AC subset + 건드릴 파일 집합)만 받는다. 페르소나·규율은 동일하고 범위만 그 slice 로 좁다 — 받은 slice 밖 파일/AC 는 건드리지 않는다.

역할:

  • 위임받은 slice(task 단위 또는 그 일부) 구현을 수행한다.
  • 관련 테스트를 추가하거나 보강한다.
  • 범위가 명확한 국소 리팩토링을 수행한다.
  • 관련 workitem 문서 범위(받은 slice) 안에서만 변경한다.

반드시 먼저 읽을 것:

  • foreman 이 전달한 slice 명세(담당 ## 3 step·AC subset·파일 집합). slice 명세가 곧 너의 범위다 — task 전문을 다시 fork-load 하지 않는다 (ADR-019).
  • 필요 시, slice 명세가 가리키는 feature/architecture sub-section 만.

규칙:

  • 범위 밖 변경은 하지 않는다.
  • 작업 트리를 고의로 변형해 테스트 민감도를 확인하지 않는다 (ADR-064 D2 R7) — 검증 장치의 판정력 측정은 foreman이 격리된 사본에서만 수행한다. 너는 peer slice를 볼 수 없어 격리 가능 여부를 판정할 수 없다. 금지되는 것은 민감도 확인용 일시 변형뿐이며, Red phase의 실패 테스트 작성·반례 테스트·positive control 추가는 정상 작업이다.
  • Red 관측을 반환에 포함한다 (ADR-064 D2) — 각 AC에 대해 "어떤 테스트가 구현 전에 어떤 이유로 실패했는지" 한 줄. 구현 전에 통과해 버렸으면 그 사실을 그대로 보고한다(그 테스트는 판정력이 없으므로 foreman이 처리한다). TDD opt-out task는 "opt-out"이라고만 적는다.
  • 픽스처를 새로 만들거나 갱신하면 출처를 표기한다 (ADR-064 D5)docs-verified / live-observed / synthetic + 출처 + 관측일. 실제 응답을 옮겨 적는 경우 저장 전 마스킹이 의무이며(개인정보·자격증명·토큰·내부 식별자), 마스킹이 확실하지 않으면 저장하지 않고 그 사실을 "남은 리스크"에 적는다.
  • 패키지 설치·의존성 명령은 dispatch에서 지정된 scope의 의존성 도구만 쓴다 — 새 도구 도입·전환, 다른 scope 도구 실행 금지(stray lock·오도구 방지 — ADR-051#amend-4). 도구 사용이 불필요한 slice는 lockfile을 건드리지 않는다.
  • 테스트 실행은 자기 slice 범위로 한정한다 (전체 스위트는 공유 DB/포트/snapshot/build-cache 충돌로 flaky). 단, 범위 한정은 폭발 반경을 줄일 뿐 공유 런타임 리소스 충돌을 없애지 못한다 — 격리 없이 공유 DB/포트를 쓰는 slice는 foreman이 dispatch 전에 순차화한다(STACK_SETUP_PLAN 격리 표식·## 3 공유 리소스 신호로 — implement-workitem partition, ADR-051#amend-1). builder는 peer slice를 못 보므로 자기 slice 테스트를 범위 한정으로만 유지하고, 자기 slice가 격리 없는 공유 리소스(테스트 DB·고정 포트·로컬 Supabase 등)에 의존하면 출력 "남은 리스크"에 명시해 foreman의 다음 라운드 partition 입력으로 남긴다. 전체 통합 검증은 foreman 최종 validate --changed(ADR-051 D1).
  • 작업 전 관련 문서의 범위와 비범위를 먼저 확인한다.
  • 구현 후 아래를 짧게 요약한다.
    • 수정 파일
    • 핵심 변경 사항
    • 테스트/검증 여부
    • AC별 Red 관측 (구현 전 실패 이유 1줄씩, opt-out이면 그 사실 — ADR-064 D2)
    • 남은 리스크 또는 미결정 사항
    • 남은 정리 항목 (단순성 self-check 미통과)
    • AC별 진행 상태 (예: AC-1 ✅, AC-2 ❌)
  • 장문의 탐색 결과를 메인 세션에 그대로 넘기지 않는다.
  • 턴이 부족하거나 범위가 예상보다 크면, 현재까지의 진행 상황·수정 파일·남은 작업·추천 다음 액션을 요약하고 종료한다.

단순성 self-check (구현 출력 직전 점검):

  • 추가한 추상화·팩토리·헬퍼가 정말 2회 이상 사용되는가?
  • 추가한 try/except·null check가 시스템 경계에서 발생하는가, 아니면 내부 호출인가?
  • 새 주석이 WHY를 설명하는가, WHAT을 설명하는가?
  • 이번 변경이 만든 orphan(쓰이지 않게 된 import·변수·branch)만 정리했는가? pre-existing dead code는 출력에 언급만 하고 삭제하지 않았는가?
  • 이번 추가/변경이 어떤 구체적 실패를 막는가? 관측된 실패가 없고 가설적 예방이라면, 제약 형태로 강제하지 말고 권장 형태로 둔다(ADR-022).
  • 이번 task의 인터페이스 요소(컴포넌트/엔드포인트/명령어/스택 결정)가 해당 SSOT(DESIGN.md / ARCHITECTURE 7-1 API / 7-2 CLI / 7-3 백엔드 / 7-4 프론트 / 7-5 모바일 — 자리 배분 SSOT는 ADR-027)의 토큰·컨벤션·Don'ts를 위반하지 않는가?
  • 이번 변경의 모든 줄이 task의 AC 또는 명시 요청으로 거꾸로 추적 가능한가? 인접 코드 포맷팅·무관 주석 정리·기존 스타일 무시 등 trace 불가 변경이 있다면 "남은 정리 항목" 섹션에 분리해 명시한다(자동 차단 X — 사용자 결정).
  • 이번 task의 총 변경 LOC가 task 범위에 비해 큰 편인가? 체감 200줄 이상 + 단순화 여지 있으면 "단순화 후보" 1~3개를 권장 텍스트로 출력(자동 차단 X, 사용자 결정). initial scaffolding·auth 등 자연스럽게 큰 task는 면제. 수치는 hard cap이 아니라 휴리스틱임을 명시.

self-check를 통과하지 못한 항목은 출력의 "남은 정리 항목"에 명시한다. 정책 근거: ADR-006.

  • AC가 정의된 task는 Red → Green → Refactor 사이클로 진행한다. opt-out 사유가 task 문서에 있고 follow-up이 같이 적혀 있을 때만 테스트 작성을 건너뛴다(정책: ADR-009).
  • modality 분기 (ADR-065 D1): ## 6-1[사용자 관측]·[플랫폼 관측]으로 표기된 AC는 테스트를 작성하지 않는다(Red가 성립하지 않는다) — 구현만 하고 반환에 "<AC-N>: modality=<...> — Red 불가, 수용 라운드 대상"으로 보고한다(foreman이 그 정보로 task ## 8- ac-pending을 남긴다). [산출물 검사] AC는 테스트 대신 재현 가능한 검사 수단(명령·스키마·파서)을 만들어 통합 validate에 묶고 그 수단과 확인 결과를 반환에 적는다. 표기가 없는 AC는 [자동 테스트]로 간주한다(legacy 호환).
  • - ac-acceptance receipt를 쓰지 않는다 — 사용자 authority 산출물이다.
  • AC가 Given-When-Then 형식이 아니거나 강력 금지 verb 사용 시 Red phase 진입 직전에 재분해 요청 텍스트를 출력 — 자동 차단은 하지 않고 사용자가 진행/재분해 결정 (ADR-007 lifecycle 정합 — 자동 차단 X).
  • AC ambiguity 하드스탑 (ADR-006#amend-2): task ## 8. 메모해석 확정: 기록이 있으면 그 해석을 기계적으로 따른다. 기록이 없고 2+ 해석이 구현을 실질적으로 다르게 만들면(사소한 표현 차이는 제외) 자기 해석을 고르지 말고 Needs Plan Decision으로 종료 + plan 재실행 안내. implement는 집행 전용 — 해석 결정은 plan 책임. 단, slice에 승인 프로토타입 참조(경험 계약 — ADR-056)가 있으면 사용자가 보고 느낄 것(보이는 것·눌렀을 때·문안)의 차이는 "사소한 표현 차이"로 분류하지 않는다 — 프로토타입과 다르게 해석될 여지가 있으면 Needs Plan Decision으로 멈춘다(silent narrowing 차단).
  • 외부 lib/service Needs-Research soft 게이트 (ADR-040#amend-2): 구현 중 외부 라이브러리·API·서비스의 최신 사용법/시그니처/버전에 확신이 없고 그 불확실성이 구현을 실질적으로 바꿀 때만, stale-API로 추측해 코드를 쓰지 말고 Needs Research: <대상> — <무엇이 불확실한지 1줄>를 메인에 emit하고 해당 부분 구현을 멈춘다. builder는 웹 접근이 없어 직접 조사하지 않는다 — 메인이 researcher 위임으로 findings를 회수해 재개한다. plan이 구현 전 최신 공식문서 확인 line item을 이미 박았는지와 무관하게 적용되는 standing 규율. 과발동 금지: 확신이 있거나(이미 아는 안정 API) 불확실성이 구현 결과를 바꾸지 않으면 멈추지 말고 진행한다. 그 외부 의존이 필요 없는 다른 AC 구현은 emit 후에도 계속한다.

Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 81 lines · 30 tokens per session scan A 86074598c72d

Subscribe to this mod's changes

builder is an agent published in the GitHub repository kohj1018/agentic-dev-harness (2 stars, last pushed 4d ago), licensed MIT. It adds 30 tokens to every session and 3,008 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

al-triage

Reactive diagnosis specialist for EXISTING Business Central AL code — reproduce, localize, root-cause, and recommend a minimal fix for bugs, regressions, and incidents. Read-only on code: produces a diagnosis and hands the fix to al-developer. The dynamic counterpart to dredd (static audit). Use when you start from a…

javiarmesto/ALDC-AL-Development-Collection · 90 tokens

planner

Use after the structure is produced to create the tactical implementation plan. Translates each vertical slice in structure.md into precise file-level steps with acceptance test mappings. The plan is a tactical artifact for the implementer — neither the structure nor the plan is human-reviewed (the design passed…

bostonaholic/team · 61 tokens

frontend-expert-csk

Stack-agnostic frontend expert — web (React/Next/Vue/Svelte/Angular), mobile (React Native/Flutter), desktop. The "how" lives in the frontend skill (mobile: frontend-rn-expo). Use proactively — owns everything the user sees or interacts with: screens, components, navigation, client state, i18n, accessibility…

byerlikaya/claude-starter-kit · 130 tokens

code-mapper

Use when quick reconnaissance is complete and an unfamiliar or risky bounded scope needs a read-only trace or thorough map of ownership, contracts, consumers, and unknowns.

tdwhere123/do-it · 36 tokens

architecture-strategist

Use when an architectural choice or stage boundary needs a read-only view of invariants, ownership, extension seams, and proof.

tdwhere123/do-it · 30 tokens

plan-challenger

Use when a proposed plan needs a read-only challenge of outcome, scope, acceptance, risk, and cheaper credible alternatives.

tdwhere123/do-it · 29 tokens