memcode docs
CLI

Plan mode

See the plan before memcode changes anything, and approve it first.

For anything bigger than a quick edit, plan first. memcode researches your repository without touching it, shows you a step-by-step plan, and only makes changes after you approve.

Get a plan without any changes

memcode plan "migrate the config loader to the new schema"

This prints a proposal and changes nothing. Use it to scope a change, share the approach, or sanity-check it before committing time.

Plan, then execute

Inside a session:

/plan migrate the config loader to the new schema

memcode presents the plan and lets you choose:

  • Execute to carry it out.
  • Advisor to get a second opinion from a stronger model first.
  • Cancel to drop it.

Once you approve, memcode follows the plan and verifies its work as it goes.

Hands-off with /yolo

If you would rather not be asked along the way:

/yolo add pagination to the results endpoint

/yolo plans, answers its own open questions, and executes without stopping. It still confirms before truly destructive commands.

On this page