Skip to main content

Plan

crewship plan asks the default agent for a step-by-step plan plus the files it would touch. Review and adjust the answer before starting work with crewship run or crewship ask. The agent stays a normal CHAT agent server-side. Plan mode only prepends an instruction; it does not disable tools or prevent changes. Use a separately enforced permission boundary when tool use must be prohibited. --with-cmd runs the given local command to collect context before the agent starts.

Prompt template

Plan mode injects the following prefix into the prompt:
The terminator PLAN READY is grep-able for shell pipelines that gate on “is the plan finished”.

crewship plan [prompt]

--quiet is forced on by default so the plan body isn’t lost in [agent: …] noise. Pass --quiet=false to re-enable meta output.

Examples

Common errors

  • plan requires a prompt (positional, --prompt, or stdin) — empty input.
  • internal: ask command has no RunE — wiring error, should never appear in shipped builds.

--plan on ask / run

crewship ask --plan and crewship run <slug> --plan flip the same latch (planModeRequested) and prepend the same prefix, so plan-mode is reachable from both directions.

See also