Skip to content

Forge

Turn Claude Code into a plan-execute-validate loop with parallel work, intelligent retry, and memory

Install

$claude plugin install forge@tt-wang-plugins

Install command taken from the project's README or registry entry. Always review code before running it.

Forge

Turn Claude Code into a structured delivery loop: plan the work, run modules in parallel, validate deeply, retry intelligently, and carry forward what worked.

Why Forge

Single-agent Claude Code drifts past ~5 steps. The failure mode isn't code quality — it's silent state corruption: parallel workers branching from stale HEAD, modules quietly clobbering each other's changes, "DONE" status that hides broken integration. Forge externalizes the plan → execute → validate loop so the same task that would silently break at 7 steps cleanly delivers at 30.

Core mechanic:

  • DAG plans, not linear chains — workers run in parallel where dependencies allow
  • Worktree isolation + auto-WIP commits between tiers — every tier writes to disk before the next branches off (this exists because we shipped memem v0.10.0 once with this exact failure: 20 min of recovery work)
  • Per-module verify commands & acceptance criteria — defined at plan time so workers can't quietly lower the bar
  • Multi-lens review — a separate reviewer agent + 3× self-consistency catches cross-module bugs single-module reviewers miss
  • Structured failure ledger — failure modes captured as JSONL, recalled by pattern ID in the next plan

Track record: shipped memem v1.7 → v1.8.3 (7 releases) in a single day, including a 9-file anti-recursion safety fix and a persistent slice daemon — with human in the loop only at yes/modify/abort gates.

Install

Copy-paste:

claude plugin marketplace add TT-Wang/forge
claude plugin install forge@tt-wang-plugins

First start may take a few seconds because Forge bootstraps its MCP server dependencies automatically.

After install:

  1. restart Claude Code if it was already open
  2. open any repo you want to work in
  3. run /forge <objective>

Example:

/forge add audit logging for admin actions

The Pitch

Forge is for the point where plain prompting stops being enough.

If the task touches several files, needs coordination between modules, or needs proof that it actually works, Forge gives Claude Code a workflow instead of just another prompt:

  • break the work into modules
  • run what can be parallelized
  • validate each module hard
  • retry failures with debugger context
  • remember what worked for the next task

You still use Claude Code. Forge just adds structure around the hard parts.

What You Get

  • Structured planning: breaks a feature into modules with dependencies and verification commands
  • Parallel execution: runs independent modules at the same time in isolated worktrees
  • Deep validation: checks files, commands, syntax, and cross-module API contracts
  • Intelligent retry: tracks attempts, detects stagnation, and escalates to a debugger agent
  • Session resumability: picks up incomplete work instead of starting from scratch
  • Cross-session memory: remembers conventions, failure patterns, and test commands
  • Status visibility: exposes progress in Claude output and a terminal status line

Why Not Just Use Claude Code Directly?

For many tasks, you should.

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Explore related