forge
БесплатноБез исполняемых скриптовНе проверенMulti-phase, multi-model deep analysis workflow for complex problems. This skill should be used when the user wants rigorous, multi-model collaborative…
от jwiegley★ 20 звёзд на GitHubОб этом скилле
Forge: Multi-Model Collaborative Workflow
Overview
Forge applies maximum analytical rigor to complex problems by orchestrating multiple AI models across five sequential phases:
| Phase | Model(s) | Purpose |
|---|---|---|
| 1. Research | Opus + GPT-5.4-Pro + Gemini 3 Pro | Deep analysis and consensus |
| 2. Planning | Opus + GPT-5.4-Pro + Gemini 3 Pro | Strategic plan with validation |
| 3. Execution | Sonnet | Code changes + test execution |
| 4. Review | Opus + GPT-5.4-Pro + Gemini 3 Pro | Comprehensive change review |
| 5. Critique | Opus + GPT-5.4-Pro + Gemini 3 Pro | Devil's advocate analysis |
Each analytical phase (1, 2, 4, 5) uses Opus as orchestrator and builds multi-model consensus via PAL MCP with GPT-5.4-Pro and Gemini 3 Pro. Phase 3 uses only Sonnet for cost-efficient execution.
Prerequisites
- The current session must be running on Opus (
claude-opus-4-6) - PAL MCP server must be running with access to
gpt-5.4-proandgemini-3.1-pro-preview - To verify model availability, call
mcp__pal__listmodelsbefore starting
If PAL MCP is unavailable or a partner model is missing, inform the user and halt. Do not fall back to single-model operation -- the value of Forge comes from multi-model collaboration.
Workflow
Phase 1: Deep Analysis & Research
Conduct thorough investigation of the problem before any planning or coding.
Step 1.1 -- Explore the problem space:
- Read all relevant files using Glob, Grep, and Read tools
- Understand the current state, architecture, and constraints
- Identify the root cause (if debugging) or core requirements (if building)
- Collect relevant file paths and code snippets for partner model consumption
Step 1.2 -- Systematic deep analysis:
Use mcp__pal__thinkdeep (for debugging/investigation) or mcp__pal__analyze (for architecture/feature analysis) to perform structured multi-step investigation. Pass relevant_files with absolute paths to all pertinent source files. Set model to gemini-3.1-pro-preview.
Step 1.3 -- Multi-model consensus on findings:
Use mcp__pal__consensus to gather perspectives from both partner models:
models: [
{"model": "gpt-5.4-pro", "stance": "neutral"},
{"model": "gemini-3.1-pro-preview", "stance": "neutral"}
]
The consensus step 1 prompt must present:
- The problem statement
- Your investigation findings from steps 1.1 and 1.2
- Specific questions: what aspects were missed, alternative root causes or approaches, additional constraints or risks
Step 1.4 -- Synthesize the research brief: Combine Opus analysis with consensus output into a research brief containing:
- Problem statement and context
- Root cause analysis or requirements analysis
- Key constraints and risks
- Areas of agreement and disagreement across models
- Recommendations for the planning phase
Hold the research brief in context for Phase 2.
Phase 2: Strategic Planning
Create a detailed execution plan validated across all three models.
Step 2.1 -- Draft the plan: Based on the Phase 1 research brief, create a structured plan covering:
- Specific files to create, modify, or delete (with descriptions of each change)
- Order of operations and dependencies between changes
- Test strategy: which tests to run, what to verify, expected outcomes
- Rollback approach if changes break existing functionality
Step 2.2 -- Validate with multi-model consensus:
Use mcp__pal__consensus:
models: [
{"model": "gpt-5.4-pro", "stance": "neutral"},
{"model": "gemini-3.1-pro-preview", "stance": "neutral"}
]
The consensus step 1 prompt must present the full plan and ask each model to:
- Identify gaps, missing steps, or overlooked dependencies
- Flag potential risks, edge cases, or failure modes
- Suggest improvements or alternative approaches
- Rate confidence in the plan's completeness (1-10)
Step 2.3 -- Refine the plan based on consensus feedback. Address every concern raised or explicitly document why a suggestion was not incorporated.
Step 2.4 -- Present the plan to the user for approval. Display the final plan clearly and wait for explicit user approval before proceeding. If the user requests changes, iterate (repeating consensus validation if changes are substantial). Do NOT proceed to Phase 3 without approval.
Phase 3: Execution
Spawn a Sonnet agent to execute the approved plan.
Step 3.1 -- Capture pre-execution state:
Run git stash list && git status && git log --oneline -5 to record the
baseline state before execution begins.
Step 3.2 -- Spawn the Sonnet executor: Use the Task tool:
subagent_type: "general-purpose"
model: "sonnet"
mode: "bypassPermissions"
The Task prompt must include:
- The complete approved plan from Phase 2 (verbatim)
- Clear instruction to execute each step in the specified order
- Instruction to run the specified tests after making changes
- Instruction to report back with:
- Summary of every file changed a
Установить forge в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл forge?
Multi-phase, multi-model deep analysis workflow for complex problems. This skill should be used when the user wants rigorous, multi-model collaborative analysis: deep research with Opus and PAL MCP consensus (GPT-5.4-Pro + Gemini 3 Pro), strategic planning, Sonnet execution with tests, comprehensive review, and adversarial devil's advocate critique. Invoke explicitly with /forge.
Как установить скилл forge?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл forge запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic