Commandstask
ody task edit
Edit an existing task plan
Synopsis
ody task edit [--dry-run]Flags
| Flag | Alias | Type | Default | Description |
|---|---|---|---|---|
--dry-run | -d | boolean | false | Print the generated prompt without sending to the agent |
Behavior
- Scans
.ody/tasks/for all.code-task.mdfiles. - Presents an interactive selection prompt listing each task by title and filename.
- Reads the selected task file's full content.
- Builds an edit prompt containing the file path and current content.
- Sends the prompt to the configured backend agent.
- The agent edits the file in place, preserving the YAML frontmatter structure and all required sections.
The agent preserves the status, created, started, and completed frontmatter fields unless you explicitly ask it to change them.
If no task files are found, the command exits with an informational message.
Dry run
Use --dry-run to see the prompt that would be sent to the agent without actually running the edit:
ody task edit --dry-runExample
$ ody task edit
# Select "Add Email Validation (add-email-validation.code-task.md)"
# Agent refines the task plan
# Task plan updatedRelated
ody plan-- Create new task plansody task list-- View pending tasksody run-- Execute pending tasks with the agent loop