Create a new quest with phased execution plan
Create a new quest ā a high-level goal broken into ordered phases for automated execution.
/quest-create <goal description or context>
The user provides a goal/prompt. The quest-planner agent derives a quest name and phase breakdown.
Check for active quests:
.planning/*/QUEST.md files with Status: active.planning/archive/ is always preservedSpawn quest-planner agent to analyze the goal:
Task tool with subagent_type: quest-planner
The planner returns:
Create quest directory: .planning/YYYY-MM-DD-<quest-name>/
Write quest files:
QUEST.md ā Goal, linked repos, status (active), created datePHASES.md ā Ordered phases, all status pendingSTATE.md ā Current phase, activity logconfig.json ā {"maxRetries": 3, "commitFormat": "conventional"}phases/ ā Empty directory for phase plansAdd .planning/ to .gitignore if not already present
Display quest summary and next steps
# Quest: Quest Name
**Goal:** Goal description here.
**Status:** active
**Repos:**
- /path/to/repo (primary)
**Created:** YYYY-MM-DD
---
## Context
Detailed context from planner analysis.
## Key Dependencies
Phase dependency notes if any.
# Phases
## Phase 1: Name
Goal: What this phase achieves
Status: `pending`
## Phase 2: Name
Goal: What this phase achieves
Status: `pending`
Phase states: pending ā completed (or checkpoint if stuck after maxRetries).
# Quest State
Current Phase: 1
Quest Status: active
## Activity Log
- YYYY-MM-DD: Quest created with N phases
{
"maxRetries": 3,
"commitFormat": "conventional"
}
.planning/
āāā 2026-02-16-cost-tracking/
ā āāā QUEST.md
ā āāā PHASES.md
ā āāā STATE.md
ā āāā config.json
ā āāā phases/
āāā archive/
āāā 2026-02-14-auth-system/
āāā 2026-02-10-loop-hardening/
After creating a quest, use:
/quest-run to run the automated phase loop/quest-status to check progress