From forge
Decomposes complex goals into agent team blueprints using scaling laws, topology selection (pipeline, parallel, coordinator, hierarchical), and role design with artifact chains and quality gates. For project planning and team assembly.
npx claudepluginhub jdforsythe/forge --plugin forgeThis skill uses the workspace's default tool permissions.
The entry point and brain of the Forge system. Analyzes user goals, assesses complexity, selects coordination topology, and produces team blueprints or single-agent definitions.
Sets up multi-agent teams for complex projects with file-based planning, per-agent directories, and teammate spawning. Triggers on team/swarm/start-project requests.
Assembles role-based AI agent teams to ship ideas from concept to production using tracks like fast, full, TDD, sprint, and custom roles. Use for multi-role orchestration and delivery.
Share bugs, ideas, or general feedback.
The entry point and brain of the Forge system. Analyzes user goals, assesses complexity, selects coordination topology, and produces team blueprints or single-agent definitions.
Decomposition & Planning: decision decomposition, value stream mapping, work breakdown structure, vertical slice, task decomposability, blast radius, two-way door decision Coordination & Topology: communication topology, topology selection, centralized coordination, decentralized coordination, pipeline architecture, sequential dependency, coordination overhead Team Design: RACI matrix, Conway's Law, artifact chain, quality gate, handoff artifact, role boundary, capability matching Scaling & Efficiency: tool density, capability saturation, error amplification, cost multiplier, efficiency ratio, cascade pattern, 45% threshold
Read project context if available. IF CLAUDE.md exists in project root: Parse for project constraints, tech stack, team preferences. IF existing files present: Scan structure to understand current state. OUTPUT: Project context summary (or "greenfield — no existing context").
Check library for existing resources. IF ./library/index.json exists: Load and scan for matching agents, skills, and templates. IF matching agents found: Note them for potential reuse. IF matching template found: Note it for potential adaptation. OUTPUT: Available library resources list.
Classify the goal. Identify: primary domain (software, marketing, security, operations, custom). Identify: project archetype (product build, campaign, audit, content creation, research, operations). OUTPUT: Domain and archetype classification.
Evaluate complexity using DeepMind criteria. a. Sequential dependency: Does each step depend on the previous step's output?
IF Level 0 — Single Agent Sufficient: Produce one agent definition following ./schemas/agent-definition.md format. Include: role identity, domain vocabulary, deliverables, decision authority, SOP, anti-patterns, interaction model. IF matching agent exists in library: Load and adapt rather than creating from scratch. Package and present to user. DONE.
IF Level 1 — Team Warranted, Known Pattern: a. Select communication topology using the topology decision matrix (see ./references/topology-guide.md). b. IF matching template exists in ./library/templates/: Load template and adapt to specific goal. c. IF no template: Design team from scratch using topology selection rules. d. Determine team size: start at 3 agents, add only if genuinely different expertise required. Never exceed 5 without explicit justification. e. Define artifact chain: every agent produces a typed deliverable, every handoff has explicit format. f. Define quality gates: identify critical handoffs that require review before proceeding. g. Present blueprint to user following ./schemas/team-blueprint.md format. h. WAIT for user approval before proceeding. i. Upon approval, for each role in the blueprint: IF matching agent exists in library: Load and adapt. IF no match: Create agent definition (invoke Agent Creator skill or produce inline). j. Package all artifacts: blueprint + agent definitions. k. Present to user. DONE.
IF Level 2 — Novel Domain or Ambiguous Goal: a. Perform decision decomposition: break goal into decision points, identify unknowns. b. Present reasoning to user:
The Mission Planner produces team blueprints following the format specified in ./schemas/team-blueprint.md.
For single-agent results (Level 0), produce an agent definition following ./schemas/agent-definition.md.
Every blueprint includes:
User says: "Build me a blog"
BAD response: Creates a 5-agent team: Content Strategist, Information Architect, Frontend Developer, Backend Developer, QA Engineer. Massive coordination overhead for a straightforward task.
Why it is bad: A blog is a well-understood, low-complexity project. A single well-prompted agent with knowledge of web frameworks can handle requirements, design, and implementation. The 45% threshold tells us a single agent covers this easily. Five agents would cost 7x tokens for marginal improvement.
GOOD response:
---
goal: "Build a personal blog"
domain: software
complexity: single-agent
topology: n/a
agent_count: 1
estimated_cost_tier: low
---
Produces one agent definition: a Full-Stack Developer agent with blog-specific SOP covering tech selection, content model design, implementation, and deployment. Single agent, clear deliverables, done.
User says: "Build a B2B SaaS analytics product"
BAD response: Produces vague roles: "Technical Lead — handles technical stuff," "Designer — does design." No artifact chain. No quality gates. No topology rationale. Agents have overlapping responsibilities.
Why it is bad: Without explicit artifact chains, agents produce inconsistent work. Without quality gates, errors cascade. Without topology rationale, coordination is ad-hoc. Vague role descriptions fail the "would a senior practitioner recognize this as their job?" test.
GOOD response:
---
goal: "Build a B2B SaaS analytics dashboard product"
domain: software
complexity: team
topology: sequential-pipeline
agent_count: 4
estimated_cost_tier: high
---
Specific roles: Product Manager (defines requirements and acceptance criteria), Software Architect (designs system architecture and API contracts), Lead Engineer (implements application and tests), QA Engineer (validates against requirements and tests edge cases). Each role has explicit deliverables flowing to the next. Quality gates require user sign-off on PRD and architecture before proceeding. Topology rationale explains why sequential pipeline fits the strong dependencies.
.claude/agents/[agent-name].md.claude/skills/[skill-name].md.claude/teams/[team-name].md or present inline.skill files for installationThis skill activates when the user asks any of the following (or variations):
./references/scaling-laws.md — DeepMind scaling criteria, 45% threshold, cost multipliers./references/topology-guide.md — Topology decision matrix and selection flowchart./references/team-templates.md — Pre-built team templates for common project archetypes./schemas/team-blueprint.md — Output format specification./schemas/agent-definition.md — Agent definition format for individual roles