Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add NVIDIA-NeMo/nemo-helix --skill nemo-guardrailsgit clone --depth 1 https://github.com/NVIDIA-NeMo/nemo-helixWrote 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.
[](https://agentmods.dev/skills/nvidia-nemo/nemo-helix/nemo-guardrails)<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/nemo-guardrails"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/nemo-guardrails/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.
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/nemo-guardrails"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/nemo-guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.04830 |
| Opus 5.5 | $0.00042 | $0.01932 |
| Sonnet 5.5 | $0.00021 | $0.00966 |
| Haiku 4.5 | $0.00011 | $0.00483 |
Grade A, and why
nemo-guardrails 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 422 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NeMo Guardrails CLI Reference
nemo guardrail (config CRUD + the /checks endpoint) and nemo inference virtual-models
with a nemo-guardrails MiddlewareCall both back the same guardrail_config
entity. The nemo guardrail chat completions create and nemo guardrail completions create commands are deprecated; do not use them.
Environment
- CLI paths:
/app/.venv/bin/nemoand/app/.venv/bin/nhx(same binary, two names) - API server:
http://localhost:8080(default, no auth needed for local services) - Default workspace:
default - Workspace override:
--workspace <name>flag, orNHX_WORKSPACEenv var - Entity ID:
<workspace>/<model-entity-name>, e.g.default/meta-llama-3-70b-instruct. For backend models behind a provider, use the auto-discovered ID fromserved_models[].model_entity_id(seeinferenceskill). - Canned refusal: when a rail blocks, the response content is exactly
"I'm sorry, I can't respond to that."
Prerequisites
- For
nemo guardrail checkalone: just a config and model entities reachable through IGW (so the main LLM and any task LLMs can resolve). - For chat-time guardrailing on a VirtualModel: a real backend model entity
the VirtualModel can proxy to. Use
nemo-secretsandinferenceskills to register a secret + provider; theinferenceskill is the end-to-end reference for the provider/served-models/auto-discovery flow.
CLI gotchas
- Use
nemo inference virtual-models(with hyphen), notnemo inference virtualmodels. - Names are positional for
nemo guardrail configs create <name>andnemo inference virtual-models create <name>. - No
nemo inference chat completions createcommand exists. Usenemo inference gateway model post v1/chat/completions <vm-name>(matches theinferenceskill). --data(configs) and--body/--models/--*-middleware(VirtualModels) take JSON strings. Watch shell quoting for embedded backticks/quotes — prefer--input-filefor large payloads.config_typeis always"guardrail_config"in aMiddlewareCallfornemo-guardrails.- Each middleware list dispatches its own hook independently. If you want
input rails AND output rails, the call must appear in both
--request-middlewareAND--response-middleware. SeeFailure cases. - The
guardrailsfield on a chat-completions request body is options-only on the IGW path (e.g.options.log,return_choice). It does not set the rails config — that comes from the VirtualModel'sMiddlewareCall. This is the key behavior difference from the deprecatednemo guardrail chat completions create --guardrails '{"config_id":...}'.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday First seen · 422 lines · 105 tokens per session scan A 1f247910c8e6
nemo-guardrails is a skill published in the GitHub repository NVIDIA-NeMo/nemo-helix (160 stars, last pushed today), licensed Apache-2.0. It adds 105 tokens to every session and 4,830 once invoked, about $0.0004 per session on Opus 5.5. 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.
nemo-guardrails compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nemo-guardrailsNVIDIA-NeMo/nemo-helix | Skill | 160 | today | Apache-2.0 | A | 105 | Claude Code |
| trulens-blocking-guardrailstruera/trulens | Skill | 3.7k | yesterday | MIT | A | 19 | Claude Code, Codex |
| promptfoo-redteam-setuppromptfoo/promptfoo | Skill | 28k | today | MIT | A | 65 | Claude Code, Codex |
| promptfoo-provider-setuppromptfoo/promptfoo | Skill | 28k | today | MIT | A | 66 | Claude Code, Codex |
| discount-reviewpromptfoo/promptfoo | Skill | 28k | today | MIT | A | 18 | Claude Code, Codex |
| code-reviewpromptfoo/promptfoo | Skill | 28k | today | MIT | A | 11 | Claude Code |
| trulens-evaluation-setuptruera/trulens | Skill | 3.7k | yesterday | MIT | A | 17 | Claude Code, Codex |