pymodel/claude-architect/delegate

Claude Code and agent skill by pymodel/claude-architect

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Let Claude Architect route a versioned implementation spec through the trusted MCP runtime, independently review the Candidate Artifact, record a decision, and integrate only accepted bytes. Use for implementation delegation, Producer selection, or commitment-boundary review.

Install

npx vskill@latest install pymodel/claude-architect/delegate

SKILL.md

The same SKILL.md was published earlier as pymodel/claude-architect/delegate.

Delegate

claude-architect-protocol
PROTOCOL_VERSION: 3.0.0

The current session is the architect: it owns requirements, the Delegation Spec, Producer selection, review, and acceptance. Producers are untrusted — their output is only a candidate until the runtime freezes it, independently verifies it, and the architect reviews the exact anchored bytes.

Always present this skill as /architect:delegate. Never show a shorter command.

Superpowers across the trust boundary

When the upstream Superpowers plugin is available, keep its host-loop skills on the architect side: brainstorming before freezing the Delegation Spec, writing-plans to turn an agreed design into objectively checkable work or slices, verification-before-completion before recording a decision. Generic executing-plans and subagent-driven-development may coordinate architect-owned non-writing analysis only, never a writing task.

To execute any multi-task plan that writes files, use /architect:subagent-driven-delegation: the Superpowers subagent-driven-development loop — ledger, per-task brief, per-task review, final whole-branch review — with the delegation lifecycle below replacing the generic implementer subagent. No skill grants a Producer permission to plan instead of editing, dispatch nested agents, review itself, accept a candidate, or integrate bytes. Without the plugin, proceed without those skills rather than approximating them.

Edit-lane Producers receive a deliberately smaller, vendored procedure subset:

  • test-driven-development for every behavior change or bug fix, before implementation code;
  • systematic-debugging when a test, build, or behavior fails unexpectedly, before proposing a fix;
  • verification-before-completion before claiming success.

The runtime supplies these by absolute path inside each isolated attempt. Never put architect-only skills in the Delegation Spec or tell a Producer to discover skills from the operator's home directory. Vendored from obra/superpowers 6.2.0, MIT.

Agent selection

The delegated CLIs are the architect's implementation agents — Claude Code's subagent idiom, except each agent launches an untrusted Producer through the trusted MCP runtime inside an isolated Git worktree. Present them as a roster: the human picks one subagent_type, exactly one agent runs per attempt, and no agent may review or accept its own work.

If the user invokes /architect:delegate without naming a CLI, implementer, or agent, use the host's structured question tool when available, ask this question, and wait for the answer. Include the producer and reasoning control in each option so the user knows what the lane will run:

Which CLI should handle this delegation? Each choice shows its model and reasoning default. Use a custom answer to name a different supported reasoning level.

Offer exactly these choices:

  • Codex - codex-implementer; GPT-6.1 Sol at low reasoning by default (supported overrides: medium, high, xhigh, max, ultra).
  • OpenCode - opencode-implementer; configured provider/model unless overridden, with an optional model-specific --variant such as high when supported.
  • Pi - pi-implementer; always uses the model configured in Pi (e.g. xai/grok-4.7 as configured in Pi) — a spec naming a model override fails the lane rather than substituting one — with optional --thinking off|minimal|low|medium|high|xhigh|max.
  • Pythinker - pythinker-implementer; configured provider/model unless overridden; the installed pythinker-code CLI exposes no reasoning override, so the Pythinker configured default always applies.
  • Antigravity CLI - agy-implementer; configured model unless overridden, with optional --effort low|medium|high; darwin/arm64 only until a Linux/Windows write-confinement backend exists.
  • Claude Code - claude-implementer; a second Claude session run headless as an untrusted Producer — the configured default model unless overridden with --model opus|sonnet|fable|haiku (opus = Opus 5.5, sonnet = Sonnet 5.5, fable = Fable 5.1), with optional --effort low|medium|high|xhigh|max; darwin/arm64 only, same Seatbelt backend. The attempt runs with settings, hooks, MCP servers, skills, and CLAUDE.md discovery disabled, so it sees only the Delegation Spec and cannot reach this plugin's own tools.

There is no implicit lane default. If the answer names a supported model or reasoning override, include it in the delegation spec; otherwise let the selected Producer use its configured default. The Pi lane accepts no model override: it always runs the model configured in Pi.

P0-A certifies the MCP implementation path only for Codex on macOS arm64 when its capability report names codex-native-sandbox and marks the edit Lane eligible.

Architect-side Claude subagents

The architect session — whatever model it runs, including Fable — may dispatch Claude subagents through the host's Agent tool (model: opus, sonnet, or fable) for non-writing roles, in parallel with a running lane:

  • Scout (sonnet, or Explore): read-only reconnaissance before a spec is frozen — call sites, nearby patterns, which files an allowlist must cover.
  • Spec drafter (sonnet): turn an agreed design into candidate successCriteria and verification commands for the architect to review; the architect still owns and freezes the spec.
  • Candidate reviewer (candidate-reviewer, opus): an independent review of the frozen bytes through reviewCandidate, with no Producer context. Use it for the per-task review and for the whole-branch final review, then let the architect weigh the verdict and call decideCandidate.
  • Advisor (claude-advisor, fable): commitment-boundary second opinion.

