← 返回 Skills 市场
mitsuha-m

Nccl Optimizer

作者 Rui · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
187
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nccl-optimizer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nccl-optimizer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug nccl-optimizer
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 187 次。

如何安装 Nccl Optimizer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install nccl-optimizer」即可一键安装,无需额外配置。

Nccl Optimizer 是免费的吗?

是的,Nccl Optimizer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Nccl Optimizer 支持哪些平台?

Nccl Optimizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Nccl Optimizer?

由 Rui(@mitsuha-m)开发并维护,当前版本 v1.1.0。

💬 留言讨论