nemo-helix: Command for Claude Code

.claude/commands/docs-test.md

docs-test is a command for Claude Code from NVIDIA-NeMo/nemo-helix. It costs 0 tokens per session (316 once invoked), scanned A, original, Apache-2.0.

A script for executing documentation notebooks marked with `@nemo-nb: process`. Notebooks are documents that mix explanatory text with runnable code, and the script can run their Python or shell cells.

In plain words
What is it for?
It is for testing processed documentation notebooks from a file or directory, using Python cells, shell cells, or both.
Why use it?
It checks that executable examples in the documentation still run instead of leaving broken instructions for readers. It also loads repository environment settings and allows a custom service URL.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is NVIDIA-NeMo/nemo-helix's own configuration. It tells Claude Code how to work on nemo-helix itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nemo-helix configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python docs/fern/scripts/run_notebooks.py <input_path>.

Reuse

Borrowing it

Nothing to install: this file belongs to NVIDIA-NeMo/nemo-helix. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/NVIDIA-NeMo/nemo-helix/main/.claude/commands/docs-test.md
Clone the repo
git clone --depth 1 https://github.com/NVIDIA-NeMo/nemo-helix

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docs-test

README.md
[![agentmods](https://agentmods.dev/badge/commands/nvidia-nemo/nemo-helix/docs-test/github.svg)](https://agentmods.dev/commands/nvidia-nemo/nemo-helix/docs-test)
Your own site
<a href="https://agentmods.dev/commands/nvidia-nemo/nemo-helix/docs-test"><img src="https://agentmods.dev/badge/commands/nvidia-nemo/nemo-helix/docs-test/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docs-test

Your own site · 80×15
<a href="https://agentmods.dev/commands/nvidia-nemo/nemo-helix/docs-test"><img src="https://agentmods.dev/badge/commands/nvidia-nemo/nemo-helix/docs-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 316 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00316
Opus 5.5 $0.00000 $0.00126
Sonnet 5.5 $0.00000 $0.00063
Haiku 4.5 $0.00000 $0.00032

Measured today against content hash 48526c23c275, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docs-test scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/docs-test.md · 47 lines

What it actually says

Testing Documentation Notebooks

You can test documentation from the repository root using docs/fern/scripts/run_notebooks.py, which executes notebooks marked with @nemo-nb: process.

Basic Usage

The script takes a file path or directory path:

uv run python docs/fern/scripts/run_notebooks.py <input_path>

Environment Variables The script automatically loads environment variables from a .env file in the repository root (if present). Example .env file:

NHX_BASE_URL=http://localhost:8080
NVIDIA_API_KEY=nvapi-your-key-here
HF_TOKEN=hf_your-token-here
NGC_API_KEY=your-ngc-key-here

You can also override environment variables inline:

NHX_BASE_URL=http://custom-url:8080 uv run python docs/fern/scripts/run_notebooks.py docs/run-inference/

Language filters

# Run only Python cells (default)
uv run python docs/fern/scripts/run_notebooks.py docs/run-inference/ --language python

# Run only shell cells
uv run python docs/fern/scripts/run_notebooks.py docs/run-inference/ --language shell

Markers

Only notebooks with the @nemo-nb: process marker will be executed.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 47 lines · 0 tokens per session scan A 48526c23c275

Subscribe to this mod's changes

docs-test is a command published in the GitHub repository NVIDIA-NeMo/nemo-helix (160 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 316 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.

Related

docs-test compared with commands from other repositories

docs-test next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-testNVIDIA-NeMo/nemo-helixCommand160todayApache-2.0A0Claude Code
AGENTSpromptfoo/promptfooCommand28ktodayMITA0Claude Code
labelkubestellar/kubestellar-mcpCommand2todayApache-2.0A0Claude Code
deletekubestellar/kubestellar-mcpCommand2todayApache-2.0A0Claude Code
helm-uninstallkubestellar/kubestellar-mcpCommand2todayApache-2.0A0Claude Code
TEMPLATEkubestellar/kubestellar-mcpCommand2todayApache-2.0A0Claude Code
deploykubestellar/kubestellar-mcpCommand2todayApache-2.0A0Claude Code