list-plan
npx machina-cli add skill uukuguy/dev-phase-manager/list-plan --openclawList Plan
Display comprehensive view of current work plan, phase status, and execution progress.
Execution Steps
1. Read Phase Stack
Read phase information from docs/dev/.phase_stack.json:
if [ -f docs/dev/.phase_stack.json ]; then
active_phases=$(jq '.active_phases' docs/dev/.phase_stack.json)
suspended_phases=$(jq '.suspended_phases' docs/dev/.phase_stack.json)
else
echo "⚠️ Phase stack file not found"
echo "May not have executed /start-phase yet"
echo ""
fi
2. Read Checkpoint
Read execution progress from docs/plans/.checkpoint.json:
if [ -f docs/plans/.checkpoint.json ]; then
checkpoint=$(cat docs/plans/.checkpoint.json)
plan_file=$(jq -r '.plan_file' <<< "$checkpoint")
completed_tasks=$(jq -r '.completed_tasks[]' <<< "$checkpoint")
current_task=$(jq -r '.current_task' <<< "$checkpoint")
execution_mode=$(jq -r '.execution_mode' <<< "$checkpoint")
else
echo "⚠️ Checkpoint file not found"
echo "May not have executed /checkpoint-plan yet"
echo ""
fi
2.5 Collect Real-time Status
Gather live state information to complement the static checkpoint:
# A. Recent git activity
git log --oneline -10
# → What was done recently
# B. Current uncommitted changes
git diff --stat
# → What's being worked on right now
# C. Read MEMORY_INDEX.md recent entries
if [ -f docs/dev/MEMORY_INDEX.md ]; then
# Read [Active Work] section, show latest 5 entries
# These provide timestamped progress context
fi
Consistency check: If checkpoint updated_at is significantly older than the latest git commit, display:
⚠️ Checkpoint may be stale
Checkpoint updated: 2026-02-22 15:00
Latest git commit: 2026-02-22 18:30
Consider running /checkpoint-progress to sync
3. Search Memory (Optional Enhancement)
If docs/dev/MEMORY_INDEX.md exists, use it as the primary memory source instead of MCP search:
if [ -f docs/dev/MEMORY_INDEX.md ]; then
# Read [Active Work] and latest completed phase
# This is faster and more reliable than MCP search
else
# Fall back to MCP tools
mcp__plugin_claude-mem_mcp-search__search \
--query "Ouroboros phase" \
--limit 5
mcp__memory__search_nodes \
--query "Ouroboros"
fi
4. Display Comprehensive Information
Integrate all information and display complete project status:
📋 Ouroboros Project Status
🟢 Active Phase:
Phase 5 - MCP Server Implementation
Started: 2026-02-22 15:00
Plan: docs/plans/2026-02-22-mcp-server.md
Progress: 3/10 tasks completed (30%)
Current: Task 4 - Implement tool handlers
Execution mode: subagent-driven-development
⏸️ Suspended Phases:
Phase 4 - Cognitive Layer
Started: 2026-02-22 10:00
Suspended: 2026-02-22 15:00
Reason: Starting urgent Phase 5
Progress: 6/10 tasks completed (60%)
Checkpoint: docs/plans/.checkpoint-phase4.json
🔨 Real-time Status:
Recent commits:
abc1234 feat: implement Task 3 - handlers
def5678 feat: implement Task 2 - interfaces
ghi9012 feat: implement Task 1 - structure
Uncommitted changes:
M src/server.ts
M tests/server.test.ts
📝 Recent Memory (from MEMORY_INDEX.md):
- 18:30 | Phase 4 complete: MCP server 30 tests all pass
- 16:45 | Architecture decision: spawn_blocking wraps Wasm sync
- 14:00 | Started Phase 4
💡 Suggested Actions:
1. Continue Phase 5: Execute Task 4
2. If need to pause: /checkpoint-progress + /clear
3. After completion: /end-phase
4. Resume Phase 4: /start-phase --resume phase4
📂 Key Files:
- Active plan: docs/plans/2026-02-22-mcp-server.md
- Suspended plan: docs/plans/2026-02-21-cognitive-layer.md
- Session guide: docs/dev/NEXT_SESSION_GUIDE.md
- Work log: docs/dev/WORK_LOG.md
- Phase stack: docs/dev/.phase_stack.json
5. Display Detailed Task List (Optional)
If user needs more detailed task information, parse task list from plan file:
if [ -n "$plan_file" ] && [ -f "$plan_file" ]; then
echo ""
echo "📋 Task Details:"
echo ""
# Parse tasks from plan file
# Example: ### Task 1: Setup MCP server structure
grep -E "^### Task [0-9]+:" "$plan_file" | while read -r line; do
task_num=$(echo "$line" | sed 's/### Task \([0-9]\+\):.*/\1/')
task_name=$(echo "$line" | sed 's/### Task [0-9]\+: //')
# Check if completed
if echo "$completed_tasks" | grep -q "Task $task_num"; then
echo " ✅ Task $task_num: $task_name"
elif [ "$current_task" = "Task $task_num" ]; then
echo " 🔄 Task $task_num: $task_name (in progress)"
else
echo " ⬜ Task $task_num: $task_name"
fi
done
fi
Use Cases
Scenario 1: View current status
/list-plan
# → Display active phases, suspended phases, progress, memory
Scenario 2: Decide next action
/list-plan
# → View suggested actions
# → Execute corresponding commands based on suggestions
Scenario 3: Understand status before resuming work
# New session starts
/list-plan
# → Understand last work progress
# → Decide which phase to continue
Smart Features
1. Progress Visualization
Use progress bars or percentages to show completion:
Progress: ████████░░░░░░░░░░ 30% (3/10 tasks)
2. Priority Sorting
Sort suggested actions based on:
- Active phases first
- High-progress suspended phases next
- New phases last
3. Timeline View
Display phase timeline:
Timeline:
2026-02-22 10:00 Phase 4 started
2026-02-22 14:30 Phase 4 suspended (60%)
2026-02-22 15:00 Phase 5 started
2026-02-22 18:00 Phase 5 in progress (30%)
4. Dependency Hints
If there are dependencies between phases, display hints:
⚠️ Dependencies:
Phase 4 needs Phase 5 to complete before continuing
Reason: Phase 4 needs to use MCP server
Integration with Third-party Skills
Does not modify third-party skills, list-plan only handles:
- Display phase status
- Display execution progress
- Display memory summary
- Provide action suggestions
Does not involve superpowers skills.
File Locations
- Phase stack:
docs/dev/.phase_stack.json - Checkpoint:
docs/plans/.checkpoint.json - Plan files:
docs/plans/YYYY-MM-DD-feature.md - Session guide:
docs/dev/NEXT_SESSION_GUIDE.md - Work log:
docs/dev/WORK_LOG.md
Notes
- Fault tolerance: If some files don't exist, still display available information
- Performance: Avoid reading oversized files, use grep/jq for efficient parsing
- Readability: Use clear formatting and icons for quick understanding
- Actionability: Provide specific next-step commands, not vague suggestions
Source
git clone https://github.com/uukuguy/dev-phase-manager/blob/main/skills/list-plan/SKILL.mdView on GitHub Overview
List Plan displays a comprehensive view of the current work plan, phase status, and execution progress. It reads phase data from docs/dev/.phase_stack.json, checkpoint data from docs/plans/.checkpoint.json, and optional live data to present a single status summary. This helps teams track active work, suspended phases, and upcoming tasks.
How This Skill Works
It aggregates static phase and checkpoint data, then supplements it with real-time signals. It collects recent Git activity, uncommitted changes, and, if available, MEMORY_INDEX.md entries, or falls back to MCP search. The resulting view presents Active Phase, Suspended Phases, Real-time Status, and Key Files in a single, structured report.
When to Use It
- When you need a holistic view of the current plan, phase status, and execution progress.
- When starting or resuming phases to confirm progress and plan alignment.
- When you suspect data may be stale and want to validate freshness and consistency.
- When preparing a status update for stakeholders or a standup.
- When diagnosing blockers by comparing static plan data with live commits and changes.
Quick Start
- Step 1: Read Phase Stack from docs/dev/.phase_stack.json
- Step 2: Read Checkpoint from docs/plans/.checkpoint.json
- Step 3: Display the combined status and review any suggested actions
Best Practices
- Always verify docs/dev/.phase_stack.json and docs/plans/.checkpoint.json exist before running.
- Run the consistency check to compare checkpoint timestamps with the latest git commit.
- Prefer MEMORY_INDEX.md as the primary memory source if it exists to speed up status collection.
- Include both Active Phase and Suspended Phases with timestamps and progress if available.
- Document notable changes in Key Files and Recent Memory to aid future audits.
Example Use Cases
- Active Phase 5 status with progress and upcoming Task 4 in the MCP Server Implementation.
- Phase 4 suspended due to urgent Phase 5 kick-off, with a separate checkpoint reference.
- Recent commits and uncommitted changes shown to reveal current work in progress.
- MEMORY_INDEX.md entries used to populate the Active Work section when present.
- Checkpoint stale warning when updated_at is older than the latest git commit, with guidance to sync.