Skip to content

openspec list

Displays a table of active changes with task progress, or specifications with requirement counts.

Terminal window
openspec list [options]
OptionDescription
--specsList specifications instead of changes
--changesList changes (default)
--jsonMachine-readable output
Terminal window
$ openspec list
┌─────────────────────┬──────────────┐
Change Progress
├─────────────────────┼──────────────┤
add-user-auth 3/5 tasks
update-api-schema Complete
fix-validation 0/3 tasks
└─────────────────────┴──────────────┘
Terminal window
$ openspec list --specs
┌─────────────────────┬──────────────────┐
Spec Requirements
├─────────────────────┼──────────────────┤
cli-init 12 requirements
cli-list 6 requirements
user-auth 8 requirements
└─────────────────────┴──────────────────┘
Terminal window
$ openspec list --json
{
"changes": [
{
"name": "add-user-auth",
"tasksCompleted": 3,
"tasksTotal": 5
}
]
}
Terminal window
openspec list
Terminal window
openspec list --specs
Terminal window
openspec list --json | jq '.changes[] | select(.tasksCompleted == .tasksTotal)'
  • Scans openspec/changes/ for change directories
  • Excludes archive/ subdirectory
  • Parses tasks.md for completion status
  • Sorts alphabetically by name
Terminal window
$ openspec list
No active changes found.
$ openspec list --specs
No specs found.
CodeMeaning
0Success
1No OpenSpec directory found