megaplan

Coordinate multi-stage software change workflows with staged verification via the megaplan CLI.

97|8|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/peteromallet/arnold --skill megaplan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: megaplan
Source: https://github.com/peteromallet/arnold/tree/main/megaplan/data/_codex_skills/megaplan
Command: npx skills add https://github.com/peteromallet/arnold --skill megaplan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Megaplan turns brittle, single-pass AI attempts into structured, multi-stage planning and execution with explicit checkpoints that reduce skipped steps and rubber-stamping.

Core Features & Use Cases

  • Robust multi-phase workflow: Runs through prep, plan, critique, gate, revise, finalize, execute, and review with stage-scoped outputs and validation.
  • Per-step model routing: Applies cheaper models to routine components and reserves premium adjudication/research effort for the genuinely hard parts.
  • Code or document delivery modes: Supports source-code diffs (code mode) and single-artefact design/proposal documents (metaplan mode), optionally importing prior “Settled Decisions”.

Quick Start

Use megaplan to generate an execution-ready plan and code change for your project by running the verified launcher and then calling megaplan init with your idea and project directory.

Frequently Asked Questions about megaplan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create robust multi-phase planning workflows for AI code generation?

Robust multi-phase planning workflows for AI code generation use staged verification across prep, plan, critique, gate, revise, finalize, execute, and review phases. This enforces explicit checkpoints that reduce skipped steps and rubber-stamping in software execution.

What is the best way to route cheaper AI models for routine code tasks and premium models for hard logic?

Per-step model routing allocates cheaper AI models to routine code components and reserves premium adjudication for genuinely hard logic. This model orchestration applies staged verification to balance cost and robustness across software execution workflows.

How do I generate execution-ready plans for software refactoring and migrations?

Execution-ready plans for software refactoring and migrations are generated by running a verified launcher and initializing the CLI with your project directory and idea. The workflow loop semantics enforce structured planning across all execution stages.

Can I generate design-first architecture documents instead of source-code diffs with an AI agent?

Metaplan mode generates single-artefact design and proposal documents instead of source-code diffs. This document-first mode supports architecture artifacts and optionally imports prior Settled Decisions for design-first software execution.

Does the megaplan workflow require any specific dependencies or launcher setup?

The megaplan workflow requires using its CLI with a verified launcher resolution check before initialization. It operates with no external dependencies, enforcing mode and output validation across prep, plan, critique, gate, revise, finalize, execute, and review stages.

Why does single-pass AI code generation fail on complex software changes?

Single-pass AI code generation fails on complex software changes due to brittleness and rubber-stamping without explicit checkpoints. Structured intelligence coordination workflows solve this by enforcing stage-scoped outputs and validation across critique, gate, and revise phases.