/list-workflows Command
Version: 1.0.0 Status: Production Category: Workflow Management
System Prompt
⚠️ EXECUTION DIRECTIVE: When the user invokes this command, you MUST:
- IMMEDIATELY execute - no questions, no explanations first
- ALWAYS show full output from script/tool execution
- ALWAYS provide summary after execution completes
DO NOT:
- Say "I don't need to take action" - you ALWAYS execute when invoked
- Ask for confirmation unless
requires_confirmation: truein frontmatter - Skip execution even if it seems redundant - run it anyway
The user invoking the command IS the confirmation.
Purpose
List and browse available workflows in the CODITECT library with filtering and search capabilities.
Usage
# List all workflows (summary)
/list-workflows
# List by category
/list-workflows --category business/sales
# Search by keyword
/list-workflows --search "onboarding"
# Filter by complexity
/list-workflows --complexity simple
# Show detailed information
/list-workflows --category devops --detailed
# Output as JSON
/list-workflows --format json
Options
| Option | Description | Default |
|---|---|---|
--category | Filter by category path | all |
--search | Search in name/description | none |
--complexity | Filter by complexity (simple/moderate/complex) | all |
--tags | Filter by tags (comma-separated) | none |
--detailed | Show full workflow details | false |
--format | Output format (text, json, table) | text |
--limit | Maximum results to show | 20 |
Output
Summary View (Default)
CODITECT Workflow Library
Total: 750 workflows across 14 categories
Categories:
business/sales 50 workflows
community/general 50 workflows
creative/design 50 workflows
creative/general 50 workflows
developer-experience 50 workflows
devops 50 workflows
finance/investment 50 workflows
industry/education 50 workflows
industry/manufacturing 50 workflows
industry/real-estate 50 workflows
operations/process 100 workflows
personal/productivity 50 workflows
professional/hr 50 workflows
research/intelligence 50 workflows
Use --category [name] to list workflows in a category
Use --search [term] to search all workflows
Category Listing
/list-workflows --category business/sales
Category: business/sales (50 workflows)
Name Complexity Duration
────────────────────────────────────────────────────────
lead-qualification-flow moderate 15-30m
opportunity-tracking-pipeline complex 30m+
deal-closing-workflow complex 30m+
sales-forecasting-cycle complex 30m+
territory-management-optimization complex 30m+
win-loss-analysis-workflow moderate 15-30m
sales-proposal-automation moderate 15-30m
pipeline-health-monitoring moderate 15-30m
account-planning-cycle complex 30m+
sales-training-onboarding complex 30m+
... (40 more)
Use --detailed for full workflow information
Search Results
/list-workflows --search "customer"
Search: "customer" (23 matches)
1. customer-onboarding-automation
Category: operations/process
Complexity: moderate
Match: name, description
2. customer-service-ticket
Category: operations/process
Complexity: simple
Match: name
3. customer-discovery-interview-analysis
Category: creative/design
Complexity: complex
Match: name, description
... (20 more matches)
Detailed View
/list-workflows --category devops --detailed --limit 3
Category: devops (50 workflows)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. model-training-pipeline
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Description: Complete supervised learning model training pipeline
Complexity: complex
Duration: 30m+
Trigger: /train-model or manual
Steps (10):
1. Data collection - data-engineering
2. Data validation - qa-specialist
3. Feature engineering - data-engineering
4. Model selection - ai-specialist
5. Training execution - ai-specialist
6. Model evaluation - qa-specialist
7. Hyperparameter tuning - ai-specialist
8. Final validation - qa-specialist
9. Model registration - devops-engineer
10. Deployment preparation - devops-engineer
Agents required: data-engineering, ai-specialist, qa-specialist, devops-engineer
Tags: ml, training, pipeline, ai
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2. dataset-preparation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
...
JSON Output
/list-workflows --category business/sales --format json --limit 2
{
"category": "business/sales",
"total": 50,
"showing": 2,
"workflows": [
{
"name": "lead-qualification-flow",
"description": "Automated lead scoring and qualification...",
"complexity": "moderate",
"duration": "15-30m",
"steps": 10,
"agents": ["orchestrator", "data-engineering", "notification-specialist"],
"tags": ["sales", "leads", "qualification"],
"path": "workflows/business/sales/lead-qualification-flow.workflow.json"
},
{
"name": "opportunity-tracking-pipeline",
"description": "Complete opportunity lifecycle management...",
"complexity": "complex",
"duration": "30m+",
"steps": 10,
"agents": ["orchestrator", "crm-integration", "notification-specialist"],
"tags": ["sales", "opportunity", "pipeline"],
"path": "workflows/business/sales/opportunity-tracking-pipeline.workflow.json"
}
]
}
Filter Examples
By Complexity
# Simple workflows only (quick tasks)
/list-workflows --complexity simple
# Complex workflows (multi-step orchestration)
/list-workflows --complexity complex
By Tags
# Workflows tagged with 'automation'
/list-workflows --tags automation
# Multiple tags (AND)
/list-workflows --tags "automation,integration"
Combined Filters
# Simple sales workflows
/list-workflows --category business/sales --complexity simple
# Search within category
/list-workflows --category devops --search "deploy"
Related Commands
/analyze-workflow- Find workflows matching your intent/execute-workflow- Run a specific workflow/create-workflow- Create new workflow from template
Action Policy
<default_behavior> This command lists and searches without making changes. Provides:
- Workflow categories
- Filtered results
- Detailed information
User decides which workflow to execute. </default_behavior>
Success Output
When list-workflows completes:
✅ COMMAND COMPLETE: /list-workflows
Total: N workflows
Categories: N
Showing: N results
Filter: <applied-filters>
Completion Checklist
Before marking complete:
- Workflows scanned
- Filters applied
- Results formatted
- Output displayed
Failure Indicators
This command has FAILED if:
- ❌ Workflows directory not found
- ❌ No results for valid query
- ❌ Invalid category specified
When NOT to Use
Do NOT use when:
- Need to execute workflow (use /execute-workflow)
- Creating new workflow (use /create-workflow)
- Analyzing intent (use /analyze-workflow)
Anti-Patterns (Avoid)
| Anti-Pattern | Problem | Solution |
|---|---|---|
| No filters | Too many results | Use --category or --search |
| Wrong format | Hard to parse | Use --format json for scripts |
| Skip details | Missing info | Use --detailed for full info |
Principles
This command embodies:
- #6 Clear, Understandable - Clear categorization
- #9 Based on Facts - Accurate workflow metadata
- #3 Complete Execution - Full listing
Full Standard: CODITECT-STANDARD-AUTOMATION.md
Maintainer: CODITECT Core Team