/workflow
Event-driven workflow automation with message queues
> /plugin marketplace add ruvnet/rufloHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/workflow
Context preview
What this command does when you run it.
Event-driven workflow automation with message queues
Command definition
workflow.mdname: flow-nexus-workflow
description: Event-driven workflow automation with message queues
Flow Nexus Workflows
Create and manage automated workflows with event-driven processing.
Create Workflow
mcp__flow-nexus__workflow_create({
name: "CI/CD Pipeline",
description: "Automated testing and deployment",
steps: [
{ id: "test", action: "run_tests", agent: "tester" },
{ id: "build", action: "build_app", agent: "builder" },
{ id: "deploy", action: "deploy_prod", agent: "deployer" }
],
triggers: ["push_to_main", "manual_trigger"]
})Execute Workflow
mcp__flow-nexus__workflow_execute({
workflow_id: "workflow_id",
input_data: {
branch: "main",
commit: "abc123"
},
async: true // Execute via message queue
})Monitor Workflows
// Get workflow status
mcp__flow-nexus__workflow_status({
workflow_id: "id",
include_metrics: true
})
// List workflows
mcp__flow-nexus__workflow_list({
status: "running",
limit: 10
})
// Get audit trail
mcp__flow-nexus__workflow_audit_trail({
workflow_id: "id",
limit: 50
})Agent Assignment
mcp__flow-nexus__workflow_agent_assign({
task_id: "task_id",
agent_type: "coder",
use_vector_similarity: true // AI-powered matching
})Queue Management
mcp__flow-nexus__workflow_queue_status({
include_messages: true
})Common Workflow Patterns
CI/CD Pipeline
mcp__flow-nexus__workflow_create({
name: "Deploy Pipeline",
steps: [
{ action: "lint", parallel: true },
{ action: "test", parallel: true },
{ action: "build", depends_on: ["lint", "test"] },
{ action: "deploy", depends_on: ["build"] }
],
triggers: ["github_push"]
})Data Processing
mcp__flow-nexus__workflow_create({
name: "ETL Pipeline",
steps: [
{ action: "extract_data", agent: "data_extractor" },
{ action: "transform_data", agent: "transformer" },
{ action: "load_data", agent: "loader" },
{ action: "validate", agent: "validator" }
],
triggers: ["schedule:0 2 * * *"] // Daily at 2 AM
})Multi-Stage Review
mcp__flow-nexus__workflow_create({
name: "PR Review",
steps: [
{ action: "code_analysis", agent: "analyzer" },
{ action: "security_scan", agent: "security" },
{ action: "performance_test", agent: "perf_tester" },
{ action: "approve_merge", agent: "reviewer" }
],
metadata: { priority: 10 }
})Read more
name: flow-nexus-workflow description: Event-driven workflow automation with message queues
Flow Nexus Workflows
Create and manage automated workflows with event-driven processing.
Create Workflow
mcp__flow-nexus__workflow_create({
name: "CI/CD Pipeline",
description: "Automated testing and deployment",
steps: [
{ id: "test", action: "run_tests", agent: "tester" },
{ id: "build", action: "build_app", agent: "builder" },
{ id: "deploy", action: "deploy_prod", agent: "deployer" }
],
triggers: ["push_to_main", "manual_trigger"]
})Execute Workflow
mcp__flow-nexus__workflow_execute({
workflow_id: "workflow_id",
input_data: {
branch: "main",
commit: "abc123"
},
async: true // Execute via message queue
})Monitor Workflows
// Get workflow status
mcp__flow-nexus__workflow_status({
workflow_id: "id",
include_metrics: true
})
// List workflows
mcp__flow-nexus__workflow_list({
status: "running",
limit: 10
})
// Get audit trail
mcp__flow-nexus__workflow_audit_trail({
workflow_id: "id",
limit: 50
})Agent Assignment
mcp__flow-nexus__workflow_agent_assign({
task_id: "task_id",
agent_type: "coder",
use_vector_similarity: true // AI-powered matching
})Queue Management
mcp__flow-nexus__workflow_queue_status({
include_messages: true
})Common Workflow Patterns
CI/CD Pipeline
mcp__flow-nexus__workflow_create({
name: "Deploy Pipeline",
steps: [
{ action: "lint", parallel: true },
{ action: "test", parallel: true },
{ action: "build", depends_on: ["lint", "test"] },
{ action: "deploy", depends_on: ["build"] }
],
triggers: ["github_push"]
})Data Processing
mcp__flow-nexus__workflow_create({
name: "ETL Pipeline",
steps: [
{ action: "extract_data", agent: "data_extractor" },
{ action: "transform_data", agent: "transformer" },
{ action: "load_data", agent: "loader" },
{ action: "validate", agent: "validator" }
],
triggers: ["schedule:0 2 * * *"] // Daily at 2 AM
})Multi-Stage Review
mcp__flow-nexus__workflow_create({
name: "PR Review",
steps: [
{ action: "code_analysis", agent: "analyzer" },
{ action: "security_scan", agent: "security" },
{ action: "performance_test", agent: "perf_tester" },
{ action: "approve_merge", agent: "reviewer" }
],
metadata: { priority: 10 }
})An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.
Repo: ruvnet/ruflo
Other commands on claude-flow.
- /agent-capabilities
Matrix of agent capabilities and their specializations.
Open command - /agent-coordination
Coordination patterns for multi-agent collaboration.
Open command - /agent-spawning
Guide to spawning agents with Claude Code's Task tool.
Open command - /agent-types
Complete guide to all 54 available agent types in Claude Flow.
Open command - /COMMAND_COMPLIANCE_REPORT
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools (preferred) - `npx claude-flow` commands (as fallback) - No direct implementation calls
Open command - /bottleneck-detect
Analyze performance bottlenecks in swarm operations and suggest optimizations.
Open command

