flow-nexus-challenges
flow-nexus-challenges provides a competitive coding platform where users complete algorithmic and technical challenges across multiple difficulty levels and categories to earn rUv credits and achieve leaderboard rankings. Use this command to browse available challenges, submit solutions with execution metrics, track achievements, view global or challenge-specific leaderboards, and manage earned credits from completed problems.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ruvnet/agentic-flow/HEAD/.claude/commands/flow-nexus/challenges.md -o ~/.claude/commands/flow-nexus-challenges.mdchallenges.md
# Flow Nexus Challenges
Complete coding challenges to earn rUv credits and climb the leaderboard.
## List Challenges
```javascript
mcp__flow-nexus__challenges_list({
difficulty: "intermediate", // beginner, advanced, expert
category: "algorithms",
status: "active",
limit: 20
})
```
## Get Challenge Details
```javascript
mcp__flow-nexus__challenge_get({
challenge_id: "two-sum-problem"
})
```
## Submit Solution
```javascript
mcp__flow-nexus__challenge_submit({
challenge_id: "challenge_id",
user_id: "your_id",
solution_code: `
function solution(nums, target) {
const map = new Map();
for (let i = 0; i < nums.length; i++) {
const complement = target - nums[i];
if (map.has(complement)) {
return [map.get(complement), i];
}
map.set(nums[i], i);
}
return [];
}
`,
language: "javascript",
execution_time: 45 // milliseconds
})
```
## Complete Challenge
```javascript
mcp__flow-nexus__app_store_complete_challenge({
challenge_id: "challenge_id",
user_id: "your_id",
submission_data: {
passed_tests: 10,
total_tests: 10,
execution_time: 45
}
})
```
## Leaderboards
```javascript
// Global leaderboard
mcp__flow-nexus__leaderboard_get({
type: "global", // weekly, monthly, challenge
limit: 10
})
// Challenge-specific leaderboard
mcp__flow-nexus__leaderboard_get({
type: "challenge",
challenge_id: "specific_challenge",
limit: 25
})
```
## Achievements
```javascript
mcp__flow-nexus__achievements_list({
user_id: "your_id",
category: "speed_demon" // Categories vary
})
```
## rUv Credits
```javascript
// Check balance
mcp__flow-nexus__ruv_balance({ user_id: "your_id" })
// View history
mcp__flow-nexus__ruv_history({
user_id: "your_id",
limit: 20
})
// Earn credits (automatic on completion)
mcp__flow-nexus__app_store_earn_ruv({
user_id: "your_id",
amount: 100,
reason: "Completed expert challenge",
source: "challenge"
})
```
## Challenge Categories
- **algorithms**: Classic algorithm problems
- **data-structures**: DS implementation challenges
- **system-design**: Architecture challenges
- **optimization**: Performance challenges
- **security**: Security-focused problems
- **ml-basics**: Machine learning fundamentals
## Tips
1. Start with beginner challenges
2. Review other solutions after completing
3. Optimize for both correctness and speed
4. Complete daily challenges for bonus credits
5. Unlock achievements for extra rewardsUse this agent when you need to create foundational templates, boilerplate code, or starter configurations for new projects, components, or features. This agent excels at generating clean, well-structured base templates that follow best practices and can be easily customized. Examples: <example>Context: User needs to start a new React component and wants a solid foundation. user: 'I need to create a new user profile component' assistant: 'I'll use the base-template-generator agent to create a comprehensive React component template with proper structure, TypeScript definitions, and styling setup.' <commentary>Since the user needs a foundational template for a new component, use the base-template-generator agent to create a well-structured starting point.</commentary></example> <example>Context: User is setting up a new API endpoint and needs a template. user: 'Can you help me set up a new REST API endpoint for user management?' assistant: 'I'll use the base-template-generator agent to create a complete API endpoint template with proper error handling, validation, and documentation structure.' <commentary>The user needs a foundational template for an API endpoint, so use the base-template-generator agent to provide a comprehensive starting point.</commentary></example>
Show Claude-Flow commands and usage
Interact with Claude-Flow memory system
Coordinate multi-agent swarms for complex tasks
Browse, publish, and deploy applications
Flow Nexus authentication and user management
Train and deploy neural networks in distributed sandboxes
Credit management, billing, and payment configuration