TT-Wang/forge

šŸ¤– Coding Agents
0 Views
0 Installs

šŸ“‡ šŸ  šŸŽ 🪟 🐧 - Structured planning, parallel execution in git worktrees, and deep validation for Claude Code. Turns a one-line objective into a validated DAG of modules executed by worker agents, each self-checked and cross-module-reviewed before merge-back. 7 MCP tools: validate, validateplan, memoryrecall, memorysave, iterationstate (per-run scoped, with stagnation/velocity/oscillation detection), forgelogs, sessionstate. Stdio-only. Zero telemetry.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "tt-wang-forge": {
      "command": "npx",
      "args": [
        "-y",
        "tt-wang-forge"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

Forge

CI License: MIT Node forge MCP server

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.

Task shapePlain Claude CodeForge
One small editBetterOverkill
Quick investigationBetterOverkill
Multi-file featureManual coordination requiredStrong fit
Parallelizable workYou manage it yourselfBuilt in
Deep validationYou remember to run itPart of the workflow
Retry after failureManual retry and debuggingTracked, guided, resumable
Reusing patterns across sessionsAd hocBuilt in memory

Forge is not trying to replace normal usage. It is for the tasks where orchestration matters.

Quick Start

60-second setup

  1. Install Forge with the two commands above
  2. Restart Claude Code
  3. Open your project
  4. Paste one objective:
/forge add JWT auth with refresh tokens
  1. Approve the generated plan

Run

/forge build an audit log for admin actions

Check Progress

/forge-status

Re-check One Module

/forge-validate m2

A Typical Session

/forge add JWT auth with refresh tokens

[forge] Phase 1: Planning...
[forge] Proposed Plan: 4 modules, 2 parallel groups
[forge] Proceed with this plan? (yes / modify / abort)

[forge] Phase 2: Executing m1...
[forge] Phase 2: Executing m2, m3 in parallel...
[forge] āœ“ m2: DONE — validated, score 1.0
[forge] āœ— m3: FAILED — retrying with debugger
[forge] āœ“ m3: DONE — validated after retry

[forge] ## Forge Complete
[forge] 4/4 modules completed

That is the experience Forge is aiming for: less manual steering, more visible progress, and fewer silent failures.

What To Expect On First Run

  • Forge will create a local .forge/ directory in your project
  • the MCP server may spend a few seconds installing its Node dependencies
  • your first real interaction is the plan review step
  • nothing executes until you explicitly approve the plan

Current Project Structure

forge/
ā”œā”€ā”€ .claude-plugin/
│   ā”œā”€ā”€ plugin.json
│   └── marketplace.json
ā”œā”€ā”€ .claude/
│   ā”œā”€ā”€ settings.json
│   └── settings.local.json
ā”œā”€ā”€ agents/
│   ā”œā”€ā”€ planner.md
│   ā”œā”€ā”€ worker.md
│   ā”œā”€ā”€ reviewer.md
│   └── debugger.md
ā”œā”€ā”€ skills/
│   ā”œā”€ā”€ forge/
│   │   └── SKILL.md
│   ā”œā”€ā”€ forge-status/
│   │   └── SKILL.md
│   └── forge-validate/
│       └── SKILL.md
ā”œā”€ā”€ forge-mcp-server/
│   ā”œā”€ā”€ index.mjs
│   ā”œā”€ā”€ start.sh
│   ā”œā”€ā”€ package.json
│   └── tests/
ā”œā”€ā”€ statusline/
│   └── forge-status.sh
ā”œā”€ā”€ docs/
│   ā”œā”€ā”€ architecture.md
│   ā”œā”€ā”€ mcp-tools.md
│   └── launch/
ā”œā”€ā”€ CHANGELOG.md
ā”œā”€ā”€ CONTRIBUTING.md
ā”œā”€ā”€ SECURITY.md
ā”œā”€ā”€ CLAUDE.md
└── README.md

At runtime, Forge also creates a local .forge/ directory in the working project to store plans, logs, memory, retry history, and resumable state.

The Main Pieces

Agents

Forge ships with four focused agents:

  • planner: explores the codebase and proposes the module plan
  • worker: implements one module in an isolated worktree
  • reviewer: checks correctness, security, and contract mismatches
  • debugger: investigates failed modules and drives retry

Skills

The user-facing commands are:

  • /forge: full orchestrator workflow
  • /forge-status: current plan, module progress, and learned patterns
  • /forge-validate: re-run validation for one module

MCP Server

The bundled MCP server provides the shared runtime capabilities Forge needs:

  • validate
  • validate_plan
  • memory_recall
  • memory_save
  • iteration_state
  • forge_logs
  • session_state

These tools let multiple agents coordinate without relying on loose conversational memory.

Status Line

Forge can render live progress in your terminal:

[forge] ā–ˆā–ˆā–ˆā–ˆā–‘ā–‘ā–‘ā–‘ā–‘ā–‘ 2/5 | VALIDATE | refresh endpoint | 3m19s | ~2m30s left

To use it:

claude statusline set "bash /path/to/forge/statusline/forge-status.sh"

What Lives In Your Project

Forge keeps its runtime state in a local .forge/ directory inside the working project. That includes:

  • execution plans
  • retry history
  • learned patterns
  • structured logs
  • resumable session state

This keeps the workflow inspectable instead of hiding everything behind opaque agent state.

Documentation

Manual Installation

If you do not want to install from the Claude Code marketplace, you can wire Forge manually:

git clone https://github.com/TT-Wang/forge.git /tmp/forge
mkdir -p .claude/agents .claude/skills
cp /tmp/forge/agents/*.md .claude/agents/
cp -r /tmp/forge/skills/* .claude/skills/
cp -r /tmp/forge/forge-mcp-server ./forge-mcp-server/
cd forge-mcp-server && npm install && cd ..

Then wire the MCP server using the reference config in .claude/settings.json.

Development

git clone https://github.com/TT-Wang/forge.git
cd forge/forge-mcp-server
npm install
npm test

Works Great With

  • memem — persistent cross-session memory for Claude Code. Forge handles planning and execution; memem helps carry useful patterns across runs.
  • Vibereader — curated tech news while Claude works

License

MIT — see LICENSE

Related MCP Servers

5dive-ai/5dive-mcp

šŸ“‡ šŸ  šŸŽ 🪟 🐧 - Manage a 5dive agent fleet from any MCP client: file tasks, message and inspect agents, and read the fleet digest. Thin adapter over the 5dive CLI.

šŸ¤– Coding Agents0 views
agent-blueprint/mcp-server

šŸ“‡ ā˜ļø - 8 MCP tools for exploring and downloading AI agent blueprints. List blueprints, get summaries, download full Agent Skills directories for implementation by coding agents. Vendor-agnostic output works with any enterprise platform. Install: npx agentblueprint.

šŸ¤– Coding Agents0 views
agentic-mcp-tools/owlex

šŸ šŸ  šŸŽ 🪟 🐧 - AI council server: query CLI agents (Claude Code, Codex, Gemini, and OpenCode) in parallel with deliberation rounds

šŸ¤– Coding Agents0 views
alpadalar/netops-mcp

šŸ šŸ  - Comprehensive DevOps and networking MCP server providing standardized access to essential infrastructure tools. Features network monitoring, system diagnostics, automation workflows, and infrastructure management with AI-powered operational insights.

šŸ¤– Coding Agents0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it →
ā˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.