m4an5you6/aspera-agent/cluster-control
Claude Code and agent skill by m4an5you6/aspera-agent
- community
Checking that the SKILL.md file is still in the repository.
Operate the temporary master training control plane.
Install
npx vskill@latest install m4an5you6/aspera-agent/cluster-controlSKILL.md
The same SKILL.md was published earlier as m4an5you6/aspera-agent/cluster-control.
Cluster Control Skill
GPUCLOUD can coordinate multi-node distributed training through a temporary master control plane. The master assigns ranks and launches torchrun on each worker; NCCL/Gloo carries the data plane. Workers may be heterogeneous — each node maps logical project, dataset, and conda env keys to local paths.
When to Use
- Submit or monitor multi-node
torchrun/ DeepSpeed jobs across workers with
different code paths, data mounts, or conda environments.
- Inspect node health, stale workers, or structured training logs after failures.
- Validate a job spec programmatically before launching expensive GPU time.
Prerequisites
- Enable the plugin:
plugins.enabled: [cluster]inconfig.yaml. - Set
cluster.enabled: trueand configurecluster.master_url,cluster.node_id. - Set
GPUCLOUD_CLUSTER_SECRETin~/.gpucloud/.env(shared bearer token). - Optional Postgres:
cluster.database_url(otherwise in-memory for dev/tests). - Install deps:
pip install 'gpucloud-agent[cluster]'for Postgres support. - Configure per-node paths and conda envs (see below).
- Start master:
gpucloud cluster serveon the designated host. - Start workers:
gpucloud cluster workeron each GPU node.
Heterogeneous Worker Setup
Each worker declares logical keys → local paths in config.yaml. The master schedules by capability; each worker resolves paths before launch.
Workers heartbeat these capabilities to the master. Jobs reference logical names instead of hardcoded absolute paths shared across nodes.
How to Run
| Task | Command / Tool | |
|---|---|---|
| Cluster snapshot | cluster_status | |
| Validate spec | cluster_validate_config with spec object | |
| Submit training | cluster_submit_job with spec (see below) | |
| Job progress | cluster_job_status with job_id | |
| Logs / errors | cluster_logs with job_id and/or node_id | |
| Cancel job | cluster_stop_job | |
| Quarantine node | cluster_node_action action=quarantine |
Logical job spec (heterogeneous)
Each worker resolves locally:
working_dir→{code_roots[project]}/{release}DATA_DIRenv →{data_roots[dataset]}OUTPUT_DIRenv →{checkpoint_roots[project]}/{output_run_id}TMPDIR/SCRATCH_DIR→ best{scratch_roots[*]}with enough free space- Python →
{conda.envs[env_name]}
Legacy absolute working_dir still works when logical fields are omitted.
Use framework: placeholder for dry-run rank planning without launching real training.
Quick Reference
Event routing modes: record (DB only), queue (next turn message), guide (steer into running agent), interrupt (stop current turn), execute_direct (deterministic action, no LLM).
Procedure
- Call
cluster_status— confirm enoughreadynodes and none instale_nodes. - Ensure each worker has code, data, conda env, and scratch configured locally.
- Call
cluster_validate_configwith the intended training spec. - Fix any validation errors before submit (script, nnodes, env keys).
- Call
cluster_submit_job; record returnedjob_idand per-node assignments. - Poll
cluster_job_statusuntil state issucceeded,failed, orstopped. - On failure, call
cluster_logsfor process tail summaries and error rows. - If a node misbehaves,
cluster_node_actionwithquarantine, thenrestore.
Pitfalls
role: autodoes not elect a leader — configure one explicit master host.- Master filters nodes by heartbeat capabilities; register workers before submit.
- Launch commands are built on each worker — do not assume shared absolute paths.
- Workers reject assignments when paths, conda env, or scratch space are missing.
- Idempotent submits require a stable
idempotency_keyin the job spec. - Full stdout/stderr live on disk under
cluster.data_dir/logs/; Postgres stores tails only.
Verification
cluster_statusshows all nodesready, none instale_nodes.cluster_job_statusreports assignments inrunningthen terminal state.cluster_logsreturns matchingprocess_runswith exit codes for each node.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingoptional-skills/devops/cluster-control/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/m4an5you6/aspera-agent/cluster-control)