Display current workflow state across discovery.db and beads. Shows active briefs, open epics, blocked tasks, recent activity, and suggests next actions. Use when resuming work or checking project status.
Provide a comprehensive view of the current state of all workflow activities, combining data from both discovery.db (pre-approval pipeline) and .beads/ (post-approval execution). This skill helps users understand where they left off and what to do next.
Determine the location of discovery.db to support both new .parade/ structure and legacy project root:
# Path detection for .parade/ structure
if [ -f ".parade/discovery.db" ]; then
DISCOVERY_DB=".parade/discovery.db"
else
DISCOVERY_DB="./discovery.db"
fi
All subsequent database operations in this skill use $DISCOVERY_DB instead of hardcoded discovery.db.
Check for briefs in the pre-approval workflow:
sqlite3 -json "$DISCOVERY_DB" "
SELECT
id,
title,
status,
priority,
datetime(updated_at, 'localtime') as updated_at,
datetime(created_at, 'localtime') as created_at
FROM briefs
WHERE status IN ('draft', 'in_discovery', 'spec_ready')
ORDER BY
CASE priority
WHEN 1 THEN 1
WHEN 2 THEN 2
WHEN 3 THEN 3
WHEN 4 THEN 4
END,
updated_at DESC;
"
Get all open and in-progress epics with task counts:
bd list --status open --json
bd list --status in_progress --json
For each epic, get child task breakdown:
# Count tasks by status for each epic
bd list --json | jq '[.[] | select(.parent_id == "<epic-id>") | group_by(.status) | {status: .[0].status, count: length}]'
Find all tasks that are blocked:
bd list --status blocked --json
Show what's available to work on right now:
bd ready --json
Get the last 10 workflow events:
sqlite3 -json "$DISCOVERY_DB" "
SELECT
brief_id,
event_type,
details,
datetime(created_at, 'localtime') as created_at
FROM workflow_events
ORDER BY created_at DESC
LIMIT 10;
"
Present information in a structured format:
## Workflow Status
### Discovery Pipeline
- [brief-id]: Title (status: draft) - Priority: High - Last updated: 2 hours ago
- [brief-id]: Title (status: in_discovery) - Priority: Medium - Last updated: 1 day ago
- [brief-id]: Title (status: spec_ready) - Priority: High - Created: 3 days ago
### Active Epics
- [epic-id]: Epic Title (status: in_progress)
- Tasks: 3 open, 2 in_progress, 1 completed, 0 blocked
- [epic-id]: Another Epic (status: open)
- Tasks: 5 open, 0 in_progress, 0 completed, 0 blocked
### Blocked Tasks
- [task-id]: Task Title - Epic: [epic-id]
- Reason: Dependency on [other-task-id]
- Blocked since: 2 hours ago
### Ready to Work
- [task-id]: Task Title (epic: [epic-id])
- [task-id]: Another Task (epic: [epic-id])
### Recent Activity (Last 10 Events)
- 2 hours ago: spec_approved for brief-id
- 1 day ago: discovery_completed for brief-id
- 2 days ago: created for brief-id
Based on the current state, provide actionable recommendations:
Suggested Actions:
- Run /start-discovery <brief-id> to begin discovery for "<title>"
Suggested Actions:
- Run /approve-spec <brief-id> to export "<title>" to beads
Suggested Actions:
- Run /run-tasks to begin execution on <N> ready tasks
Suggested Actions:
- Review blocked tasks: bd show <task-id>
- Resolve dependencies or blockers manually
Suggested Actions:
- Run /create-brief to start a new feature
- Review completed work: bd list --status closed --json
SELECT
id,
title,
status,
priority,
problem_statement,
datetime(updated_at, 'localtime') as updated_at,
datetime(created_at, 'localtime') as created_at
FROM briefs
WHERE status IN ('draft', 'in_discovery', 'spec_ready')
ORDER BY priority, updated_at DESC;
SELECT
brief_id,
event_type,
details,
datetime(created_at, 'localtime') as created_at
FROM workflow_events
ORDER BY created_at DESC
LIMIT 10;
SELECT
status,
COUNT(*) as count,
GROUP_CONCAT(id, ', ') as brief_ids
FROM briefs
WHERE status != 'archived'
GROUP BY status;
bd list --json | jq '[.[] | select(.issue_type == "epic")]'
# For a specific epic ID
EPIC_ID="<epic-id>"
bd list --json | jq --arg epic "$EPIC_ID" '
[.[] | select(.parent_id == $epic)] |
group_by(.status) |
map({status: .[0].status, count: length})
'
bd list --status blocked --json | jq '.[] | {
id: .id,
title: .title,
parent_id: .parent_id,
updated_at: .updated_at
}'
bd ready --json
draft: Initial brief createdin_discovery: Discovery process runningspec_ready: Specification complete, ready for approvalopen: Task/epic created but not startedin_progress: Actively being worked onblocked: Cannot proceed due to dependency or issuecompleted: Finished successfullyShow relative time when recent (< 24h), otherwise show absolute:
## Workflow Status (as of Jan 2, 2026 2:30 PM)
### Discovery Pipeline (2 active)
- [athlete-experience-tracking]: Athlete Experience Level Tracking
Status: spec_ready | Priority: High (2) | Updated: 3 hours ago
- [data-export-feature]: Export Training Data
Status: in_discovery | Priority: Medium (3) | Updated: 1 day ago
### Active Epics (1)
- [customTaskTracker-xbi]: Workflow Orchestration System
Status: in_progress | Tasks: 8 open, 2 in_progress, 3 completed, 1 blocked
### Blocked Tasks (1)
- [customTaskTracker-xbi.9]: Implement sub-agent spawning
Epic: Workflow Orchestration System
Blocked since: 2 hours ago
Run: bd show customTaskTracker-xbi.9 for details
### Ready to Work (3 tasks)
- [customTaskTracker-xbi.12]: Create /workflow-status skill
- [customTaskTracker-xbi.13]: Add status update commands
- [customTaskTracker-xbi.14]: Create verification tests
### Recent Activity
- 2 hours ago: spec_approved for athlete-experience-tracking
- 4 hours ago: sme_review_completed for athlete-experience-tracking
- 1 day ago: discovery_started for data-export-feature
- 2 days ago: created for data-export-feature
- 3 days ago: task_completed for customTaskTracker-xbi.8
### Suggested Next Actions
1. Run /run-tasks to work on 3 ready tasks
2. Run /approve-spec athlete-experience-tracking to export to beads
3. Review blocked task: bd show customTaskTracker-xbi.9
Warning: discovery.db not found at .parade/ or project root.
No discovery pipeline data available.
Run /create-brief to start a new feature.
Warning: Beads not initialized (.beads/ directory missing).
No task execution data available.
Tasks will appear here after running /approve-spec.
## Workflow Status
No active briefs, epics, or tasks found.
Suggested Actions:
- Run /create-brief to start a new feature
- Check archived work: sqlite3 "$DISCOVERY_DB" "SELECT * FROM briefs WHERE status = 'archived';"
bd show <id> to drill into specific tasks