xiaohongshu
xiaohongshu
cloud-neural
Neural network training and deployment in Flow Nexus cloud. Use for distributed ML training, model inference, and neural network lifecycle management.
Full skill instructions
Train, deploy, and manage neural networks at scale using Flow Nexus cloud-powered distributed computing.
// Train a basic neural network
mcp__flow-nexus__neural_train({
config: {
architecture: {
type: "feedforward",
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 }
},
tier: "small"
})
// Run inference
mcp__flow-nexus__neural_predict({
model_id: "trained_model_id",
input: [[0.5, 0.3, 0.2]]
})
flow-nexus configured| Type | Use Case |
|---|---|
| Feedforward | Classification, regression |
| LSTM/RNN | Time series, NLP sequences |
| Transformer | Advanced NLP, multimodal |
| CNN | Computer vision, image processing |
| GAN | Data generation, augmentation |
| Autoencoder | Dimensionality reduction, anomaly detection |
| Tier | Resources | Cost |
|---|---|---|
nano | Minimal, quick tests | Low |
mini | Small models | Low |
small | Standard training | Medium |
medium | Large models | High |
large | Production scale | Highest |
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"
},
divergent: {
enabled: false,
pattern: "lateral", // quantum, chaotic, associative, evolutionary
factor: 0.1
}
},
tier: "small", // nano, mini, small, medium, large
user_id: "user_id"
})
// Initialize distributed cluster
mcp__flow-nexus__neural_cluster_init({
name: "training-cluster",
architecture: "transformer", // transformer, cnn, rnn, gnn, hybrid
topology: "mesh", // mesh, ring, star, hierarchical
consensus: "proof-of-learning",
daaEnabled: true,
wasmOptimization: true
})
// Deploy worker nodes
mcp__flow-nexus__neural_node_deploy({
cluster_id: "cluster_id",
node_type: "worker", // worker, parameter_server, aggregator, validator
model: "base", // base, large, xl, custom
capabilities: ["training", "inference"],
autonomy: 0.8
})
// Connect nodes based on topology
mcp__flow-nexus__neural_cluster_connect({
cluster_id: "cluster_id",
topology: "mesh"
})
// Start distributed training
mcp__flow-nexus__neural_train_distributed({
cluster_id: "cluster_id",
dataset: "dataset_id",
epochs: 10,
batch_size: 32,
learning_rate: 0.001,
optimizer: "adam",
federated: false
})
// Check cluster status
mcp__flow-nexus__neural_cluster_status({ cluster_id: "cluster_id" })
// Terminate when done
mcp__flow-nexus__neural_cluster_terminate({ cluster_id: "cluster_id" })
// Single-node inference
mcp__flow-nexus__neural_predict({
model_id: "model_id",
input: [[0.5, 0.3, 0.2]],
user_id: "user_id"
})
// Distributed inference
mcp__flow-nexus__neural_predict_distributed({
cluster_id: "cluster_id",
input_data: "[0.5, 0.3, 0.2]",
aggregation: "mean" // mean, majority, weighted, ensemble
})
// List templates
mcp__flow-nexus__neural_list_templates({
category: "classification", // timeseries, regression, nlp, vision, anomaly, generative, reinforcement, custom
tier: "free", // free, paid
search: "sentiment",
limit: 20
})
// Deploy template
mcp__flow-nexus__neural_deploy_template({
template_id: "template_id",
custom_config: { epochs: 50 },
user_id: "user_id"
})
// Publish your model as template
mcp__flow-nexus__neural_publish_template({
model_id: "model_id",
name: "Sentiment Analyzer",
description: "LSTM-based sentiment analysis model",
category: "nlp",
price: 0,
user_id: "user_id"
})
// Rate a template
mcp__flow-nexus__neural_rate_template({
template_id: "template_id",
rating: 5,
review: "Excellent model, fast and accurate",
user_id: "user_id"
})
// List user models
mcp__flow-nexus__neural_list_models({
user_id: "user_id",
include_public: false
})
// Check training status
mcp__flow-nexus__neural_training_status({ job_id: "job_id" })
// Create validation workflow
mcp__flow-nexus__neural_validation_workflow({
model_id: "model_id",
validation_type: "comprehensive", // performance, accuracy, robustness, comprehensive
user_id: "user_id"
})
// Run performance benchmarks
mcp__flow-nexus__neural_performance_benchmark({
model_id: "model_id",
benchmark_type: "comprehensive" // inference, throughput, memory, comprehensive
})
// Train a feedforward classifier
const trainingJob = await mcp__flow-nexus__neural_train({
config: {
architecture: {
type: "feedforward",
layers: [
{ type: "dense", units: 256, activation: "relu" },
{ type: "batch_norm" },
{ type: "dropout", rate: 0.3 },
{ type: "dense", units: 128, activation: "relu" },
{ type: "dropout", rate: 0.2 },
{ type: "dense", units: 10, activation: "softmax" }
]
},
training: {
epochs: 100,
batch_size: 64,
learning_rate: 0.001,
optimizer: "adam"
}
},
tier: "small"
});
// Monitor training
const status = await mcp__flow-nexus__neural_training_status({
job_id: trainingJob.job_id
});
console.log(`Epoch: ${status.current_epoch}, Loss: ${status.loss}`);
// Run inference on trained model
const prediction = await mcp__flow-nexus__neural_predict({
model_id: trainingJob.model_id,
input: [[0.1, 0.2, 0.3, 0.4, 0.5]]
});
// Initialize distributed cluster
const cluster = await mcp__flow-nexus__neural_cluster_init({
name: "transformer-cluster",
architecture: "transformer",
topology: "mesh",
consensus: "proof-of-learning",
daaEnabled: true,
wasmOptimization: true
});
// Deploy 4 worker nodes
for (let i = 0; i < 4; i++) {
await mcp__flow-nexus__neural_node_deploy({
cluster_id: cluster.cluster_id,
node_type: "worker",
model: "large",
capabilities: ["training", "inference"]
});
}
// Deploy parameter server
await mcp__flow-nexus__neural_node_deploy({
cluster_id: cluster.cluster_id,
node_type: "parameter_server",
model: "base"
});
// Connect nodes
await mcp__flow-nexus__neural_cluster_connect({
cluster_id: cluster.cluster_id
});
// Start distributed training
await mcp__flow-nexus__neural_train_distributed({
cluster_id: cluster.cluster_id,
dataset: "large_nlp_dataset",
epochs: 50,
batch_size: 128,
learning_rate: 0.0001,
optimizer: "adam"
});
// Monitor and validate
const clusterStatus = await mcp__flow-nexus__neural_cluster_status({
cluster_id: cluster.cluster_id
});
// Cleanup
await mcp__flow-nexus__neural_cluster_terminate({
cluster_id: cluster.cluster_id
});
// Find NLP templates
const templates = await mcp__flow-nexus__neural_list_templates({
category: "nlp",
tier: "free",
search: "sentiment"
});
// Deploy the best-rated template
const deployment = await mcp__flow-nexus__neural_deploy_template({
template_id: templates.templates[0].id,
custom_config: {
epochs: 25,
learning_rate: 0.0005
}
});
// Validate model performance
await mcp__flow-nexus__neural_validation_workflow({
model_id: deployment.model_id,
validation_type: "comprehensive"
});
// Benchmark performance
const benchmark = await mcp__flow-nexus__neural_performance_benchmark({
model_id: deployment.model_id,
benchmark_type: "comprehensive"
});
console.log(`Inference latency: ${benchmark.inference_latency_ms}ms`);
nano or mini tier for testing, scale up for production| Error | Cause | Solution |
|---|---|---|
training_failed | Invalid architecture config | Verify layer compatibility and types |
cluster_init_failed | Invalid topology or architecture | Check supported combinations |
insufficient_credits | Training tier exceeds balance | Reduce tier or add credits |
model_not_found | Invalid model_id | Use neural_list_models to verify |
node_deploy_failed | Cluster capacity reached | Terminate unused nodes |
// Deploy neural agent in swarm
await mcp__flow-nexus__agent_spawn({
type: "analyst",
name: "ML Analyst",
capabilities: ["neural_training", "model_evaluation"]
});
// ML pipeline workflow
await mcp__flow-nexus__workflow_create({
name: "ML Training Pipeline",
steps: [
{ id: "preprocess", action: "data_prep" },
{ id: "train", action: "neural_train", depends: ["preprocess"] },
{ id: "validate", action: "neural_validate", depends: ["train"] },
{ id: "deploy", action: "neural_deploy", depends: ["validate"] }
]
});
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience