Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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-pro and gemini-3.1-pro-preview
  • To verify model availability, call mcp__pal__listmodels before 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:

  1. The complete approved plan from Phase 2 (verbatim)
  2. Clear instruction to execute each step in the specified order
  3. Instruction to run the specified tests after making changes
  4. Instruction to report back with:
    • Summary of every file changed a
Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить forge с