A Claude subagent is never an implementer: it edits nothing, calls neither decideCandidate nor integrateCandidate, and never dispatches a lane; only the delegation-lane courier calls delegate/delegatePipeline. When the work is implementation and you want Opus or Sonnet, that is the claude-implementer lane above — the same model, run as an untrusted Producer in an isolated worktree, frozen, and independently verified.

Build the Delegation Spec

Construct a candidate spec with every required field:

  1. specVersion: "1".
  2. objective: one observable outcome.
  3. context: only relevant repository and design context.
  4. writeAllowlist: explicit repository-relative globs; use ["**"] only for genuinely repository-wide work.
  5. Optional allowedTestDeletions: repository-relative globs for test files the architect explicitly authorizes deleting; slices inherit this value unless they define their own.
  6. forbiddenScope: explicit paths the Producer must never change.
  7. successCriteria: reviewable conditions.
  8. verification: Host-authorized command objects. Each verification command uses args, not argv; network is exactly "denied" or "allowed"; command timeoutMs must be 1..1800000; include a repository-relative cwd, expected exit codes, and optional platform filters. Verification runs in a disposable worktree, so writes to git-ignored paths (build caches, virtualenvs, __pycache__, .pytest_cache) are permitted by default and never fail a command; set the optional allowedMutations: "none" only when a command must be proven to write nothing at all.
  9. executionMode: "edit"; attempt timeoutMs must be 600000..1800000; producerPreferences is an ordered array of Producer id strings; use optional producerOverrides: { model?, reasoningEffort? }; and set expectedOutput: "candidate-patch".

Acceptance criteria:

  • Every success criterion must be objectively checkable.
  • Distill all applicable constraints into context; do not point the Producer to AGENTS.md, CLAUDE.md, SKILL.md, lessons files, or other agent-rule/skill documents.
  • Edit delegations are action-first: the Producer must begin by opening the implementation files authorized in the spec, and a plan-only result with zero edits is a failed run.
  • At least one verification command must mechanically cover each criterion.
  • Order verification commands exactly as the Host must execute them. When linting/formatting and type checking both apply, all lint and format gates must precede the final type-check gate, and verification formatters must use a non-mutating check mode (for example, --check); formatting rewrites belong in the Producer attempt before candidate freeze.
  • The final type-check must cover ALL touched typed files, including every added or modified test file; never scope it only to src/ when tests or other typed paths may change.
  • Keep observable outcomes in successCriteria. Put reviewer-only, non-commandable concerns in review.focus; when present, review.focus must be a non-empty array of non-empty strings. No undocumented review keys are accepted.
  • Prefer explicit test file paths in verification args; directory args can resolve differently between the Producer sandbox and clean-room verification.
  • A text-search gate must not be able to match prose: anchor an absence check to the

syntax you mean, exclude comment lines, or assert over a parsed structure, so a Producer cannot fail a gate its code satisfies by writing a comment that mentions the pattern (docs/verification-preflight.md).

  • Bound the parallelism of every test command, and state the same bound in context for the commands the Producer runs on its own. Verification commands are not the only tests that execute: a Producer re-runs the suite inside its own shell, and an unbounded runner there fans out to one worker per core on top of the attempt itself. On a many-core host that has driven thousands of process spawns and starved the machine. For a Node repository, pass an explicit worker cap (for example --maxWorkers=4) rather than relying on a runner default.

Verification preflight: The runtime runs every verification command against clean HEAD in a disposable worktree before dispatch, and separately probes the Producer's own shell for the executables those commands name — a Producer that cannot resolve node or git cannot verify its own work, and would otherwise discover that only after burning the whole attempt window. An unresolvable executable ends the attempt as environment-defect before the Producer runs; anything less definite proceeds and is recorded in evidence. The probe proves resolution, not configuration, and grants a candidate nothing: independent verification remains the backstop. Repair the spec if a command cannot start. A baseline failure unrelated to the task is an environment defect the architect repairs centrally before dispatching. Set expectBaselineFailure: true on any command that cannot pass at clean HEAD by design — one that reproduces the target bug, or one that exercises a file or test the candidate will create (it necessarily fails before that path exists).

Set baselineFailureExitCodes alongside the flag whenever the runner distinguishes "the test ran and failed" from "the test could not be collected". The flag is enforced in both directions — it rejects a command that could not run at all and one that passes — and is all-or-nothing for the command it sits on, so never blanket-mark the command set. Why each part of that holds: docs/verification-preflight.md.

Resolve ambiguity before calling the runtime. Do not give the Producer credentials, hidden instructions, acceptance authority, or permission to expand scope.

Coordinator duties

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
31
Repository forks
1
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pymodel/claude-architect/delegate/badge)](https://verified-skill.com/skills/pymodel/claude-architect/delegate)

Something wrong with this skill or its page? Tell us.