@claude-flow/cli 3.7.0-alpha.75 → 3.7.0-alpha.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/skills/agentdb-advanced/SKILL.md +550 -0
- package/.claude/skills/agentdb-learning/SKILL.md +545 -0
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +339 -0
- package/.claude/skills/agentdb-optimization/SKILL.md +509 -0
- package/.claude/skills/agentdb-vector-search/SKILL.md +339 -0
- package/.claude/skills/browser/SKILL.md +204 -0
- package/.claude/skills/dual-mode/README.md +71 -0
- package/.claude/skills/dual-mode/dual-collect.md +103 -0
- package/.claude/skills/dual-mode/dual-coordinate.md +85 -0
- package/.claude/skills/dual-mode/dual-spawn.md +81 -0
- package/.claude/skills/flow-nexus-neural/SKILL.md +727 -0
- package/.claude/skills/flow-nexus-platform/SKILL.md +1154 -0
- package/.claude/skills/flow-nexus-swarm/SKILL.md +604 -0
- package/.claude/skills/github-code-review/SKILL.md +1125 -0
- package/.claude/skills/github-multi-repo/SKILL.md +862 -0
- package/.claude/skills/github-project-management/SKILL.md +1262 -0
- package/.claude/skills/github-release-management/SKILL.md +1064 -0
- package/.claude/skills/github-workflow-automation/SKILL.md +1047 -0
- package/.claude/skills/hooks-automation/SKILL.md +1201 -0
- package/.claude/skills/pair-programming/SKILL.md +1202 -0
- package/.claude/skills/reasoningbank-agentdb/SKILL.md +446 -0
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +201 -0
- package/.claude/skills/skill-builder/SKILL.md +910 -0
- package/.claude/skills/sparc-methodology/SKILL.md +1106 -0
- package/.claude/skills/stream-chain/SKILL.md +560 -0
- package/.claude/skills/swarm-advanced/SKILL.md +970 -0
- package/.claude/skills/swarm-orchestration/SKILL.md +179 -0
- package/.claude/skills/v3-cli-modernization/SKILL.md +872 -0
- package/.claude/skills/v3-core-implementation/SKILL.md +797 -0
- package/.claude/skills/v3-ddd-architecture/SKILL.md +442 -0
- package/.claude/skills/v3-integration-deep/SKILL.md +241 -0
- package/.claude/skills/v3-mcp-optimization/SKILL.md +777 -0
- package/.claude/skills/v3-memory-unification/SKILL.md +174 -0
- package/.claude/skills/v3-performance-optimization/SKILL.md +390 -0
- package/.claude/skills/v3-security-overhaul/SKILL.md +82 -0
- package/.claude/skills/v3-swarm-coordination/SKILL.md +340 -0
- package/.claude/skills/verification-quality/SKILL.md +691 -0
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +14 -0
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +41 -0
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/types.d.ts +23 -0
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/init/types.js +18 -5
- package/dist/src/init/types.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/.claude/agents/core/coder.md +0 -453
- package/.claude/agents/core/researcher.md +0 -369
- package/.claude/agents/core/reviewer.md +0 -520
- package/.claude/agents/core/tester.md +0 -512
- package/.claude/agents/goal/goal-planner.md +0 -73
- package/.claude/agents/v3/adr-architect.md +0 -184
- package/.claude/agents/v3/memory-specialist.md +0 -995
- package/.claude/agents/v3/security-auditor.md +0 -771
- package/.claude/agents/v3/sparc-orchestrator.md +0 -182
- package/.claude/commands/flow-nexus/app-store.md +0 -124
- package/.claude/commands/flow-nexus/challenges.md +0 -120
- package/.claude/commands/flow-nexus/login-registration.md +0 -65
- package/.claude/commands/flow-nexus/neural-network.md +0 -134
- package/.claude/commands/flow-nexus/payments.md +0 -116
- package/.claude/commands/flow-nexus/sandbox.md +0 -83
- package/.claude/commands/flow-nexus/swarm.md +0 -87
- package/.claude/commands/flow-nexus/user-tools.md +0 -152
- package/.claude/commands/flow-nexus/workflow.md +0 -115
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: sparc-orchestrator
|
|
3
|
-
type: coordinator
|
|
4
|
-
color: "#FF5722"
|
|
5
|
-
version: "3.0.0"
|
|
6
|
-
description: V3 SPARC methodology orchestrator that coordinates Specification, Pseudocode, Architecture, Refinement, and Completion phases with ReasoningBank learning
|
|
7
|
-
capabilities:
|
|
8
|
-
- sparc_phase_coordination
|
|
9
|
-
- tdd_workflow_management
|
|
10
|
-
- phase_transition_control
|
|
11
|
-
- agent_delegation
|
|
12
|
-
- quality_gate_enforcement
|
|
13
|
-
- reasoningbank_integration
|
|
14
|
-
- pattern_learning
|
|
15
|
-
- methodology_adaptation
|
|
16
|
-
priority: critical
|
|
17
|
-
sparc_phases:
|
|
18
|
-
- specification
|
|
19
|
-
- pseudocode
|
|
20
|
-
- architecture
|
|
21
|
-
- refinement
|
|
22
|
-
- completion
|
|
23
|
-
hooks:
|
|
24
|
-
pre: |
|
|
25
|
-
echo "⚡ SPARC Orchestrator initializing methodology workflow"
|
|
26
|
-
# Store SPARC session start
|
|
27
|
-
SESSION_ID="sparc-$(date +%s)"
|
|
28
|
-
mcp__claude-flow__memory_usage --action="store" --namespace="sparc" --key="session:$SESSION_ID" --value="$(date -Iseconds): SPARC workflow initiated for: $TASK"
|
|
29
|
-
# Search for similar SPARC patterns
|
|
30
|
-
mcp__claude-flow__memory_search --pattern="sparc:success:*" --namespace="patterns" --limit=5
|
|
31
|
-
# Initialize trajectory tracking
|
|
32
|
-
npx claude-flow@v3alpha hooks intelligence trajectory-start --session-id "$SESSION_ID" --agent-type "sparc-orchestrator" --task "$TASK"
|
|
33
|
-
post: |
|
|
34
|
-
echo "✅ SPARC workflow complete"
|
|
35
|
-
# Store completion
|
|
36
|
-
mcp__claude-flow__memory_usage --action="store" --namespace="sparc" --key="complete:$SESSION_ID" --value="$(date -Iseconds): SPARC workflow completed"
|
|
37
|
-
# Train on successful pattern
|
|
38
|
-
npx claude-flow@v3alpha hooks intelligence trajectory-end --session-id "$SESSION_ID" --verdict "success"
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
# V3 SPARC Orchestrator Agent
|
|
42
|
-
|
|
43
|
-
You are the **SPARC Orchestrator**, the master coordinator for the SPARC development methodology. You manage the systematic flow through all five phases, ensuring quality gates are met and learnings are captured.
|
|
44
|
-
|
|
45
|
-
## SPARC Methodology Overview
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
┌─────────────────────────────────────────────────────────────────────┐
|
|
49
|
-
│ SPARC WORKFLOW │
|
|
50
|
-
├─────────────────────────────────────────────────────────────────────┤
|
|
51
|
-
│ │
|
|
52
|
-
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
|
|
53
|
-
│ │ SPECIFICATION│────▶│ PSEUDOCODE │────▶│ ARCHITECTURE │ │
|
|
54
|
-
│ │ │ │ │ │ │ │
|
|
55
|
-
│ │ Requirements │ │ Algorithms │ │ Design │ │
|
|
56
|
-
│ │ Constraints │ │ Logic Flow │ │ Components │ │
|
|
57
|
-
│ │ Edge Cases │ │ Data Types │ │ Interfaces │ │
|
|
58
|
-
│ └──────────────┘ └──────────────┘ └──────┬───────┘ │
|
|
59
|
-
│ │ │
|
|
60
|
-
│ ▼ │
|
|
61
|
-
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
|
|
62
|
-
│ │ COMPLETION │◀────│ REFINEMENT │◀────│ TDD │ │
|
|
63
|
-
│ │ │ │ │ │ │ │
|
|
64
|
-
│ │ Integration │ │ Optimization │ │ Red-Green- │ │
|
|
65
|
-
│ │ Validation │ │ Performance │ │ Refactor │ │
|
|
66
|
-
│ │ Deployment │ │ Security │ │ Tests First │ │
|
|
67
|
-
│ └──────────────┘ └──────────────┘ └──────────────┘ │
|
|
68
|
-
│ │
|
|
69
|
-
│ 🧠 ReasoningBank: Learn from each phase, adapt methodology │
|
|
70
|
-
└─────────────────────────────────────────────────────────────────────┘
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
## Phase Responsibilities
|
|
74
|
-
|
|
75
|
-
### 1. Specification Phase
|
|
76
|
-
- **Agent**: `specification`
|
|
77
|
-
- **Outputs**: Requirements document, constraints, edge cases
|
|
78
|
-
- **Quality Gate**: All requirements testable, no ambiguity
|
|
79
|
-
|
|
80
|
-
### 2. Pseudocode Phase
|
|
81
|
-
- **Agent**: `pseudocode`
|
|
82
|
-
- **Outputs**: Algorithm designs, data structures, logic flow
|
|
83
|
-
- **Quality Gate**: Algorithms complete, complexity analyzed
|
|
84
|
-
|
|
85
|
-
### 3. Architecture Phase
|
|
86
|
-
- **Agent**: `architecture`
|
|
87
|
-
- **Outputs**: System design, component diagrams, interfaces
|
|
88
|
-
- **Quality Gate**: Scalable, secure, maintainable design
|
|
89
|
-
|
|
90
|
-
### 4. Refinement Phase (TDD)
|
|
91
|
-
- **Agent**: `sparc-coder` + `tester`
|
|
92
|
-
- **Outputs**: Production code, comprehensive tests
|
|
93
|
-
- **Quality Gate**: Tests pass, coverage >80%, no critical issues
|
|
94
|
-
|
|
95
|
-
### 5. Completion Phase
|
|
96
|
-
- **Agent**: `reviewer` + `production-validator`
|
|
97
|
-
- **Outputs**: Integrated system, documentation, deployment
|
|
98
|
-
- **Quality Gate**: All acceptance criteria met
|
|
99
|
-
|
|
100
|
-
## Orchestration Commands
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
# Run complete SPARC workflow
|
|
104
|
-
npx claude-flow@v3alpha sparc run full "$TASK"
|
|
105
|
-
|
|
106
|
-
# Run specific phase
|
|
107
|
-
npx claude-flow@v3alpha sparc run specification "$TASK"
|
|
108
|
-
npx claude-flow@v3alpha sparc run pseudocode "$TASK"
|
|
109
|
-
npx claude-flow@v3alpha sparc run architecture "$TASK"
|
|
110
|
-
npx claude-flow@v3alpha sparc run refinement "$TASK"
|
|
111
|
-
npx claude-flow@v3alpha sparc run completion "$TASK"
|
|
112
|
-
|
|
113
|
-
# TDD workflow
|
|
114
|
-
npx claude-flow@v3alpha sparc tdd "$FEATURE"
|
|
115
|
-
|
|
116
|
-
# Check phase status
|
|
117
|
-
npx claude-flow@v3alpha sparc status
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
## Agent Delegation Pattern
|
|
121
|
-
|
|
122
|
-
When orchestrating, spawn phase-specific agents:
|
|
123
|
-
|
|
124
|
-
```javascript
|
|
125
|
-
// Phase 1: Specification
|
|
126
|
-
Task("Specification Agent",
|
|
127
|
-
"Analyze requirements for: $TASK. Document constraints, edge cases, acceptance criteria.",
|
|
128
|
-
"specification")
|
|
129
|
-
|
|
130
|
-
// Phase 2: Pseudocode
|
|
131
|
-
Task("Pseudocode Agent",
|
|
132
|
-
"Design algorithms based on specification. Define data structures and logic flow.",
|
|
133
|
-
"pseudocode")
|
|
134
|
-
|
|
135
|
-
// Phase 3: Architecture
|
|
136
|
-
Task("Architecture Agent",
|
|
137
|
-
"Create system design based on pseudocode. Define components, interfaces, dependencies.",
|
|
138
|
-
"architecture")
|
|
139
|
-
|
|
140
|
-
// Phase 4: Refinement (TDD)
|
|
141
|
-
Task("TDD Coder", "Implement using TDD: Red-Green-Refactor cycle.", "sparc-coder")
|
|
142
|
-
Task("Test Engineer", "Write comprehensive test suite.", "tester")
|
|
143
|
-
|
|
144
|
-
// Phase 5: Completion
|
|
145
|
-
Task("Reviewer", "Review implementation quality and security.", "reviewer")
|
|
146
|
-
Task("Validator", "Validate production readiness.", "production-validator")
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
## Quality Gates
|
|
150
|
-
|
|
151
|
-
| Phase | Gate Criteria | Blocking |
|
|
152
|
-
|-------|---------------|----------|
|
|
153
|
-
| Specification | All requirements testable | Yes |
|
|
154
|
-
| Pseudocode | Algorithms complete, O(n) analyzed | Yes |
|
|
155
|
-
| Architecture | Security review passed | Yes |
|
|
156
|
-
| Refinement | Tests pass, coverage >80% | Yes |
|
|
157
|
-
| Completion | No critical issues | Yes |
|
|
158
|
-
|
|
159
|
-
## ReasoningBank Integration
|
|
160
|
-
|
|
161
|
-
The orchestrator learns from each workflow:
|
|
162
|
-
|
|
163
|
-
1. **Pattern Storage**: Store successful SPARC patterns
|
|
164
|
-
2. **Failure Analysis**: Learn from failed phases
|
|
165
|
-
3. **Methodology Adaptation**: Adjust phase weights based on project type
|
|
166
|
-
4. **Prediction**: Predict likely issues based on similar projects
|
|
167
|
-
|
|
168
|
-
```bash
|
|
169
|
-
# Store successful pattern
|
|
170
|
-
mcp__claude-flow__memory_usage --action="store" --namespace="patterns" \
|
|
171
|
-
--key="sparc:success:$(date +%s)" --value="$WORKFLOW_SUMMARY"
|
|
172
|
-
|
|
173
|
-
# Search for similar patterns
|
|
174
|
-
mcp__claude-flow__memory_search --pattern="sparc:*:$PROJECT_TYPE" --namespace="patterns"
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
## Integration with V3 Features
|
|
178
|
-
|
|
179
|
-
- **HNSW Search**: Find similar SPARC patterns (150x faster)
|
|
180
|
-
- **Flash Attention**: Process large specifications efficiently
|
|
181
|
-
- **EWC++**: Prevent forgetting successful patterns
|
|
182
|
-
- **Claims Auth**: Enforce phase access control
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-app-store
|
|
3
|
-
description: Browse, publish, and deploy applications
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus App Store
|
|
7
|
-
|
|
8
|
-
Browse templates, publish apps, and deploy solutions.
|
|
9
|
-
|
|
10
|
-
## Browse Apps
|
|
11
|
-
```javascript
|
|
12
|
-
// Search apps
|
|
13
|
-
mcp__flow-nexus__app_search({
|
|
14
|
-
search: "authentication",
|
|
15
|
-
category: "backend",
|
|
16
|
-
featured: true,
|
|
17
|
-
limit: 20
|
|
18
|
-
})
|
|
19
|
-
|
|
20
|
-
// Get app details
|
|
21
|
-
mcp__flow-nexus__app_get({ app_id: "app_id" })
|
|
22
|
-
|
|
23
|
-
// List templates
|
|
24
|
-
mcp__flow-nexus__app_store_list_templates({
|
|
25
|
-
category: "web-api",
|
|
26
|
-
tags: ["express", "jwt"],
|
|
27
|
-
limit: 20
|
|
28
|
-
})
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Publish App
|
|
32
|
-
```javascript
|
|
33
|
-
mcp__flow-nexus__app_store_publish_app({
|
|
34
|
-
name: "My Auth Service",
|
|
35
|
-
description: "JWT-based authentication microservice",
|
|
36
|
-
category: "backend",
|
|
37
|
-
version: "1.0.0",
|
|
38
|
-
source_code: sourceCode,
|
|
39
|
-
tags: ["auth", "jwt", "express"],
|
|
40
|
-
metadata: {
|
|
41
|
-
author: "Your Name",
|
|
42
|
-
license: "MIT",
|
|
43
|
-
repository: "github.com/user/repo"
|
|
44
|
-
}
|
|
45
|
-
})
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Deploy Templates
|
|
49
|
-
```javascript
|
|
50
|
-
// Get template details
|
|
51
|
-
mcp__flow-nexus__template_get({
|
|
52
|
-
template_name: "express-api-starter"
|
|
53
|
-
})
|
|
54
|
-
|
|
55
|
-
// Deploy template
|
|
56
|
-
mcp__flow-nexus__template_deploy({
|
|
57
|
-
template_name: "express-api-starter",
|
|
58
|
-
deployment_name: "my-api",
|
|
59
|
-
variables: {
|
|
60
|
-
api_key: "your_key",
|
|
61
|
-
database_url: "postgres://..."
|
|
62
|
-
},
|
|
63
|
-
env_vars: {
|
|
64
|
-
NODE_ENV: "production"
|
|
65
|
-
}
|
|
66
|
-
})
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
## Analytics
|
|
70
|
-
```javascript
|
|
71
|
-
// Get app analytics
|
|
72
|
-
mcp__flow-nexus__app_analytics({
|
|
73
|
-
app_id: "your_app_id",
|
|
74
|
-
timeframe: "30d" // 24h, 7d, 30d, 90d
|
|
75
|
-
})
|
|
76
|
-
|
|
77
|
-
// View installed apps
|
|
78
|
-
mcp__flow-nexus__app_installed({
|
|
79
|
-
user_id: "your_id"
|
|
80
|
-
})
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
## Update App
|
|
84
|
-
```javascript
|
|
85
|
-
mcp__flow-nexus__app_update({
|
|
86
|
-
app_id: "app_id",
|
|
87
|
-
updates: {
|
|
88
|
-
version: "1.1.0",
|
|
89
|
-
description: "Updated description",
|
|
90
|
-
tags: ["new", "tags"]
|
|
91
|
-
}
|
|
92
|
-
})
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
## Market Data
|
|
96
|
-
```javascript
|
|
97
|
-
// Get market statistics
|
|
98
|
-
mcp__flow-nexus__market_data()
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
## Template Categories
|
|
102
|
-
- **web-api**: RESTful APIs and microservices
|
|
103
|
-
- **frontend**: React, Vue, Angular apps
|
|
104
|
-
- **full-stack**: Complete applications
|
|
105
|
-
- **cli-tools**: Command-line utilities
|
|
106
|
-
- **data-processing**: ETL and analytics
|
|
107
|
-
- **ml-models**: Pre-trained models
|
|
108
|
-
- **blockchain**: Web3 applications
|
|
109
|
-
- **mobile**: React Native apps
|
|
110
|
-
|
|
111
|
-
## Publishing Best Practices
|
|
112
|
-
1. Include comprehensive documentation
|
|
113
|
-
2. Add example usage and configuration
|
|
114
|
-
3. Include tests and CI/CD setup
|
|
115
|
-
4. Use semantic versioning
|
|
116
|
-
5. Add clear license information
|
|
117
|
-
6. Include docker/deployment configs
|
|
118
|
-
7. Provide migration guides for updates
|
|
119
|
-
|
|
120
|
-
## Revenue Sharing
|
|
121
|
-
- Earn rUv credits when others use your templates
|
|
122
|
-
- Set pricing (0 for free templates)
|
|
123
|
-
- Track usage and earnings in analytics
|
|
124
|
-
- Withdraw credits or use for Flow Nexus services
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-challenges
|
|
3
|
-
description: Coding challenges, achievements, and leaderboards
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus Challenges
|
|
7
|
-
|
|
8
|
-
Complete coding challenges to earn rUv credits and climb the leaderboard.
|
|
9
|
-
|
|
10
|
-
## List Challenges
|
|
11
|
-
```javascript
|
|
12
|
-
mcp__flow-nexus__challenges_list({
|
|
13
|
-
difficulty: "intermediate", // beginner, advanced, expert
|
|
14
|
-
category: "algorithms",
|
|
15
|
-
status: "active",
|
|
16
|
-
limit: 20
|
|
17
|
-
})
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Get Challenge Details
|
|
21
|
-
```javascript
|
|
22
|
-
mcp__flow-nexus__challenge_get({
|
|
23
|
-
challenge_id: "two-sum-problem"
|
|
24
|
-
})
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Submit Solution
|
|
28
|
-
```javascript
|
|
29
|
-
mcp__flow-nexus__challenge_submit({
|
|
30
|
-
challenge_id: "challenge_id",
|
|
31
|
-
user_id: "your_id",
|
|
32
|
-
solution_code: `
|
|
33
|
-
function solution(nums, target) {
|
|
34
|
-
const map = new Map();
|
|
35
|
-
for (let i = 0; i < nums.length; i++) {
|
|
36
|
-
const complement = target - nums[i];
|
|
37
|
-
if (map.has(complement)) {
|
|
38
|
-
return [map.get(complement), i];
|
|
39
|
-
}
|
|
40
|
-
map.set(nums[i], i);
|
|
41
|
-
}
|
|
42
|
-
return [];
|
|
43
|
-
}
|
|
44
|
-
`,
|
|
45
|
-
language: "javascript",
|
|
46
|
-
execution_time: 45 // milliseconds
|
|
47
|
-
})
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Complete Challenge
|
|
51
|
-
```javascript
|
|
52
|
-
mcp__flow-nexus__app_store_complete_challenge({
|
|
53
|
-
challenge_id: "challenge_id",
|
|
54
|
-
user_id: "your_id",
|
|
55
|
-
submission_data: {
|
|
56
|
-
passed_tests: 10,
|
|
57
|
-
total_tests: 10,
|
|
58
|
-
execution_time: 45
|
|
59
|
-
}
|
|
60
|
-
})
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## Leaderboards
|
|
64
|
-
```javascript
|
|
65
|
-
// Global leaderboard
|
|
66
|
-
mcp__flow-nexus__leaderboard_get({
|
|
67
|
-
type: "global", // weekly, monthly, challenge
|
|
68
|
-
limit: 10
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
// Challenge-specific leaderboard
|
|
72
|
-
mcp__flow-nexus__leaderboard_get({
|
|
73
|
-
type: "challenge",
|
|
74
|
-
challenge_id: "specific_challenge",
|
|
75
|
-
limit: 25
|
|
76
|
-
})
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
## Achievements
|
|
80
|
-
```javascript
|
|
81
|
-
mcp__flow-nexus__achievements_list({
|
|
82
|
-
user_id: "your_id",
|
|
83
|
-
category: "speed_demon" // Categories vary
|
|
84
|
-
})
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
## rUv Credits
|
|
88
|
-
```javascript
|
|
89
|
-
// Check balance
|
|
90
|
-
mcp__flow-nexus__ruv_balance({ user_id: "your_id" })
|
|
91
|
-
|
|
92
|
-
// View history
|
|
93
|
-
mcp__flow-nexus__ruv_history({
|
|
94
|
-
user_id: "your_id",
|
|
95
|
-
limit: 20
|
|
96
|
-
})
|
|
97
|
-
|
|
98
|
-
// Earn credits (automatic on completion)
|
|
99
|
-
mcp__flow-nexus__app_store_earn_ruv({
|
|
100
|
-
user_id: "your_id",
|
|
101
|
-
amount: 100,
|
|
102
|
-
reason: "Completed expert challenge",
|
|
103
|
-
source: "challenge"
|
|
104
|
-
})
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
## Challenge Categories
|
|
108
|
-
- **algorithms**: Classic algorithm problems
|
|
109
|
-
- **data-structures**: DS implementation challenges
|
|
110
|
-
- **system-design**: Architecture challenges
|
|
111
|
-
- **optimization**: Performance challenges
|
|
112
|
-
- **security**: Security-focused problems
|
|
113
|
-
- **ml-basics**: Machine learning fundamentals
|
|
114
|
-
|
|
115
|
-
## Tips
|
|
116
|
-
1. Start with beginner challenges
|
|
117
|
-
2. Review other solutions after completing
|
|
118
|
-
3. Optimize for both correctness and speed
|
|
119
|
-
4. Complete daily challenges for bonus credits
|
|
120
|
-
5. Unlock achievements for extra rewards
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-auth
|
|
3
|
-
description: Flow Nexus authentication and user management
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus Authentication
|
|
7
|
-
|
|
8
|
-
Quick commands for Flow Nexus login and registration.
|
|
9
|
-
|
|
10
|
-
## Register New Account
|
|
11
|
-
```javascript
|
|
12
|
-
mcp__flow-nexus__user_register({
|
|
13
|
-
email: "user@example.com",
|
|
14
|
-
password: "secure_password",
|
|
15
|
-
full_name: "Your Name" // optional
|
|
16
|
-
})
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Login
|
|
20
|
-
```javascript
|
|
21
|
-
mcp__flow-nexus__user_login({
|
|
22
|
-
email: "user@example.com",
|
|
23
|
-
password: "your_password"
|
|
24
|
-
})
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Check Auth Status
|
|
28
|
-
```javascript
|
|
29
|
-
mcp__flow-nexus__auth_status({ detailed: true })
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Logout
|
|
33
|
-
```javascript
|
|
34
|
-
mcp__flow-nexus__user_logout()
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Password Reset
|
|
38
|
-
```javascript
|
|
39
|
-
// Request reset
|
|
40
|
-
mcp__flow-nexus__user_reset_password({ email: "user@example.com" })
|
|
41
|
-
|
|
42
|
-
// Update with token
|
|
43
|
-
mcp__flow-nexus__user_update_password({
|
|
44
|
-
token: "reset_token",
|
|
45
|
-
new_password: "new_secure_password"
|
|
46
|
-
})
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
## Profile Management
|
|
50
|
-
```javascript
|
|
51
|
-
// Get profile
|
|
52
|
-
mcp__flow-nexus__user_profile({ user_id: "your_id" })
|
|
53
|
-
|
|
54
|
-
// Update profile
|
|
55
|
-
mcp__flow-nexus__user_update_profile({
|
|
56
|
-
user_id: "your_id",
|
|
57
|
-
updates: { full_name: "New Name" }
|
|
58
|
-
})
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## Quick Start
|
|
62
|
-
1. Register with your email
|
|
63
|
-
2. Check your email for verification
|
|
64
|
-
3. Login to access all features
|
|
65
|
-
4. Configure auto-refill for uninterrupted service
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: flow-nexus-neural
|
|
3
|
-
description: Train and deploy neural networks in distributed sandboxes
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Flow Nexus Neural Networks
|
|
7
|
-
|
|
8
|
-
Train custom neural networks with distributed computing.
|
|
9
|
-
|
|
10
|
-
## Train Model
|
|
11
|
-
```javascript
|
|
12
|
-
mcp__flow-nexus__neural_train({
|
|
13
|
-
config: {
|
|
14
|
-
architecture: {
|
|
15
|
-
type: "feedforward", // lstm, gan, autoencoder, transformer
|
|
16
|
-
layers: [
|
|
17
|
-
{ type: "dense", units: 128, activation: "relu" },
|
|
18
|
-
{ type: "dropout", rate: 0.2 },
|
|
19
|
-
{ type: "dense", units: 10, activation: "softmax" }
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
training: {
|
|
23
|
-
epochs: 100,
|
|
24
|
-
batch_size: 32,
|
|
25
|
-
learning_rate: 0.001,
|
|
26
|
-
optimizer: "adam"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
tier: "small" // nano, mini, small, medium, large
|
|
30
|
-
})
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Run Inference
|
|
34
|
-
```javascript
|
|
35
|
-
mcp__flow-nexus__neural_predict({
|
|
36
|
-
model_id: "model_id",
|
|
37
|
-
input: [[0.5, 0.3, 0.2], [0.1, 0.8, 0.1]],
|
|
38
|
-
user_id: "your_id"
|
|
39
|
-
})
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Use Templates
|
|
43
|
-
```javascript
|
|
44
|
-
// List templates
|
|
45
|
-
mcp__flow-nexus__neural_list_templates({
|
|
46
|
-
category: "classification", // regression, nlp, vision, anomaly
|
|
47
|
-
tier: "free",
|
|
48
|
-
limit: 20
|
|
49
|
-
})
|
|
50
|
-
|
|
51
|
-
// Deploy template
|
|
52
|
-
mcp__flow-nexus__neural_deploy_template({
|
|
53
|
-
template_id: "sentiment-analysis",
|
|
54
|
-
custom_config: {
|
|
55
|
-
training: { epochs: 50 }
|
|
56
|
-
}
|
|
57
|
-
})
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Distributed Training
|
|
61
|
-
```javascript
|
|
62
|
-
// Initialize cluster
|
|
63
|
-
mcp__flow-nexus__neural_cluster_init({
|
|
64
|
-
name: "training-cluster",
|
|
65
|
-
architecture: "transformer",
|
|
66
|
-
topology: "mesh",
|
|
67
|
-
consensus: "proof-of-learning",
|
|
68
|
-
wasmOptimization: true
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
// Deploy nodes
|
|
72
|
-
mcp__flow-nexus__neural_node_deploy({
|
|
73
|
-
cluster_id: "cluster_id",
|
|
74
|
-
node_type: "worker", // parameter_server, aggregator
|
|
75
|
-
model: "large",
|
|
76
|
-
capabilities: ["training", "inference"]
|
|
77
|
-
})
|
|
78
|
-
|
|
79
|
-
// Start training
|
|
80
|
-
mcp__flow-nexus__neural_train_distributed({
|
|
81
|
-
cluster_id: "cluster_id",
|
|
82
|
-
dataset: "mnist",
|
|
83
|
-
epochs: 100,
|
|
84
|
-
federated: true // Enable federated learning
|
|
85
|
-
})
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
## Model Management
|
|
89
|
-
```javascript
|
|
90
|
-
// List your models
|
|
91
|
-
mcp__flow-nexus__neural_list_models({
|
|
92
|
-
user_id: "your_id",
|
|
93
|
-
include_public: true
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
// Benchmark performance
|
|
97
|
-
mcp__flow-nexus__neural_performance_benchmark({
|
|
98
|
-
model_id: "model_id",
|
|
99
|
-
benchmark_type: "comprehensive"
|
|
100
|
-
})
|
|
101
|
-
|
|
102
|
-
// Publish as template
|
|
103
|
-
mcp__flow-nexus__neural_publish_template({
|
|
104
|
-
model_id: "model_id",
|
|
105
|
-
name: "My Custom Model",
|
|
106
|
-
description: "Highly accurate classifier",
|
|
107
|
-
category: "classification",
|
|
108
|
-
price: 0 // Free template
|
|
109
|
-
})
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
## Common Patterns
|
|
113
|
-
|
|
114
|
-
### Image Classification
|
|
115
|
-
```javascript
|
|
116
|
-
mcp__flow-nexus__neural_train({
|
|
117
|
-
config: {
|
|
118
|
-
architecture: { type: "cnn" },
|
|
119
|
-
training: { epochs: 50, batch_size: 64 }
|
|
120
|
-
},
|
|
121
|
-
tier: "medium"
|
|
122
|
-
})
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
### Time Series Prediction
|
|
126
|
-
```javascript
|
|
127
|
-
mcp__flow-nexus__neural_train({
|
|
128
|
-
config: {
|
|
129
|
-
architecture: { type: "lstm" },
|
|
130
|
-
training: { epochs: 100, learning_rate: 0.01 }
|
|
131
|
-
},
|
|
132
|
-
tier: "small"
|
|
133
|
-
})
|
|
134
|
-
```
|