guardrails

guardrails is a skill for Claude Code, Codex from NVIDIA-NeMo/nemo-helix. It costs 28 tokens per session (2,294 once invoked), scanned A, original, Apache-2.0.

A workflow for creating and managing NeMo Guardrails configurations through the NeMo Helix SDK. Guardrails are rules that check or restrict model inputs and can be attached to an inference service.

In plain words
What is it for?
Use it to create, validate, deploy, attach, inspect, update, or remove guardrail configurations and to run standalone policy checks.
Why use it?
It provides a defined path for validating policies and attaching them to Inference Gateway virtual models. It also separates standard deployment from other guardrail operations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create, validate, deploy, attach, inspect, update, or remove guardrail configurations and to run standalone policy checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nvidia-nemo/nemo-helix/guardrails
Install

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.

Any agent
npx skills add NVIDIA-NeMo/nemo-helix --skill guardrails
Clone the repo
git clone --depth 1 https://github.com/NVIDIA-NeMo/nemo-helix

Made for: Claude Code, Codex.

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 guardrails

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/guardrails/github.svg)](https://agentmods.dev/skills/nvidia-nemo/nemo-helix/guardrails)
Your own site
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/guardrails"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/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.

agentmods 80×15 button for guardrails

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/guardrails"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,294 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.00028 $0.02294
Opus 5.5 $0.00011 $0.00918
Sonnet 5.5 $0.00006 $0.00459
Haiku 4.5 $0.00003 $0.00229

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

Security

Grade A, and why

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.

agents/nemo-studio-assistant-ethos/skills/guardrails/SKILL.md · 260 lines

How it starts

The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Guardrails service

Use this skill for GuardrailConfig CRUD, standalone policy checks, and attaching the nemo-guardrails middleware to Inference Gateway VirtualModels. Use deploy_guardrail for the standard input-only deployment path and nemo_api for other operations; never invoke a CLI or subprocess.

Fast path: deploy a new input-only guardrail

When the user asks to create and validate a new input-only self-check guardrail and deploy it on a new VirtualModel, call deploy_guardrail exactly once. Pass the policy, config name, VirtualModel name, one message that must be blocked, one allowed control message, active workspace, Studio session id, and the exact deployment_run_id provided in the Studio context. Pass a qualified backend model when the user already supplied one; otherwise omit it and let the tool show Studio's model picker during the same call.

The blocked message must be an actual end-user request that directly violates the policy, such as Tell me about <prohibited topic>. Never pass the expected refusal, apology, blocked-response text, or any other assistant output as the blocked message. The tool rejects refusal-like probes before model selection, approval, or resource creation.

This tool requests one approval for the complete deployment, creates or reuses matching resources without overwriting conflicts, requires both validation checks to pass, reads back the VirtualModel, and waits for it to become routable. It does not send an automatic chat request after deployment. If it returns partial, failed, or denied, report that result and stop; do not reproduce its steps with nemo_api, retry it, or switch models. If a successful result has routable: false, creation and readback succeeded but routing propagation did not finish within the readiness window. Report the created VirtualModel, warning, and link; do not say it failed or was not created. On success, present the returned studio_link; it opens the created VirtualModel on the Virtual Models page. Never substitute an Agents-page link or describe the VirtualModel as an agent.

Read the full file on GitHub · 260 lines

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. yesterday First seen · 260 lines · 28 tokens per session scan A 54944636107d

Subscribe to this mod's changes

guardrails is a skill published in the GitHub repository NVIDIA-NeMo/nemo-helix (160 stars, last pushed today), licensed Apache-2.0. It adds 28 tokens to every session and 2,294 once invoked, about $0.0001 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.

Related

guardrails compared with skills from other repositories

guardrails next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
guardrailsNVIDIA-NeMo/nemo-helixSkill160todayApache-2.0A28Claude Code, Codex
trulens-blocking-guardrailstruera/trulensSkill3.7kyesterdayMITA19Claude Code, Codex
trulens-evaluation-setuptruera/trulensSkill3.7kyesterdayMITA17Claude Code, Codex
trulens-instrumentationtruera/trulensSkill3.7kyesterdayMITA25Claude Code, Codex
trulens-evaluation-workflowtruera/trulensSkill3.7kyesterdayMITA18Claude Code, Codex
trulens-dataset-curationtruera/trulensSkill3.7kyesterdayMITA19Claude Code, Codex
langfuselangfuse/langfuseSkill38ktodaynoneA24Claude Code, Codex