
daguild
A project-agnostic Claude Code plugin that routes coding work through a crew of specialist agents.
Contents
What it is
This section summarizes what the plugin ships and how its agents are tiered. It is a project-agnostic delegation crew for Claude Code. It ships:
- Six agents:
daguild:investigator, daguild:builder, daguild:architect, daguild:reviewer, daguild:security, daguild:scribe.
- Default procedure:
context/procedure.md, injected at session start, so every coding request walks the delegation DAG without a slash command: classify, investigate, scope gate, design gate, implement, review, report.
- DAG rules:
skills/daguild/DAG.md carries the node rules, dispatch modes, cleanup-pass and docs-sync procedures and the parallel-wave contracts.
- Forced walk:
/daguild <task> only forces the walk on a request that looks trivial.
- Hooks: POSIX sh, each with a PowerShell twin for Windows machines without Git Bash. They cover always-on context injection at session start, per-prompt reinforcement, an emoji scan on every file edit, and a subagent receipt-contract check.
- Opt-in git handling: a generic
git skill plus a guard hook that denies AI attribution, --no-verify and forced pushes (see Git handling).
- Switches: every hook and the optional procedure steps can be turned off per user or per project (see Configuration).
- Two workflows: for the review and cleanup-pass waves.
- Charter convention: a per-project charter.
Project knowledge never lives in the plugin. It lives in <project>/.claude/daguild.md (the charter), which every agent reads first.
Models are pinned per agent (the shipped defaults; see Model and effort per agent to change them):
| Agent | Model |
|---|
daguild:investigator | haiku |
daguild:builder | opus |
daguild:architect | opus |
daguild:reviewer | opus |
daguild:security | fable (never downgraded) |
daguild:scribe | sonnet |
The rationale is cost tiering (cheap scouting, mid-cost implementation, the strongest model only for security and orchestration) and wall-clock parallelism, not context saving.
The DAG
This section shows the graph every coding request walks; the full flowchart with every edge and terminal token is in skills/daguild/DAG.md.
flowchart TD
T[Task] --> CLS{Classify}
CLS -->|answer already in context| INLINE[Answer inline<br/>no subagent]
CLS -->|"where is / what calls<br/>edit, site unknown"| INV["daguild:investigator (haiku)"]
CLS -->|"edit, exact path:line known"| SCOPE{Scope gate}
CLS -->|"review this diff (non-security)"| REV["daguild:reviewer<br/>norms"]
CLS -->|find bugs in this diff| CR["code-review<br/>correctness"]
CLS -->|security review| SEC["daguild:security<br/>security"]
CLS -->|cleanup pass / end of phase| CLEAN[Cleanup pass<br/>+ docs sync at phase close]
CLEAN -.->|slices through the procedure| SCOPE
INV --> MAP["Site map<br/>path:line"]
MAP --> SCOPE
SCOPE -->|"surgical, <=2 files,<br/>no new abstraction"| BLD["daguild:builder<br/>1-2 files"]
SCOPE -->|"3+ files / new feature /<br/>cross-cutting"| DESIGN{Design gate}
DESIGN -->|"obvious: spec<br/>wide space: Plan options, spec"| ARC["daguild:architect<br/>3+ files"]
BLD --> TOKEN{First-line token}
ARC --> TOKEN
TOKEN -->|"too-big."| ARC
TOKEN -->|"ambiguous. / regressed.<br/>clarify or recover, re-dispatch"| SCOPE
TOKEN -->|"need-map."| INV
TOKEN -->|receipt| RCPT["Receipt<br/>verified: OK"]
RCPT -->|every passed edit| REV
RCPT -->|substantive diff| CR
RCPT -->|security-relevant diff| SEC
REV --> VERDICT{Findings?}
CR --> VERDICT
SEC --> VERDICT
VERDICT -->|"No issues."| REPORT[Report]
VERDICT -->|red / yellow| FIX{"Fix loop<br/>(max 2)"}
FIX -->|"<=2 files"| BLD
FIX -->|3+ files| ARC
FIX -->|"cap exhausted: residual"| REPORT
Install
This section covers getting the plugin onto a machine and enabling it.
Install exactly one edition. Both register the same daguild:* agents and skills; uninstall the other one from /plugin before switching.
Full edition, from GitHub (hooks included):
claude plugin marketplace add NatalJR/daguild
Then, inside Claude Code: