AGENT SKILL

cluster-ops

Operate Ray clusters, jobs, dashboard access, runtime environments, state APIs, logs, and observability workflows safely from the Ray CLI.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
cluster-ops
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Operate Ray clusters, jobs, dashboard access, runtime environments, state APIs, logs, and observability workflows safely from the Ray CLI.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

Ray Cluster Operations

Use this sub-skill when the task is about administering or inspecting Ray clusters and submitted Ray applications: ray start, ray stop, ray status, ray job submit, ray job logs, ray job status, RAY_API_SERVER_ADDRESS, dashboard forwarding, runtime environments, ray list/get/summary/logs, cluster YAML, VM/KubeRay connection concepts, or OOM debugging.

Route First

  • For Ray Core application code, task/actor APIs, ray.init(), object refs, scheduling options, or placement groups in Python, route to ../core-runtime/SKILL.md.
  • For Ray Serve deploy/run/status/config details, Serve application YAML, HTTP ingress, or ray serve, route to ../serve-deployments/SKILL.md.
  • For Ray Data, Train, Tune, or RLlib workload internals, route to the matching sibling sub-skill after using this sub-skill only for cluster/job visibility.
  • For cloud account, Kubernetes credential, network policy, or VM provisioning, keep guidance high-level and ask the user for their platform-specific constraints before issuing mutating commands.

Operating Rules

  1. Prefer read-only inspection first: ray --help, ray status --help, ray job --help, ray list --help, ray summary --help, and this sub-skill's scripts/ray_cli_doctor.py.
  2. Distinguish local bootstrap addresses from dashboard HTTP addresses. Jobs and State API commands usually need the dashboard/API server address such as http://127.0.0.1:8265; Ray Core drivers may use a Ray bootstrap address or Ray Client URI.
  3. Treat ray start, ray stop, ray up, ray down, ray exec, ray submit, ray attach, ray dashboard, and ray symmetric-run as mutating or long-running unless the user explicitly authorizes them.
  4. Use ray summary before broad ray list calls on busy clusters; state snapshots can be stale, partial, or truncated.
  5. For jobs, capture the submission ID, dashboard address, runtime environment, working directory, and exact entrypoint before debugging status or logs.

References

  • references/cli-reference.md maps the Ray CLI, read-only versus mutating commands, state/log patterns, and dashboard/status workflows.
  • references/job-and-runtime-env.md covers Jobs CLI/API use, RAY_API_SERVER_ADDRESS, --working-dir, runtime environment packaging, and remote/KubeRay dashboard access concepts.
  • references/troubleshooting.md covers connection failures, missing extras, dashboard/state API issues, runtime-env upload/import failures, OOM/system exits, and unsafe command handling.
  • scripts/ray_cli_doctor.py checks local Ray CLI availability and selected command help without starting, stopping, or connecting to a cluster.

Quick Triage

python scripts/ray_cli_doctor.py
python scripts/ray_cli_doctor.py --command job
python scripts/ray_cli_doctor.py --command list

If a user asks you to run a mutating cluster command, first restate what it changes, confirm the target address or cluster config, and prefer a dry-run/help command when available.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351