Map Framework
Plan-then-build AI coding for Claude Code & Codex CLI — you approve the plan before the model writes a line of code. SPEC → PLAN → TEST → CODE → REVIEW → LEARN
Install
pip install mapify-cliInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Why MAP Exists
Most AI agents rush straight to code — fast wrong answers, silent rework.
Common failure modes MAP eliminates:
- AI silently makes architecture decisions you did not approve.
- One prompt produces a large diff that is hard to review.
- Tests are written around the generated implementation, including its mistakes.
- The output compiles, but you cannot explain why the design is correct.
- The next session forgets the gotchas you already paid to discover.
MAP moves engineering judgment earlier: write down the behavior, split the work into small contracts, verify each stage, review against the spec, and save lessons for the next run.
Quick Start
1. Install
uv tool install mapify-cli
# or with pip
pip install mapify-cli
Requires Python 3.11+, and python3 on your PATH must be that interpreter — the
installed hooks and .map/scripts/ runners execute through a #!/usr/bin/env python3 shebang, not through the interpreter that ran mapify. mapify init
checks it up front and tells you what to fix (details).
2. Initialize your project
Claude Code is the default provider:
cd your-project
mapify init
claude
Codex CLI:
cd your-project
mapify init . --provider codex
codex
The generated .codex/config.toml enables hooks. On first use, review and trust
the project hook configuration when Codex prompts you; /hooks shows the eight
installed lifecycle event groups.
3. Run the loop
Claude Code:
/map-plan → /map-efficient → /map-check → /map-review → /map-learn
Codex CLI:
$map-plan → $map-efficient → $map-check → $map-review → $map-learn
That's the whole golden path.
- Start with
/map-planfor anything non-trivial — it clarifies behavior and splits the work into contract-sized subtasks. - Starting from a PRD? Run
/map-prd-reviewdirectly, or accept/map-plan's optional readiness preflight. A non-ready result shows the gaps and asks whether to revise or continue planning anyway. - Already scoped? Go straight to
/map-efficient. - Tiny edit?
/map-planoff-ramps you to a direct edit or/map-fastinstead of forcing full planning. - Too foggy to plan?
/map-wayfindresolves open design decisions on a durable map. Evidence-first research is on by default: factual lookups stay light; uncertain decisions get independent investigations and targeted checks, with four attempts before asking to extend the budget. Research handoffs are checked before/map-plan; historical decisions retain explicit legacy provenance. - Want one entry point?
/map-autoroutes and drives the chain autonomously; hard-stops only ondangerous_action/safety_guardrailholds.
Codex CLI ships the same 23 MAP skill entry points and invokes them with
$:$map-plan,$map-efficient,$map-check, and so on. See the Usage Guide.
Framework updates. Automatic stable updates are enabled by default. Normal MAP skills check at most once per project every 24 hours, apply eligible patch and minor releases, and ask before a major release after showing its official feature highlights. Rejecting a major offer is remembered per project for that exact version, so it is not offered again; any different patch, minor, or major version is offered normally. Use these project controls and provider-specific manual skills when needed:
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro,…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…