Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/commands/flow-nexus/workflow.md

rUvb109ff5bcad2
diff --git a/.claude/checkpoints/1757191007.json b/.claude/checkpoints/1757191007.json
new file mode 100644
index 0000000000..3ab8a5dd16
--- /dev/null
+++ b/.claude/checkpoints/1757191007.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250906-203647", "file": "/workspaces/claude-code-flow/.claude/commands/flow-nexus/swarm.md", "timestamp": "2025-09-06T20:36:47Z", "type": "pre-edit", "original_branch": "alpha101"}
diff --git a/.claude/checkpoints/1757191009.json b/.claude/checkpoints/1757191009.json
new file mode 100644
index 0000000000..1dbc2dec51
--- /dev/null
+++ b/.claude/checkpoints/1757191009.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250906-203649", "file": "/workspaces/claude-code-flow/.claude/commands/flow-nexus/swarm.md", "timestamp": "2025-09-06T20:36:49Z", "type": "post-edit", "branch": "alpha101", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 590 +++++++++++-------------------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1757191001.json | 1 + .claude/checkpoints/1757191004.json | 1 + .claude/commands/flow-nexus/swarm.md | 87 +++++ claude-flow-wiki | 0 7 files changed, 292 insertions(+), 395 deletions(-) "}
diff --git a/.claude/commands/flow-nexus/workflow.md b/.claude/commands/flow-nexus/workflow.md
new file mode 100644
index 0000000000..d9869ad46a
--- /dev/null
+++ b/.claude/commands/flow-nexus/workflow.md
@@ -0,0 +1,115 @@
+---
+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
+```javascript
+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
+```javascript
+mcp__flow-nexus__workflow_execute({
+ workflow_id: "workflow_id",
+ input_data: {
+ branch: "main",
+ commit: "abc123"
+ },
+ async: true // Execute via message queue
+})
+```
+
+## Monitor Workflows
+```javascript
+// 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
+```javascript
+mcp__flow-nexus__workflow_agent_assign({
+ task_id: "task_id",
+ agent_type: "coder",
+ use_vector_similarity: true // AI-powered matching
+})
+```
+
+## Queue Management
+```javascript
+mcp__flow-nexus__workflow_queue_status({
+ include_messages: true
+})
+```
+
+## Common Workflow Patterns
+
+### CI/CD Pipeline
+```javascript
+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
+```javascript
+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
+```javascript
+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 }
+})
+```
\ No newline at end of file