claudegoodies
Command

neural-network

From ruvnet

Train and deploy neural networks in distributed sandboxes

Install

/neural-network

Facts

Repository
ruvnet/ruflo
Status
Actively maintained
Last commit

Source preview

The instructions Claude Code reads when this command runs.

# Flow Nexus Neural Networks

Train custom neural networks with distributed computing.

## Train Model
```javascript
mcp__flow-nexus__neural_train({
  config: {
    architecture: {
      type: "feedforward", // lstm, gan, autoencoder, transformer
      layers: [
        { type: "dense", units: 128, activation: "relu" },
        { type: "dropout", rate: 0.2 },
        { type: "dense", units: 10, activation: "softmax" }
      ]
    },
    training: {
      epochs: 100,
      batch_size: 32,
      learning_rate: 0.001,
      optimizer: "adam"
    }
  },
  tier: "small" // nano, mini, small, medium, large
})
```

## Run Inference
```javascript
mcp__flow-nexus__neural_predict({
  model_id: "model_id",
  input: [[0.5, 0.3, 0.2], [0.1, 0.8, 0.1]],
  user_id: "your_id"
})
```

## Use Templates
```javascript
// List templates
mcp__flow-nexus__neural_list_templates({
  category: "classification", // regression, nlp, vision, anomaly
  tier: "free",
  limit: 20
})

// Deploy template
mcp__flow-nexus__neural_deploy_template({
  template_id: "sentiment-analysis",
  custom_config: {
    training: { epochs: 50 }
  }
})
```

## Distributed Training
```javascript
// Initialize cluster
mcp__flow-nexus__neural_cluster_init({
  name: "training-cluster",
  architecture: "transformer",
  topology: "mesh",
  consensus: "proof-of-learning",
  wasmOptimization: true
})

// Deploy nodes
mcp__flow-nexus__
View full source on GitHub →

Other slash commands