flow-nexus-payments
The flow-nexus-payments command manages credit accounts within the Flow Nexus platform, enabling users to check balances, purchase credits via secure payment links, configure automatic refills at specified thresholds, and view transaction history. It also provides account upgrade options between Free, Pro, and Enterprise tiers, displays usage statistics tied to various operations like swarm management and neural training, and tracks earning opportunities through challenges and referrals.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ruvnet/agentic-flow/HEAD/.claude/commands/flow-nexus/payments.md -o ~/.claude/commands/flow-nexus-payments.mdpayments.md
# Flow Nexus Payments
Manage credits, configure billing, and track usage.
## Check Balance
```javascript
mcp__flow-nexus__check_balance()
```
## Purchase Credits
```javascript
// Create payment link
mcp__flow-nexus__create_payment_link({
amount: 50 // USD, minimum $10
})
// Returns secure payment URL to complete purchase
```
## Auto-Refill Configuration
```javascript
// Enable auto-refill
mcp__flow-nexus__configure_auto_refill({
enabled: true,
threshold: 100, // Refill when credits drop below 100
amount: 50 // Refill with $50 worth of credits
})
// Disable auto-refill
mcp__flow-nexus__configure_auto_refill({
enabled: false
})
```
## Payment History
```javascript
mcp__flow-nexus__get_payment_history({
limit: 50
})
```
## rUv Credits Management
```javascript
// Check balance
mcp__flow-nexus__ruv_balance({
user_id: "your_id"
})
// Transaction history
mcp__flow-nexus__ruv_history({
user_id: "your_id",
limit: 100
})
```
## Upgrade Tier
```javascript
mcp__flow-nexus__user_upgrade({
user_id: "your_id",
tier: "pro" // pro, enterprise
})
```
## Usage Statistics
```javascript
mcp__flow-nexus__user_stats({
user_id: "your_id"
})
```
## Credit Pricing
- **Swarm Operations**: 1-10 credits/hour
- **Sandbox Execution**: 0.5-5 credits/hour
- **Neural Training**: 5-50 credits/job
- **Workflow Runs**: 0.1-1 credit/execution
- **Storage**: 0.01 credits/GB/day
## Earning Credits
1. **Complete Challenges**: 10-500 credits per challenge
2. **Publish Templates**: Earn when others use
3. **Referrals**: Bonus credits for invites
4. **Daily Login**: Small daily bonus
5. **Achievements**: Unlock milestone rewards
## Tiers
### Free Tier
- 100 free credits monthly
- Basic sandbox access
- Limited swarm agents (3 max)
- Community support
### Pro Tier ($29/month)
- 1000 credits monthly
- Priority sandbox access
- Unlimited agents
- Advanced workflows
- Email support
### Enterprise Tier (Custom)
- Unlimited credits
- Dedicated resources
- Custom models
- SLA guarantee
- Priority support
## Cost Optimization Tips
1. Use smaller sandboxes when possible
2. Optimize neural network training parameters
3. Batch workflow executions
4. Clean up unused resources
5. Monitor usage regularly
6. Use templates to avoid redundant workUse 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
Coding challenges, achievements, and leaderboards
Flow Nexus authentication and user management
Train and deploy neural networks in distributed sandboxes