Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

nccl-docs

БесплатноБез исполняемых скриптовНе проверен

Use for version-matched NCCL documentation and examples about APIs, configuration, diagnostics, optimization, and authoritative citations.

NVIDIAот NVIDIA★ 4 269 звёзд на GitHub

Об этом скилле

NCCL Documentation

Purpose

Answer NCCL usage questions from documentation that matches the active NCCL version. Keep version discovery, evidence lookup, and output links distinct so that a link to an older published guide is never mistaken for exact-version evidence.

Requirements

No API key is required. Establish the target from an NCCL checkout, an explicit version, or a supported Linux runtime library. Remote documentation requires network access and a web-fetch tool; building local HTML additionally requires explicit consent for dependency installation and repository code execution.

Inputs

Required

  • The NCCL documentation question, topic, or API symbol from the user's latest request.

Optional

  • An explicit target NCCL version named by the user; it overrides ambient checkout or runtime versions.
  • An NCCL checkout discovered from the current working directory or one of its parents by locating makefiles/version.mk.
  • An absolute NCCL shared-library path supplied by the user, either up front or when Linux runtime discovery cannot identify one unambiguously.
  • A user request to build local HTML documentation; dependency installation and repository code execution still require separate explicit consent.

Instructions

Use two phases:

  1. DEPLOY once per context: establish NCCL_VERSION, NCCL_VERSION_RELEASE, NCCL_DOC_SOURCE, NCCL_DOC_ROOT, NCCL_DOC_FORMAT, NCCL_DOC_LINK_VERSION, and NCCL_DOC_LINK_ROOT.
  2. USE repeatedly: reuse those values while the repository, selected library, and requested NCCL version remain unchanged.

Do not repeat DEPLOY during follow-up questions in the same context. A question that only asks which repository example covers a topic needs no DEPLOY: answer it from references/examples.md.

1. Determine the version and source

Facts the user states about their environment, such as the platform or the absence of a checkout, override host probes; do not probe what the user has already stated.

  1. Check $PWD and its parents for makefiles/version.mk; do not search unrelated checkouts. If found, set NCCL_REPO_ROOT to the directory containing makefiles/ and read NCCL_MAJOR, NCCL_MINOR, NCCL_PATCH, and NCCL_SUFFIX.
  2. If the user explicitly names a target version, it overrides the ambient checkout. Set NCCL_VERSION and NCCL_VERSION_RELEASE from that input. Use NCCL_DOC_SOURCE=local only when the checkout release matches; otherwise set NCCL_DOC_SOURCE=remote.
  3. Without an explicit target, use the checkout version when available:
    • NCCL_VERSION_RELEASE=MAJOR.MINOR.PATCH
    • NCCL_VERSION=${NCCL_VERSION_RELEASE}${NCCL_SUFFIX}
    • NCCL_DOC_SOURCE=local
  4. If neither input nor a checkout establishes the version, read references/runtime_detection.md and follow it, including when the user supplied an absolute NCCL library path. On unsupported platforms or failed detection, make the request that reference specifies.

Never present an inferred version as detected. Do not make version-specific claims until NCCL_VERSION is established.

2. Select the evidence corpus

Local checkout fast path

Skip this section unless NCCL_DOC_SOURCE=local.

Set NCCL_RST_ROOT=${NCCL_REPO_ROOT}/docs/userguide/source and verify it contains .rst files.

If ${NCCL_REPO_ROOT}/build/doc/html/index.html exists:

  1. Read the generated release from build/doc/html/llms.txt (> NCCL MAJOR.MINOR.PATCH documentation), or from the HTML title when llms.txt is absent.
  2. If it equals NCCL_VERSION_RELEASE, run:
    • find "${NCCL_RST_ROOT}" -newer "${NCCL_REPO_ROOT}/build/doc/html/index.html" -print -quit
    • git -C "${NCCL_REPO_ROOT}" status --porcelain -- docs/userguide/source, when Git is available
  3. If find prints nothing and Git reports no changes, set NCCL_DOC_ROOT=${NCCL_REPO_ROOT}/build/doc/html and continue to format selection. This is the normal fast path.
  4. Otherwise, or if the release differs, use current RST: NCCL_DOC_ROOT=${NCCL_RST_ROOT} and NCCL_DOC_FORMAT=rst.

If no usable generated docs exist, use RST directly; do not interrupt the user to offer a build. Build only when the user requests it; in that case, read and follow references/docs_build.md.

If local RST is absent or unusable, set NCCL_DOC_SOURCE=remote.

Published archive and output links

GREP references/doc_archive.md for the exact NCCL_VERSION_RELEASE, ignoring suffixes. Read the full file only when no matching row is found and the newest listed release is needed:

  • On an exact match, set NCCL_DOC_LINK_VERSION=NCCL_VERSION_RELEASE and use its listed root as NCCL_DOC_LINK_ROOT.
  • Without a match, use the newest listed release for NCCL_DOC_LINK_VERSION and NCCL_DOC_LINK_ROOT. This is an output-link fallback only, not evidenc
Полный SKILL.md на GitHub

Установить nccl-docs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

BENCHMARK.mdevals/evals.jsonreferences/doc_archive.mdreferences/docs_build.mdreferences/examples.mdreferences/runtime_detection.mdskill-card.mdskill.oms.sig

FAQ

Что делает скилл nccl-docs?

Use for version-matched NCCL documentation and examples about APIs, configuration, diagnostics, optimization, and authoritative citations.

Как установить скилл nccl-docs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nccl-docs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nccl-docs с