TT-Wang

Forge

Community TT-Wang
Updated

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

Forge

CILicense: MITNode

Structured planning, parallel execution, and deep validation for Claude Code.

Install

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

What it does

Forge turns a vague objective into structured, validated, parallel work. You say /forge add JWT auth with refresh tokens and it plans, executes in parallel worktrees, validates deeply, retries intelligently, and learns for next time.

  • Plans — breaks tasks into a dependency graph of modules
  • Executes — parallel workers in isolated git worktrees
  • Validates — syntax checks, API contract verification, stagnation detection
  • Retries — debugger agent with root-cause analysis on failures
  • Reviews — correctness and security checks with contract verification
  • Learns — saves conventions and failure patterns to memory
  • Resumes — picks up where you left off after a crash

Usage

/forge add JWT authentication with refresh tokens
/forge-status
/forge-validate m2

Use Forge for multi-file features, tasks that need validation, ambitious changes. Skip it for quick edits or simple questions — just use Claude Code directly.

How it works

┌─────────────────────────────────────────────────────────────┐
│  /forge "add JWT auth with refresh tokens"                   │
└──────────────────────────┬──────────────────────────────────┘
                           │
                           ▼
              ┌────────────────────────┐
              │    Forge Orchestrator   │
              │    skills/forge/SKILL   │
              └─────┬──────────────────┘
                    │
    ┌───────────────┼───────────────┬───────────────┐
    ▼               ▼               ▼               ▼
┌────────┐   ┌──────────┐   ┌──────────┐   ┌──────────┐
│Planner │   │ Worker   │   │ Reviewer │   │ Debugger │
│        │   │ (×N      │   │          │   │          │
│ Explore│   │ parallel)│   │ Security │   │ Root     │
│ codebase   │          │   │ + API    │   │ cause    │
│ → DAG  │   │ Isolated │   │ contract │   │ analysis │
│ plan   │   │ worktree │   │ checks   │   │ + logs   │
└────┬───┘   └────┬─────┘   └────┬─────┘   └────┬─────┘
     │            │               │               │
     └────────────┴───────┬───────┴───────────────┘
                          │
                          ▼
              ┌────────────────────────┐
              │     MCP Server         │
              │     (Node.js, 7 tools) │
              │                        │
              │  validate              │
              │  validate_plan         │
              │  memory_recall/save    │
              │  iteration_state       │
              │  forge_logs            │
              │  session_state         │
              └───────────┬────────────┘
                          │
                          ▼
              ┌────────────────────────┐
              │   .forge/ (persistent) │
              │                        │
              │   plans/    memory/    │
              │   iterations/  logs/   │
              │   state/               │
              └────────────────────────┘

4 agents + 1 MCP server (7 tools) + 3 slash commands. All markdown and Node.js — no custom runtime.

MCP Tools

Tool What
validate Syntax checks, API contracts, stagnation/velocity/oscillation analysis
validate_plan DAG cycle detection, file overlap warnings, schema validation
memory_recall Search project and global memory
memory_save Persist learned patterns with deduplication
iteration_state Track retry attempts per module
forge_logs Query structured JSONL logs by run, module, phase, severity
session_state Save/load session state for resumability

Development

See CONTRIBUTING.md for dev setup, test commands, andthe PR process. See SECURITY.md for how to reportvulnerabilities privately.

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

Documentation

  • Architecture — orchestrator, agents, MCP server, state
  • MCP tools reference — input/output schemas for all 7 tools
  • Changelog — release notes

Works great with

  • memem — Persistent cross-sessionmemory for Claude Code. Forge + memem is the recommended pairing:forge plans and executes, memem remembers what worked across runs.Patterns forge saves via memory_save land in memem's recall index,so next week's run starts with last week's lessons already loaded.

See Also

  • Vibereader — Curated tech news while Claude works

License

MIT — see LICENSE

MCP Server · Populars

MCP Server · New

    1ch1n

    MyChatArchive

    Local-first AI memory archive. Import ChatGPT, Claude, and Grok exports, generate semantic embeddings, and search via MCP server. Zero cloud, zero cost.

    Community 1ch1n
    butterbase-ai

    butterbase

    Open-source backend-as-a-service. Postgres, auth, storage, functions, AI gateway, MCP.

    Community butterbase-ai
    GoPlusSecurity

    GoPlus AgentGuard

    Security guard for AI agents — blocks malicious skills, prevents data leaks, protects secrets. 24 detection rules, runtime action evaluation, trust registry.

    Community GoPlusSecurity
    respawn-llc

    tool-filter-mcp

    MCP proxy server that filters tools from upstream MCP servers via regex-based deny list

    Community respawn-llc
    Kaelio

    ktx-ai-data-agents-context

    ktx is an executable context layer for data and analytics agents 🐙 Allow Claude Code, Codex, and any AI agent to query data accurately through MCP with skills, memory and a semantic layer

    Community Kaelio