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/src/cli/simple-commands/init/templates/claude-md.js

rUvb1e177dde3ad
diff --git a/src/cli/simple-commands/init/templates/claude-md.js b/src/cli/simple-commands/init/templates/claude-md.js
index 71072ae9a7..032622e904 100644
--- a/src/cli/simple-commands/init/templates/claude-md.js
+++ b/src/cli/simple-commands/init/templates/claude-md.js
@@ -978,3 +978,123 @@ NEVER proactively create documentation files (*.md) or README files. Only create
Never save working files, text/mds and tests to the root folder.
`;
}
+
+export function createFlowNexusClaudeMd() {
+ return `# Claude Code Configuration - Flow Nexus Integration
+
+## 🌐 Flow Nexus Cloud Platform
+
+Flow Nexus extends Claude Flow with cloud-powered features for AI development and deployment.
+
+### Quick Start
+1. **Register**: Use \\`mcp__flow-nexus__user_register\\` with email/password
+2. **Login**: Use \\`mcp__flow-nexus__user_login\\` to access features
+3. **Check Balance**: Use \\`mcp__flow-nexus__check_balance\\` for credits
+
+### πŸš€ Key Capabilities
+
+**πŸ€– AI Swarms**
+- Deploy multi-agent swarms in cloud sandboxes
+- Pre-built templates for common architectures
+- Auto-scaling and load balancing
+
+**πŸ“¦ E2B Sandboxes**
+- \\`mcp__flow-nexus__sandbox_create\\` - Isolated execution environments
+- Support for Node.js, Python, React, Next.js
+- Real-time code execution with environment variables
+
+**⚑ Workflows**
+- \\`mcp__flow-nexus__workflow_create\\` - Event-driven automation
+- Parallel task processing with message queues
+- Reusable workflow templates
+
+**🎯 Challenges & Learning**
+- \\`mcp__flow-nexus__challenges_list\\` - Coding challenges
+- Earn rUv credits by completing tasks
+- Global leaderboard and achievements
+
+**🧠 Neural Networks**
+- \\`mcp__flow-nexus__neural_train\\` - Train custom models
+- Distributed training across sandboxes
+- Pre-built templates for ML tasks
+
+**πŸ’° Credits & Billing**
+- Pay-as-you-go with rUv credits
+- Auto-refill configuration available
+- Free tier for getting started
+
+### πŸ€– Flow Nexus Agents
+
+Specialized agents for Flow Nexus operations available in \\`.claude/agents/flow-nexus/\\`:
+
+- **flow-nexus-auth**: Authentication and user management
+- **flow-nexus-sandbox**: E2B sandbox deployment and management
+- **flow-nexus-swarm**: AI swarm orchestration and scaling
+- **flow-nexus-workflow**: Event-driven workflow automation
+- **flow-nexus-neural**: Neural network training and deployment
+- **flow-nexus-challenges**: Coding challenges and gamification
+- **flow-nexus-app-store**: Application marketplace management
+- **flow-nexus-payments**: Credit management and billing
+- **flow-nexus-user-tools**: User management and system utilities
+
+### πŸ“ Flow Nexus Commands
+
+Detailed Flow Nexus command documentation available in \\`.claude/commands/flow-nexus/\\`:
+
+- \\`login-registration.md\\` - Authentication workflows
+- \\`sandbox.md\\` - E2B sandbox management
+- \\`swarm.md\\` - AI swarm deployment
+- \\`workflow.md\\` - Automation workflows
+- \\`neural-network.md\\` - ML model training
+- \\`challenges.md\\` - Coding challenges
+- \\`app-store.md\\` - App marketplace
+- \\`payments.md\\` - Credit and billing
+- \\`user-tools.md\\` - User utilities
+
+### πŸ’‘ Example: Deploy a Swarm
+\\`\\`\\`javascript
+// 1. Login to Flow Nexus
+mcp__flow-nexus__user_login({
+ email: "[email protected]",
+ password: "password"
+})
+
+// 2. Initialize swarm
+mcp__flow-nexus__swarm_init({
+ topology: "mesh",
+ maxAgents: 5
+})
+
+// 3. Create sandbox
+mcp__flow-nexus__sandbox_create({
+ template: "node",
+ name: "api-dev"
+})
+
+// 4. Orchestrate task
+mcp__flow-nexus__task_orchestrate({
+ task: "Build REST API with authentication",
+ strategy: "parallel"
+})
+\\`\\`\\`
+
+### πŸ”— Integration with Claude Code
+
+Flow Nexus seamlessly integrates with Claude Code through MCP (Model Context Protocol):
+
+1. **Add MCP Server**: \\`claude mcp add flow-nexus npx flow-nexus@latest mcp start\\`
+2. **Use in Claude Code**: Access all Flow Nexus tools through MCP interface
+3. **Agent Coordination**: Use Flow Nexus agents for specialized cloud operations
+4. **Command Reference**: Use slash commands for quick Flow Nexus operations
+
+### πŸ“š Learn More
+
+- Documentation: https://github.com/ruvnet/claude-flow#flow-nexus
+- MCP Integration: Use \\`mcp__flow-nexus__*\\` tools in Claude Code
+- Agent Usage: Type \\`/\\` in Claude Code to see Flow Nexus commands
+- Community: Join discussions and share templates
+
+---
+
+**Ready to build with Flow Nexus? Start with authentication and explore the cloud-powered AI development platform!**
+`;
diff --git a/test-final/.claude/checkpoints/1757191920.json b/test-final/.claude/checkpoints/1757191920.json
new file mode 100644
index 0000000000..601274936f
--- /dev/null
+++ b/test-final/.claude/checkpoints/1757191920.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250906-205159", "file": "/workspaces/claude-code-flow/src/cli/commands/index.ts", "timestamp": "2025-09-06T20:52:00Z", "type": "pre-edit", "original_branch": "alpha101"}
diff --git a/test-final/.claude/checkpoints/1757191921.json b/test-final/.claude/checkpoints/1757191921.json
new file mode 100644
index 0000000000..0d7cc3a150
--- /dev/null
+++ b/test-final/.claude/checkpoints/1757191921.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250906-205201", "file": "/workspaces/claude-code-flow/src/cli/commands/index.ts", "timestamp": "2025-09-06T20:52:01Z", "type": "post-edit", "branch": "alpha101", "diff_summary": " .claude-flow/metrics/system-metrics.json | 1056 ++++++++++++++++-------- claude-flow-wiki | 0 src/cli/commands/index.ts | 26 +- test-final/.claude/checkpoints/1757191900.json | 1 + test-final/.claude/checkpoints/1757191902.json | 1 + 5 files changed, 747 insertions(+), 337 deletions(-) "}