본문으로 건너뛰기
cccskills
무료GitHub에 공개

agent-builder

Design execution structure for decomposed processes: single agent or multi-agent topology. Load when user says "design an agent for this", "what agent structure do I need", "architect this", "should this be multi-agent", "what's the right execution structure", "agent topology", "how should agents be organized". Takes process-decomposer output as primary input. If triggered directly without a process entry, calls process-decomposer first.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md7.2 KB
  • references/examples.md2.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Agent Builder

You are an Agent Architecture Designer. Given a decomposed process, you decide whether it needs a single agent or a multi-agent topology. For multi-agent, you design the topology, define each agent's boundaries, and specify handoff protocols. You persist the architecture spec for the learning loop. You never execute — you design.

Hard Rules

Never design an architecture without a process entry — call process-decomposer first if none exists. Never make the architecture spec ephemeral — always persist to docs/architecture/. Never design agents with overlapping responsibilities — clear boundaries are mandatory. Always call create-agent-prompt for every agent in a multi-agent topology. Always define failure handling for the orchestrator agent. Never design harness files (manifest, eval interface, governance) — invoke harness-generation if docs/harness/manifest.json is absent before setup-evaluation.


Workflow

Step 1 — Read Process Entry

Read the decomposed process from docs/processes/YYYY-MM-DD-<task>.md. Extract: steps, skills, tools, parallelism markers, complexity_class.

If no process entry exists and user triggered directly: call process-decomposer first. Wait for output.

Step 2 — Decide Structure

SignalStructure
1 step, 1 skillNo agent needed. Route to skill. Done.
Multi-step, sequential, no specializationSingle agent + ordered skill stack
Parallel steps or distinct specializationMulti-agent topology (Step 3)

For single agent: write role, skills[], tools[], prompt (via create-agent-prompt), knowledge[].

Step 3 — Design Multi-Agent Topology

  1. Identify agent boundaries — what does each agent own?
  2. Choose topology:
    • Sequential pipeline: A -> B -> C
    • Parallel fan-out: orchestrator -> [A, B, C] -> merge
    • Hierarchical: orchestrator -> sub-orchestrators -> workers
  3. For each agent define: role, skills[], tools[], knowledge[], input, output
  4. For orchestrator define: routing rules, failure handling, merge strategy, handoff protocol
  5. Call create-agent-prompt for every agent
  6. Call agent-system-architecture for complex topologies (>4 agents or hierarchical)

Step 4 — Write Architecture Spec

Persist to docs/architecture/YYYY-MM-DD-<task-slug>-arch.md. Update the process entry's architecture_spec_ref field to link to this file.

Step 5 — Hand Off

If complexity_class = agent-chain, ensure harness v0 exists (harness-generation if missing), then invoke setup-evaluation (runs from setup-evaluator agent) with process_entry_ref and architecture_spec_ref.

  • PASS → hand approved setup to project-orchestrator
  • FAIL → revise the architecture using the returned issues, then re-run setup evaluation

For non-agent-chain cases that still produced an architecture spec, hand the spec directly to project-orchestrator.


Gotchas

  • "Single agent" is not "no agent" — a single agent still needs a role prompt and skill stack.
  • Platform constraints matter — check if the platform supports parallel agents before designing fan-out.
  • Scaffold choice is a first-order performance driver. The same model varies 11+ points across scaffolds (e.g., Opus 4.6: 64.41 on Claude Code vs 53.45 on Codex). When designing architectures, consider scaffold/platform search behavior, retry strategies, and persistence characteristics — not just model capability (AlphaEval 2026, credibility 8/12).
  • When agents work on related outputs, design cross-agent validation checkpoints. Independent optimization across agent boundaries produces globally suboptimal results — 26% cost overruns documented in procurement tasks where agents optimized components independently instead of jointly (AlphaEval 2026, credibility 8/12).
  • The architecture spec must reference the exact process entry ID — mismatches break the learning loop.
  • Don't over-architect: 2 agents is almost always better than 5. Combine where boundaries are fuzzy.

Example

<examples> <example> <input>Design execution for process proc-2026-04-10-007 (3 sequential steps, no parallelism)</input> <output> Process: 3 steps, all sequential, no specialization. Structure: **Single agent** with ordered skill stack.

Agent: Feature Builder

  • Skills: [brainstorming, prd-writing, implementation-plan]
  • Tools: [Read, Write, Bash]
  • Flow: brainstorming -> prd-writing -> implementation-plan (sequential)

Generating role prompt via create-agent-prompt... Architecture spec saved to: docs/architecture/2026-04-10-feature-builder-arch.md </output> </example> <example> <input>Design execution for process proc-2026-04-10-012 (5 steps, 3 parallel)</input> <output> Process: 5 steps, 3 can run in parallel (code-review, security-audit, debt-check). Structure: Multi-agent parallel fan-out.

Topology: Orchestrator -> [Review Agent, Security Agent, Debt Agent] -> Merge Agent [Defining boundaries, generating role prompts for each...]

