A deterministic workflow
for complex development.

Turn ideas into a verified architecture, resolve dependencies, and execute tasks in parallel with explicit control.

From idea to execution.

STAGE 04APPROVE

After the verifier, a plan review checks scope fit and minimalism. The user gate presents the create, reuse and omit artifact list, wave summary and ownership map, then asks for your explicit approval before writing source code.

Protocol / Tool Invocation
archgen_plan · brief
Artifact: Create / Reuse / Omit List · Wave Summary · Ownership Map
Structural Guarantee
Nothing is written until the verifier, plan review and explicit user approval pass in order.

Complex work.
Clearly structured.

Every task declares explicit dependencies, disjoint file ownership globs, and objective acceptance criteria before execution begins.

Verifier Gate: PASS (0 conflicts)
WAVE 01 · FOUNDATIONWAVE 02 · PARALLEL WAVE (3X)WAVE 03 · VERIFICATION WAVE (2X)WAVE 04 · RELEASE GATET-01tasks.schema.jsonCore Architecture Schema & ContractsT-02graph.mjsDAG Resolver & Wave FrontierT-03verifier.mjsOwnership Glob GuardT-04refs.mjsOn-Demand Section DigestT-05plan.mjsHolistic Verifier Gate BriefT-06worker-contract.mjsWorker Contract AssemblerT-07init.jsMulti-Harness CLI Bootstrap
T-05WAVE 03RUNNING

Holistic Verifier Gate Brief

depends_on: T-02, T-03

Disjoint File Ownership
packages/mcp/src/tools/plan.mjs
Acceptance Criteria
  • Assemble pre-rendered evidence map, dependency graph, and coverage matrix
  • Require zero extra tool calls from the verifier sub-agent

One server.
A complete architecture toolkit.

One archgen-mcp server over stdio gives the model eight deterministic tool domains for planning, verification, execution, artifact navigation and runtime facts. Setup and CodeGraph administration remain on the CLI or CI control plane. One implementation, two ways in, so the skill and installer never disagree.

018 actions

archgen_plan

Validates architecture contracts, drives the deterministic floor, profiles evidence-based scope and assembles the verifier brief.

validateverifygraphimpactcoverageprofilescaffoldbrief
025 actions

archgen_tasks

Resolves topological execution waves, isolates failed dependencies and builds self-contained worker contracts.

next waveset statuslistresume snapshotworker contract
036 actions

archgen_docs

Indexes plan artifacts and serves targeted section slices, so agents never read whole files.

indexdigestsectionrefsmapvalidate
042 actions

archgen_registry

Reads and synchronizes the features registry and module boundaries kept in AGENTS.md.

refreshread
054 actions

archgen_skills

Matches tasks against the capability-skill registry and injects normative rules into worker contracts.

matchinstallloaddigest
062 actions

archgen_refs

Loads ArcGen protocol reference documents on demand, one section at a time.

digestload
071 action

archgen_help

Returns the complete action schema and error recovery guide for a single tool domain.

briefing
082 actions

archgen_platform

Reports the read-only runtime facts of the current harness — skill paths, MCP config, sub-agent dispatch and index state.

detectinspect

Your harness.
Your workflow.

ArcGen separates judgment from deterministic output. The Agent Skill (skill/SKILL.md) holds workflow policy and gate depth; the MCP server owns every artifact schema, dispatch brief and capability table.

12 SUPPORTED HARNESSESSCROLL HORIZONTALLY TO EXPLORE ALL PLATFORMS
01Auto-Detected

Claude Code

.claude/ · .mcp.json

Native background sub-agents with git-worktree isolation

mcpServers
02Auto-Detected

OpenCode

.opencode · opencode.json

Subagent tool and parallel headless worker runs

mcp.servers
03Auto-Detected

Cursor

.cursor/ · .cursor/mcp.json

Native background sub-agents with scoped file ownership

mcpServers
04Auto-Detected

