← Back to Skills Marketplace
mitsuha-m

Nccl Optimizer

by Rui · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
187
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install nccl-optimizer
Description
Detect the optimal NCCL configuration for distributed GPU training on this machine. Checks GPU topology (NVLink/PCIe), whether RDMA (InfiniBand / RoCE) is av...
Usage Guidance
This skill appears to do what it says: run local GPU/topology/RDMA checks and nccl-tests benchmarks. Before running: ensure you're on Linux with NVIDIA drivers and that you trust the machine (the skill executes shell commands and may run heavy GPU/network benchmarks). If you provide nodes for inter-node benchmarking, the skill expects passwordless SSH and will run mpirun across those hosts — only supply node addresses you control. Building nccl-tests clones from GitHub (expected). Be aware that the tool runs binaries with shell invocation (subprocess with shell=True) and will execute any binaries it finds (e.g., all_reduce_perf), so avoid running untrusted inputs to the skill and review the commands it will run if you have security concerns.
Capability Analysis
Type: OpenClaw Skill Name: nccl-optimizer Version: 1.1.0 The skill is designed for NCCL performance tuning but contains a critical command injection vulnerability. In `__init__.py`, the `_parse_nodes` function extracts hostnames/IPs from user-provided input, which are then concatenated into a command string and executed via `subprocess.check_output(shell=True)` in `_run_internode_allreduce`. While the behavior aligns with the stated purpose of benchmarking distributed GPU clusters, the lack of input sanitization allows an attacker to execute arbitrary shell commands by providing a malicious 'nodes' parameter.
Capability Assessment
Purpose & Capability
Name/description match the actual behavior: the skill inspects GPUs, topology, RDMA, network interfaces, and runs nccl-tests (all_reduce_perf, p2p_bw) and optional MPI benchmarks. It does not request unrelated services or credentials.
Instruction Scope
SKILL.md and the Python code restrict actions to local system probes (/proc, /sys, nvidia-smi, ibv_devinfo, ip/ifconfig) and running nccl-tests/mpirun. It may run inter-node benchmarks when the user supplies nodes, which is documented. There are no instructions to read or exfiltrate arbitrary unrelated files or to contact unknown external endpoints.
Install Mechanism
No install spec; the skill is instruction+script only. It suggests building nccl-tests from the official GitHub repo (expected for this purpose). No downloads from arbitrary/personal servers are specified.
Credentials
The skill requires no environment variables or credentials and only probes local system state. It documents external prerequisites (CUDA/NVIDIA driver, ibverbs-utils, openmpi) appropriate for its function.
Persistence & Privilege
always is false and model invocation is allowed (normal). The skill does not request long-term persistence or modify other skills/system-wide agent configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install nccl-optimizer
  3. After installation, invoke the skill by name or use /nccl-optimizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
Linux compatibility hardening: platform guard, container detection, robust interface scanning, fixed CUDA version parsing, distro-aware MPI install hints
v1.0.0
Initial release: GPU topology detection (NVLink/PCIe), RDMA availability check, intra-node all-reduce benchmark sweep, p2p bandwidth, inter-node MPI benchmark support, and recommended NCCL env-var generation.
Metadata
Slug nccl-optimizer
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Nccl Optimizer?

Detect the optimal NCCL configuration for distributed GPU training on this machine. Checks GPU topology (NVLink/PCIe), whether RDMA (InfiniBand / RoCE) is av... It is an AI Agent Skill for Claude Code / OpenClaw, with 187 downloads so far.

How do I install Nccl Optimizer?

Run "/install nccl-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Nccl Optimizer free?

Yes, Nccl Optimizer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Nccl Optimizer support?

Nccl Optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Nccl Optimizer?

It is built and maintained by Rui (@mitsuha-m); the current version is v1.1.0.

💬 Comments