when-using-flow-nexus-platform-use-flow-nexus-platform
Comprehensive Flow Nexus platform management covering authentication, sandboxes, storage, databases, app deployment, payments, and monitoring. This SOP provides end-to-end platform operations.
What this skill does
# Flow Nexus Platform Management SOP
```yaml
metadata:
skill_name: when-using-flow-nexus-platform-use-flow-nexus-platform
version: 1.0.0
category: platform-integration
difficulty: intermediate
estimated_duration: 30-60 minutes
trigger_patterns:
- "flow nexus platform"
- "manage flow nexus"
- "flow nexus authentication"
- "deploy to flow nexus"
- "flow nexus sandboxes"
dependencies:
- flow-nexus MCP server
- Valid email for registration
- Claude Flow hooks
agents:
- cicd-engineer (infrastructure orchestrator)
- backend-dev (service integrator)
- system-architect (platform designer)
success_criteria:
- Authentication successful
- Services configured and running
- Application deployed
- Monitoring active
- Payment system operational
```
## Overview
Comprehensive Flow Nexus platform management covering authentication, sandboxes, storage, databases, app deployment, payments, and monitoring. This SOP provides end-to-end platform operations.
## Prerequisites
**Required:**
- Flow Nexus MCP server installed
- Valid email address
- Internet connectivity
**Optional:**
- E2B API key for enhanced features
- Anthropic API key for Claude Code sandboxes
- Payment method for credits
**Verification:**
```bash
# Check Flow Nexus MCP availability
claude mcp list | grep flow-nexus
# Test connection
npx flow-nexus@latest --version
```
## Agent Responsibilities
### cicd-engineer (Infrastructure Orchestrator)
**Role:** Manage infrastructure, sandboxes, deployments, and CI/CD pipelines
**Expertise:**
- Cloud infrastructure management
- Container orchestration
- Deployment automation
- Resource optimization
**Output:** Infrastructure configuration, deployment pipelines, monitoring setup
### backend-dev (Service Integrator)
**Role:** Integrate platform services, APIs, and business logic
**Expertise:**
- API integration
- Service architecture
- Database design
- Authentication flows
**Output:** Service integration code, API endpoints, database schemas
### system-architect (Platform Designer)
**Role:** Design platform architecture, scalability patterns, and system integration
**Expertise:**
- System architecture
- Scalability patterns
- Performance optimization
- Security design
**Output:** Architecture diagrams, technical specifications, integration patterns
## Phase 1: Authentication Setup
**Objective:** Register user, authenticate, verify access to platform services
**Evidence-Based Validation:**
- User registered successfully
- Authentication token obtained
- Session active and verified
- User profile accessible
**cicd-engineer Actions:**
```bash
# Pre-task coordination
npx claude-flow@alpha hooks pre-task --description "Setup Flow Nexus authentication"
# Restore session
npx claude-flow@alpha hooks session-restore --session-id "flow-nexus-setup-$(date +%s)"
# Check current authentication status
mcp__flow-nexus__auth_status { "detailed": true }
# If not authenticated, register new user
mcp__flow-nexus__user_register {
"email": "[email protected]",
"password": "SecurePassword123!",
"username": "platform_user",
"full_name": "Platform User"
}
# Login to create session
mcp__flow-nexus__user_login {
"email": "[email protected]",
"password": "SecurePassword123!"
}
# Store user ID in memory
USER_ID="[returned_user_id]"
npx claude-flow@alpha memory store --key "flow-nexus/user-id" --value "$USER_ID"
# Get user profile
mcp__flow-nexus__user_profile { "user_id": "$USER_ID" }
# Store profile in memory
npx claude-flow@alpha memory store \
--key "flow-nexus/user-profile" \
--value "{\"user_id\": \"$USER_ID\", \"tier\": \"free\", \"timestamp\": \"$(date -Iseconds)\"}"
```
**backend-dev Actions:**
```bash
# Create platform configuration
mkdir -p platform/{config,services,scripts,docs}
cat > platform/config/flow-nexus.json << 'EOF'
{
"platform": "flow-nexus",
"version": "1.0.0",
"authentication": {
"type": "email_password",
"session_timeout": 3600
},
"services": {
"sandboxes": { "enabled": true, "max_concurrent": 5 },
"storage": { "enabled": true, "max_size_mb": 1000 },
"databases": { "enabled": true, "max_connections": 10 },
"workflows": { "enabled": true, "max_agents": 8 }
},
"limits": {
"requests_per_minute": 60,
"storage_mb": 1000,
"compute_hours": 10
}
}
EOF
# Post-edit hook
npx claude-flow@alpha hooks post-edit --file "platform/config/flow-nexus.json" --memory-key "flow-nexus/config"
```
**system-architect Actions:**
```bash
# Document authentication flow
cat > platform/docs/AUTHENTICATION.md << 'EOF'
# Flow Nexus Authentication
## Overview
Flow Nexus uses email/password authentication with JWT tokens for session management.
## Authentication Flow
1. **Registration**: Create new user account
- Email validation required
- Password complexity enforced
- Username unique constraint
2. **Login**: Obtain authentication token
- Returns JWT token
- Token expires after 1 hour
- Refresh token available
3. **Session Management**: Maintain active session
- Auto-refresh before expiry
- Logout clears session
- Multi-device support
## Security Best Practices
- Use strong passwords (min 12 characters)
- Enable 2FA when available
- Rotate tokens regularly
- Never commit credentials to git
## API Examples
### Register
```bash
mcp__flow-nexus__user_register {
"email": "[email protected]",
"password": "secure_password"
}
```
### Login
```bash
mcp__flow-nexus__user_login {
"email": "[email protected]",
"password": "secure_password"
}
```
### Logout
```bash
mcp__flow-nexus__user_logout
```
EOF
# Post-edit hook
npx claude-flow@alpha hooks post-edit --file "platform/docs/AUTHENTICATION.md" --memory-key "flow-nexus/auth-docs"
```
**Success Criteria:**
- [ ] User registered successfully
- [ ] Authentication token obtained
- [ ] Configuration created
- [ ] Documentation generated
**Memory Persistence:**
```bash
npx claude-flow@alpha memory store \
--key "flow-nexus/phase1-complete" \
--value "{\"status\": \"complete\", \"user_id\": \"$USER_ID\", \"authenticated\": true, \"timestamp\": \"$(date -Iseconds)\"}"
```
## Phase 2: Configure Services
**Objective:** Setup sandboxes, storage, databases, and other platform services
**Evidence-Based Validation:**
- Sandboxes created and running
- Storage buckets configured
- Database connections established
- Real-time subscriptions active
**cicd-engineer Actions:**
```bash
# Retrieve user ID
USER_ID=$(npx claude-flow@alpha memory retrieve --key "flow-nexus/user-id" | jq -r '.value')
# Create sandbox for development
mcp__flow-nexus__sandbox_create {
"template": "node",
"name": "dev-sandbox",
"timeout": 3600,
"env_vars": {
"NODE_ENV": "development",
"LOG_LEVEL": "debug"
},
"install_packages": ["express", "axios", "dotenv"]
}
# Store sandbox ID
SANDBOX_ID="[returned_sandbox_id]"
npx claude-flow@alpha memory store --key "flow-nexus/sandbox-id" --value "$SANDBOX_ID"
# Configure sandbox with additional settings
mcp__flow-nexus__sandbox_configure {
"sandbox_id": "$SANDBOX_ID",
"env_vars": {
"API_URL": "https://api.flow-nexus.ruv.io",
"MAX_RETRIES": "3"
},
"install_packages": ["typescript", "jest"]
}
# Create storage bucket
mcp__flow-nexus__storage_upload {
"bucket": "platform-assets",
"path": ".gitkeep",
"content": ""
}
# Setup real-time subscriptions
mcp__flow-nexus__realtime_subscribe {
"table": "workflows",
"event": "*"
}
# Store subscription ID
SUBSCRIPTION_ID="[returned_subscription_id]"
npx claude-flow@alpha memory store --key "flow-nexus/subscription-id" --value "$SUBSCRIPTION_ID"
# Notify completion
npx claude-flow@alpha hooks notify --message "Services configured: sandbox, storage, real-time subscriptions"
```
**backend-dev Actions:**
```bash
# Create service initialization script
cat > platform/scripts/init-services.js << 'EOF'
const { exec } = require('child_process');
const util Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.