ody plan
Create a new planning document
Synopsis
ody plan [planFile] [--dry-run] [--verbose]Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
planFile | string | No | Path to a planning document to generate tasks from |
Flags
| Flag | Alias | Type | Default | Description |
|---|---|---|---|---|
--dry-run | -d | boolean | false | Print the generated prompt without sending to the agent |
--verbose | boolean | false | Stream the agent's output in real time |
Behavior
Interactive mode (default)
Without arguments, ody plan enters an interactive loop:
- Prompts you for a task description.
- Asks if you want to add another plan.
- Repeats until you decline or cancel.
- Sends each description to the configured backend agent, which generates a
.code-task.mdfile in.ody/tasks/.
Each generated file includes YAML frontmatter (status: pending, creation date) and all required sections: Description, Background, Technical Requirements, Dependencies, Implementation Approach, Acceptance Criteria, and Metadata.
Batch mode
When a planFile argument is provided, the agent reads the planning document and decomposes it into multiple discrete task files:
ody plan docs/feature-plan.mdThe agent analyzes the document and creates one .code-task.md file per actionable task, ordering them logically so dependencies come first.
Dry run
Use --dry-run to preview the prompt that would be sent to the agent without actually generating task files:
ody plan --dry-run
ody plan docs/feature-plan.md --dry-runExamples
Create a single task interactively:
$ ody plan
# Enter: "Add email validation to the signup form"
# Decline adding another plan
# Agent generates .ody/tasks/add-email-validation.code-task.mdGenerate multiple tasks from a planning document:
ody plan docs/auth-system-plan.mdPreview the batch prompt without running:
ody plan docs/auth-system-plan.md --dry-runStream agent output while generating:
ody plan --verboseRelated
ody task list-- View pending tasks after generating plansody task edit-- Refine a generated task planody run-- Execute pending tasks with the agent loop