Plan mode performs read-only analysis and produces implementation plans without changing files.
akmon --plan --task "your task"Large tasks fail when implementation starts before scope is understood. Plan mode separates discovery from execution:
- map relevant files and constraints,
- produce ordered implementation steps,
- define verification per step,
- execute later with lower risk.
- read/list/search tools,
- optional semantic search when enabled,
- no write/edit/patch tool registration.
This is structural read-only behavior, not just "please don't write."
akmon --plan \
--model claude-haiku-4-5-20251001 \
--task "Design migration from sqlite auth sessions to redis-backed sessions with rollback strategy"Then:
ls .akmon/plans
$EDITOR .akmon/plans/<latest>.md
akmon --task "Implement the approved plan in .akmon/plans/<latest>.md step by step"- target files/modules,
- ordered steps,
- risk notes and migration impact,
- verification commands after each step,
- rollback hints.
- run
/plan, - submit task,
- review plan,
- run
/implementwhen approved.
- Mistake: skipping plan review before implementation.
- Mistake: one giant implementation step instead of checkpoints.
- Mistake: missing verification commands in plan.
Plan mode pairs naturally with architect mode and spec workflow.