Codex CLI

.codex/ · config.toml

Model-mediated spawn with flattened waves

[mcp_servers]
05Auto-Detected

Gemini CLI

.gemini/ · settings.json

Subagents-as-tools, hub-and-spoke wave execution

mcpServers
06Auto-Detected

Antigravity

.agents/ · mcp_config.json

Async sub-agent invocation with forked context isolation

mcpServers
07Auto-Detected

VS Code + Copilot

.vscode/ · .github/skills/

Hot-reload MCP wiring with .github/skills/ and .agents/skills/

servers
08Auto-Detected

Windsurf

.windsurf/ · .windsurf/mcp_config.json

Project .windsurf/skills/ store with global stdio MCP wiring

mcpServers
09Auto-Detected

Kiro

.kiro/ · .kiro/settings/mcp.json

Hot-reload MCP wiring with explicit skill resources

mcpServers
10Auto-Detected

Zed

.zed/ · .zed/settings.json

context_servers integration with a flat .agents/skills/ store

context_servers
11Auto-Detected

Trae

.trae/ · .trae/mcp.json

Hot-reload MCP configuration with .trae/skills/ and .agents/skills/

mcpServers
12Auto-Detected

Universal (AgentSkills.io)

.agents/skills/<slug>/

Universal .agents/skills/ layout for any compatible harness

stdio MCP transport
AGENTSKILLS.IO COMPATIBLE

One canonical skill across every environment.

Install per project or globally. Requires Node.js ≥ 20 with zero external CLI dependencies.

Project Initialization

Installs the canonical skill, wires archgen-mcp into every detected harness and ensures CodeGraph. Global harness wiring is the default; use --location-project for project-local MCP configuration.

npx archgen-skill init
Global Harness Skill

Links the canonical skill into every detected harness directory; pass --copy for real copies instead of symlinks.

npx archgen-skill install
Zero-Dependency POSIX Script

Auditable POSIX installer with zero dependencies beyond coreutils; use --no-mcp --no-codegraph when the optional server bootstrap is unavailable offline.

./install.sh --init

Less context.
More useful work.

Measured on every commit via npm run test:budget. CI fails if the always-on footprint ever exceeds 18,000 tokens. The current total is 13,663 tokens— 42% of a 32k window.

13,663always-on tokens · 42% of a 32k window
CI Hard Ceiling: 18,000 tokens
skill/SKILL.md: 7,813 tokens (workflow policy & gate depth)
MCP tool catalog (8 tools): 5,850 tokens
PULLED PER SECTION, ON DEMAND (NEVER READ WHOLE)
278 tokens

Protocol reference

In total: 20,751 tokens

one section (278 tokens)

Loaded one section at a time

160 tokens

Capability skill rules

In total: —

injected in full (~160 tokens)

Injected into the worker contract

4,069 tokens

Dispatch brief

In total: 4,069 tokens

only the dispatched brief

Pre-rendered evidence, graph and reference checks

3,071 tokens

Artifact template

In total: 3,071 tokens

only the scaffolded template

Scaffolded on demand

Bring structure to your next project.

Initialize ArcGen with one command. Requires Node.js ≥ 20; reload your harness when setup finishes.

npx archgen-skill init
01

Install ArcGen.

Run npx archgen-skill init in your project root to install the canonical skill, wire archgen-mcp into every detected harness and ensure CodeGraph.

02

Reload your coding harness.

Restart or reload your IDE or CLI harness so the eight model-facing archgen_* MCP tool domains become active in your session.

03

Describe your development task.

Ask naturally to generate architecture, survey an existing repository, investigate a root cause or start autonomous wave execution.

04

Review the generated architecture.

Inspect the architecture contract, ADRs, plan decisions, wave summary and disjoint file ownership map in .archgen/<slug>/.

05

Approve and execute.

Grant explicit approval at the user gate, then let up to three sub-agents execute independent tasks wave by wave with full traceability.