PreCompact
25Hook Claude Code
Runs before the context is compacted, executing ralph-context-pruner.py and pre-compact-save-transcript.py (2 commands). From azalio/map-framework.
Hook Claude Code
Runs before the context is compacted, executing ralph-context-pruner.py and pre-compact-save-transcript.py (2 commands). From azalio/map-framework.
Hook Claude Code
Runs when a subagent finishes, executing map-token-meter.py. From azalio/map-framework.
Hook Claude Code
Runs when the agent finishes a response, executing scrub-internal-ids.py, end-of-turn.sh, map-token-meter.py and map-memory-capture.py (4 commands). From azalio/map-framework.
Hook Claude Code
Runs when you submit a prompt, before the agent sees it, executing detect-clarification-triggers.py, context-meter.py and map-memory-recall.py (3 commands). From azalio/map-framework.
Settings file Claude Code
MAP Framework project-level settings with security guardrails.
Skill Claude CodeCodex
Opt-in proactive architecture-deepening report: ranks codebase areas by recent git hotspot and design friction, generates a ranked Markdown+Mermaid candidate report under .map/ /architecture-report/, then waits for you to pick one candidate before any code changes. Use periodically, or when agentic complexity feels…
Skill Claude CodeCodex
Single-entry autonomous autopilot: routes a task through the existing MAP workflows via routetask, then drives the selected chain (map-plan -> map-efficient -> map-check -> map-review, as routed) end-to-end to a committed feature branch in one session, auto-approving routine workflow-control holds and hard-stopping on…
Skill Claude CodeCodex
Structured MAP debugging via task-decomposer, actor, and monitor agents. Use when reproducing a bug, isolating a regression, or diagnosing an error with specialized agents — including failing or flaky tests (pytest AssertionError), crashes and segmentation faults, memory-corruption or memory errors in native/C…
Skill Claude CodeCodex
Capture reusable lessons after a completed MAP workflow. Use when a MAP run has finished and you want rules written to .claude/rules/learned/ from a workflow summary or handoff. Do NOT use during active implementation.
Skill Claude CodeCodex
Finalize cross-session memory on demand; --finalize-all sweeps every dirty scratch. Use when ending a long session or before switching branches. Do NOT use for routine edits — finalize auto-runs at next SessionStart. Requires claude + git.
Skill Claude CodeCodex
Execute the mapify-cli package release workflow with validation gates and PyPI publication. Use when shipping a new MAP Framework release. Do NOT use for ordinary feature work; use map-efficient.
Skill Claude CodeCodex
Resume an interrupted MAP workflow from .map/ /stepstate.json checkpoint. Use when returning after context exhaustion, /clear, or a session crash mid-workflow. Do NOT use to start new work; use map-plan or map-efficient.
Skill Claude CodeCodex
Evaluate a /map- skill's trigger accuracy and cost. Use when asked to measure skill trigger accuracy, run an eval-set, or check token/duration cost via mapify skill-eval. Do NOT use to plan or implement; use map-plan or map-efficient.
Skill Claude CodeCodex
Opt-in, off-by-default read-only prior-art search against Stack Overflow for Agents (SOFA). Use when you want to search validated prior art on Stack Overflow for Agents for the current task before implementing, and SOFA has been enabled via mapify init --sofa. Degrades to a no-op when unauthenticated. All results…
Skill Claude CodeCodex
Branch-scoped MAP planning in .map/. Use when the user needs a persistent task plan, progress tracking, or resume support across sessions. Keeps focus synced before edits. Do NOT use for tiny one-shot tasks.
Skill Claude CodeCodex
Execute a single subtask from an existing MAP plan via Actor and Monitor. Use when map-plan has decomposed work and you want fine-grained control over one subtask. Do NOT use without an existing plan; run map-plan first.
Skill Claude CodeCodex
TDD MAP workflow: write tests from the spec FIRST, then implement, so tests validate intent not implementation. Use when correctness is critical (auth, payments, data integrity). Do NOT use without a spec; use map-efficient instead.
Skill Claude CodeCodex
Show per-subtask/agent token accounting (input, output, cache read/creation, cost, cache-hit ratio) for the current branch. Supports --dashboard (box-drawing visual), --history (trends), --estimate (cost projection), --json / --csv export, and --finalize (record session snapshot). Use when asked for token usage, run…
Skill Claude CodeCodex
Decision-frontier wayfinding: build and work a durable map of open design decisions BEFORE planning, for large or foggy efforts where /map-plan would force premature decomposition. Use when a task is too big or too vague to decompose — many unknowns, tangled decisions, or "I'm not even sure what to build yet" — and…
Instructions file CodexOpenCode
Instructions for azalio/map-framework, a project described as: 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.
Instructions file
Instructions for azalio/map-framework, covering map framework (mapify-cli) — agent instructions, what this repo is, critical invariant: template single-source render, skill catalog invariant and how to work in this repo.