Skip to content
Back to skills

Setup And Cluster

ASecurity

"Guides agents through RLinf installation target selection,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
developmentpythongobashnodedockerdebuggingapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill setup-and-cluster --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup And Cluster?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Setup And Cluster
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-setup-and-cluster/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-setup-and-cluster)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: setup-and-cluster
description: "Guides agents through RLinf installation target selection,
  environment probes, Ray cluster startup, Hydra cluster configuration,
  component placement, heterogeneous node groups, execution modes, and scheduler
  API orientation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# setup-and-cluster

Use this sub-skill when the task is to prepare, inspect, or explain RLinf runtime setup: choosing an install target, verifying that `rlinf`/Ray/Torch/backends import, starting or checking a Ray cluster, reading `cluster:` YAML, planning component placement, reasoning about heterogeneous node groups, or orienting around the scheduler API.

Do **not** use this sub-skill for task-specific training/evaluation commands, metrics/checkpoints/debug sessions, or adding new RLinf models/environments/algorithms. Route those to the sibling sub-skills `embodied-workflows`, `reasoning-agent-workflows`, `operations-evaluation-debugging`, or `extension-development` as appropriate.

## Read these bundled references

- [Installation and cluster readiness](references/installation-and-cluster.md) — install target choices, Docker-vs-UV decisions, safe probes, and single-/multi-node Ray procedures.
- [Configuration and placement](references/configuration-and-placement.md) — Hydra basics, `cluster.num_nodes`, short and node-group placement syntax, execution modes, and heterogeneous hardware planning.
- [Scheduler API mental model](references/scheduler-api.md) — `Cluster`, `Worker`, `WorkerGroup`, placement strategies, channels, and how config becomes Ray actors.
- [Troubleshooting](references/troubleshooting.md) — missing Ray, stale Ray environment variables, network/NIC issues, placement over-allocation, optional accelerator packages, and Python dependency problems.

## Use these bundled scripts

Run scripts from this sub-skill directory or by absolute path; they do not depend on the original RLinf checkout unless you explicitly pass `--repo-root`.

```bash
python scripts/rlinf_env_probe.py --help
python scripts/rlinf_env_probe.py --json
python scripts/render_cluster_plan.py --help
python scripts/render_cluster_plan.py path/to/config.yaml
```

- [`scripts/rlinf_env_probe.py`](scripts/rlinf_env_probe.py) safely probes Python, package imports, Ray command/status, relevant RLinf environment variables, and CUDA/Torch availability.
- [`scripts/render_cluster_plan.py`](scripts/render_cluster_plan.py) parses a YAML config without importing RLinf and summarizes `cluster.num_nodes`, `component_placement`, `node_groups`, `env_configs`, and hardware blocks.

## Operating rules

1. Verify before advising: run the bundled environment probe, `ray status`, or the placement-render script when the user gives an environment/config to inspect.
2. Treat installation as a planning decision unless the user explicitly authorized environment creation. This sub-skill describes install selectors but should not launch dependency installation by default.
3. Set `RLINF_NODE_RANK` before `ray start` on every node. If the value or Python environment changes after Ray starts, stop and restart Ray on that node.
4. Keep `cluster.num_nodes` equal to the real joined node count and use zero-based node ranks.
5. For heterogeneous clusters, prefer explicit `node_groups` and `component_placement` node-group form; reserve short form for homogeneous accelerator layouts.
6. Never call `ray.init()` before RLinf's `Cluster` in driver code; RLinf owns the Ray namespace and manager actors.

Files in this skill

  • SKILL.md3.5 KB
  • references/configuration-and-placement.md6.6 KB
  • references/installation-and-cluster.md8.8 KB
  • references/scheduler-api.md6.4 KB
  • references/troubleshooting.md6.7 KB
  • scripts/render_cluster_plan.py7.7 KB
  • scripts/rlinf_env_probe.py9.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.