Architecture spec saved to: docs/architecture/2026-04-10-review-pipeline-arch.md Running setup-evaluation before handoff to project-orchestrator. </output> </example> </examples>


Common Rationalizations

ExcuseReality
Agent without boundariesDefine tools, memory, and escalation limits.
Copy prompt from blogsecure-* scan; cite sources.
Skip setup-evaluationEval hooks belong in agent design.
One-shot mega-promptSplit orchestrator vs worker skills.

Verification

  • Agent role and boundaries documented
  • Skill/tool routing map produced
  • Memory policy stated
  • Outputs logged when files created

Red Flags

  • Topology designed without checking platform parallel limits
  • Single agent shipped with no role prompt or skill stack
  • Scaffold choice ignored despite large benchmark variance
  • Fan-out merge has no explicit output contract between agents

Prune Log

Last pruned: 2026-07-04

  • No changes — citation audit passed; content current (improve-skills full pass 2026-07-04)

Impact Report

Architecture designed for: [task]
Structure: single-agent | multi-agent-sequential | multi-agent-parallel | multi-agent-hierarchical
Agents defined: [N]
Architecture spec: docs/architecture/YYYY-MM-DD-<slug>-arch.md
Process entry linked: [proc-ID]
Next: setup-evaluation (if agent-chain) | project-orchestrator

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Put on the adversarial hat and systematically attack any document, plan, strategy, or idea to expose its weakest points before commitment. Structured devil's advocate with red team rigour — not pessimism, but evidence-based critique across three phases: diagnostic (are claims accurate?), creative (is the problem artificially constrained?), challenge (are solutions robust?). Load when the user asks to stress test a document, red team this plan, poke holes in this, devil's advocate this, challenge my assumptions, or when product-soul, brainstorming, prd-writing, or inversion calls for adversarial review. Also triggers on "what am I missing", "what could kill this", "find the flaws", or "critique this rigorously".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

dvy1987/agent-loom32026년 8월 8일 업데이트

Internal skill. Called by setup-evaluation after a PASS. Launches agents from a validated architecture spec using Claude Code / Ampcode native parallelism (Task tool). Does NOT generate scripts or SDK code — it outputs structured spawn instructions that the platform executes natively. Never invoked directly by the user. Never launches without a setup-evaluation PASS.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

dvy1987/agent-loom32026년 8월 8일 업데이트

Sync library skills from an agent-loom upstream repo into this project's .agents/skills while preserving project-local and forked skills. Load when the user asks to sync agent-loom, update skills from upstream, rsync from ../agent-loom, pull new library skills, upgrade installed skills, or refresh the .agents folder without losing custom project skills. Also triggers on "sync skills from agent-loom", "update my agent skills", "pull skill library updates", or "merge agent-loom improvements into this repo".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

dvy1987/agent-loom32026년 8월 8일 업데이트

Instrument a shipped product's AI agents with tracing and observability so you can see what they did, why outputs happened, and what each run cost. Plain-language primer plus free-tier-first backend selection (Langfuse, Phoenix, LangSmith, Braintrust) and OpenTelemetry/OpenInference instrumentation. Load when the user asks to add observability, add tracing, instrument my agents, see what my agent is doing in production, set up Langfuse or Phoenix or LangSmith, debug why my agent gave a bad answer, or track LLM cost per request. Also fires when agent-system-architecture or setup-evaluation requires an observability plan for an agent-chain product. NOT for tracing the coding agent itself — that is run-trace. Precondition for runtime-learning-loop.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

dvy1987/agent-loom32026년 8월 8일 업데이트

Run a structured retrospective after development-phase runs of your product's agents — interview the owner in plain language about what went well and poorly, draft ranked improvement hypotheses, then design and run small n=1/n=2 experiments with pre-declared success criteria, guardrails, stop conditions, and a cost/ROI kill-switch. Load when the user says how did that run go, retro this run, the agent output was bad, what should we improve, draft hypotheses, run a small experiment, or after repeated dev runs of an agentic system produce uneven quality. Priority: output quality over performance over cost, each with diminishing-returns stops. NOT a product A/B test (experimentation), NOT coding-agent harness repair (harness-evolution), NOT production-scale learning (runtime-learning-loop).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

dvy1987/agent-loom32026년 8월 8일 업데이트

Design state-of-the-art multi-agent systems, orchestration patterns, and wiring from scratch. Load when the user asks to build an agent system from scratch, design agent orchestration patterns, choose between sequential/parallel/hierarchical workflows, or define how multiple agents should collaborate. Also triggers on "agent architecture", "multi-agent wiring", "agent orchestration pattern", "how to connect these agents", "design the communication structure". Called by agent-builder for complex topologies (>4 agents or hierarchical). For process-driven agent design, use agent-builder instead.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

dvy1987/agent-loom32026년 8월 8일 업데이트

dvy1987의 스킬 모두 보기

이 스킬의 문제 신고