Claude Code delegates coding to isolated CLI agents it doesn't trust (Codex, OpenCode, Pi, Pythinker), freezes what they produce, verifies it independently, and merges only what a human approves.
> /plugin marketplace add Pythoughts-labs/claude-architect> /plugin install claude-architect@claude-architect
Repo: Pythoughts-labs/claude-architect
What's inside
Verified coding-agent delegation for Claude Code. Claude stays the architect and reviewer — it writes the spec, judges the evidence, and reports what landed. Implementation is delegated to fresh-context subagent implementers running on the coding CLI you choose — Codex, OpenCode, Pi, Pythinker, or Antigravity CLI — each invocation starting clean with no inherited conversation state, inside an isolated Git worktree. The work comes back as a frozen, hash-anchored candidate that Claude reviews against independent verification evidence before a single byte can reach your checkout.
In practice that means three guarantees the plugin enforces in host code, not in prompts:
Public beta: Do not use Claude Architect unattended for production, destructive, or security-sensitive work. Review the complete candidate and verification evidence before integration.
The runtime and cross-platform lifecycle are evolving. Producer availability depends on the host OS, CLI version, authentication, requested lane, and proven execution capabilities.
Delegating code generation is easy; establishing which exact bytes were produced, whether they stayed in scope, and whether anyone independent verified them is harder. Claude Architect keeps Claude focused on specification and judgment while treating external coding agents as untrusted Producers. It records a reproducible run, freezes a content-addressed candidate, verifies authorized checks in a clean materialization, and makes every decision's provenance explicit.
flowchart LR
A[Versioned spec] --> B[Producer in isolated worktree]
B --> C[Frozen candidate]
C --> D[Independent verification]
D --> E[Adversarial review]
E --> F{Configured decision authority}
F -->|accept| G[Guarded integration]
F -->|reject or revise| H[Discard or fresh attempt]
All agent output is an untrusted candidate, and implementers cannot approve their own work. A candidate that fails independent verification, or whose review gate refused it, can only be accepted by a human.
Claude Code requires Node.js 22 or newer. Add the marketplace and install the plugin:
claude plugin marketplace add Pythoughts-labs/claude-architect
claude plugin install claude-architect@claude-architect
claude plugin list --json
Restart Claude Code after installing or updating. Install and authenticate at least one supported Producer CLI (codex, opencode, pi, or pythinker); Claude Architect reports unavailable lanes rather than silently substituting another agent.
Open Claude Code in a Git repository and name the Producer you want:
/claude-architect:delegate Use Codex to add rate limiting to the public API, run the tests, and show me the independently reviewed candidate before integration.
If no Producer is named, the skill asks you to choose Codex, OpenCode, Pi, Pythinker, or Antigravity CLI. OpenCode, Pythinker, and Antigravity CLI are harnesses that accept optional model and thinking/variant/effort overrides; model selection within a harness lane is optional and otherwise defers to that CLI's configured default. The Pi lane has no model override: it always runs the model configured in Pi, and a requested override fails the lane rather than silently substituting another model. For non-trivial work it uses the fresh-context review pipeline. Read the exact patch, findings, and verification output before deciding whether to accept.
The direct, unverified Codex CLI lane runs codex exec against your current checkout without an isolated worktree, frozen Candidate Artifact, or independent verification:
/claude-architect:codex Review this checkout with gpt-5.6-sol at high reasoning.
Use it for direct Codex assistance when those controls are not required. Use /claude-architect:delegate when changes need the verified lane and its isolated worktree, frozen Candidate Artifact, independent verification, and guarded integration.
Claude Architect can use host-side Superpowers skills such as brainstorming, writing plans, and executing plans to shape and coordinate a delegation. Producers do not inherit that host skill set. Each edit attempt is offered only the three task-scoped procedures compatible with the trust model:
test-driven-development for behavior changes and bug fixes;systematic-debugging for unexpected test, build, or behavior failures;verification-before-completion before a Producer claims success.This filtered subset is vendored from obra/superpowers version 6.2.0 under the MIT license so it remains available inside an isolated attempt. Skills that assume nested delegation, self-review, branch acceptance, or an interactive human remain unavailable to Producers; the architect, the runtime's configured decision authority, and the human where required retain those authorities.
Dispatch a delegation through the delegation-lane agent to watch it as a native Claude Code subagent row instead of a long-running MCP call:
delegate and delegatePipeline. It cannot read the repository, run commands, review, decide, or integrate.specSha256 is supplied back to lane dispatch so a valid-but-different spec fails before work starts. The lane's JSON report is used only to correlate (laneId, specSha256, runId); all reviewable evidence comes from reviewCandidate, and every acceptance is gated on independent verification with its provenance recorded. At most one accepted candidate per clean checkout.By default, decideCandidate records accepted without prompting for any independently verified candidate that produces no advisory warnings from a readable archive: either a delegatePipeline candidate carrying a durable pipelineGateCleared record that names the archived candidate commit and does not require a human, or a plain delegate result, which carries no pipeline evidence at all and is judged on its independent verification result alone. Gate-refused, review-incomplete, malformed, commit-mismatched, human-required, unverified, or unreadable cases still require a human, as does every non-accept verdict. Set CLAUDE_ARCHITECT_DECISION_AUTHORITY=human to require confirmation for every decision; an unrecognized value fails closed to human with a warning.
What this does not relax: independent verification still decides what may be accepted at all, integration refuses any acceptance whose provenance is unknown, and it still aborts on a moved HEAD, a dirty tree, or a hash that does not match the reviewed artifact. Every decision records its provenance, so auditing which candidates went in without a person never requires inferring it.
| Kind | Name | Purpose |
|---|---|---|
| Skill | /claude-architect:delegate | Builds a versioned spec and drives delegation, review, decision, and guarded integration. |
| Skill | /claude-architect:codex | Runs Codex CLI directly against the current checkout without the verified delegation lifecycle. |
| Skill | /claude-architect:subagent-driven-delegation | Executes a multi-task plan with the Superpowers subagent-driven-development loop, using a verified Producer as the implementer for every task. |
| Agent | advisor | Current strictly read-only commitment-boundary advisor. |
| MCP | validateDelegationSpec | Validates a spec without starting a Producer and returns its canonical correlation digest. |
| MCP | delegate | Runs one validated, isolated, independently verified attempt. |
| MCP | delegatePipeline | Runs the fresh-context implement/review/repair pipeline. |
| MCP | reviewCandidate | Returns the exact frozen patch and verification evidence. |
| MCP | decideCandidate | Records accepted, rejected, or revision-requested. |
| MCP | integrateCandidate | Applies an accepted hash-matched candidate under safety guards. |
| MCP | doctor | Reports runtime, Git, platform, and Producer diagnostics. |
| MCP | gitStatus, gitDiff, gitLog, gitChangedFiles | Bounded, redacted, read-only Git evidence for advisors. |
Claude Architect separates authority across roles and artifacts. Producers receive bounded write scope in isolated worktrees. Candidate bytes are frozen and identified by hashes before independent verification. Reviewers operate in fresh context, and read-only roles lack mutation tools. The runtime rejects nested delegation, scope escapes, changed bases, mismatched anchors or trees, and unaccepted candidates. Integration stages reviewed bytes; it does not commit them.
The central rule is deliberately simple: all agent output is an untrusted candidate; implementers cannot approve their own work; and only an independently verified pipeline candidate with commit-bound gate clearance can be accepted without a human. Verification reduces risk but does not establish that a change is safe for your particular deployment.
FAQ
claude-architect is a Claude Code plugin with 6 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes codex, delegate, subagent-driven-delegation. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it