Skip to content
Machine Learning
Skill

/nemotron-policy-generator

Generates BYO custom safety policies for NVIDIA Nemotron content-safety guardrails — Nemotron-Content-Safety-Reasoning-4B (text) and multimodal Nemotron-3-Content-Safety. Produces a Markdown policy, JSON taxonomy, and drop-in inference prompts. Maps rough words or an existing

From plugin
nemotron
2.4k13 skills

Claude Code

$ npx -y skills add nvidia-nemo/nemotron --skill nemotron-policy-generator --agent claude-code

SKILL.md

nemotron-policy-generator.SKILL.md
name: "nemotron-policy-generator"
title: "Nemotron Policy Generator"
version: "0.1.0"
description: "Generates BYO custom safety policies for NVIDIA Nemotron content-safety guardrails — Nemotron-Content-Safety-Reasoning-4B (text) and multimodal Nemotron-3-Content-Safety. Produces a Markdown policy, JSON taxonomy, and drop-in inference prompts. Maps rough words or an existing policy to V2 categories, adding custom categories or topic-following rules."
license: "Apache-2.0 AND CC-BY-4.0"
compatibility: "nvidia/Nemotron-Content-Safety-Reasoning-4B (text, EN, /think) · nvidia/Nemotron-3-Content-Safety (multimodal, 12 langs, BYO + /think) · Gemma-3-4B-it · vLLM / SGLang / TRTLLM / Transformers · NeMo Guardrails"
metadata:
  version: "0.1.0"
  author: "Shyamala Prayaga <sprayaga@nvidia.com>"
  team: "Nemotron Safety PM"
  tags:
    - nemotron
    - nemotron-content-safety
    - nemotron-3-content-safety
    - ncs-reasoning-4b
    - reasoning-guardrail
    - multimodal-reasoning-safety
    - multilingual-reasoning-safety
    - think-mode
    - no-think-mode
    - categories-mode
    - gemma-3
    - nemo-guardrails
    - content-safety
    - guardrails
    - safety-policy
    - byo-policy
    - custom-policy
    - topic-following
    - eval-rubric
    - labeling-rubric
    - v2-taxonomy
  languages:
    - markdown
    - json
  frameworks:
    - nemotron-content-safety-reasoning-4b
    - nemotron-3-content-safety
    - nemotron-content-safety-v2-taxonomy
    - nemo-guardrails
    - vllm
    - sglang
    - trtllm
    - transformers
  domain: ai-safety

Nemotron Policy Generator

<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: Apache-2.0 AND CC-BY-4.0

Scripts and code samples in this skill are licensed under Apache-2.0. Prose (SKILL.md, references/, BENCHMARK.md) is licensed under CC-BY-4.0. -->

When to Use This Skill

Activate this skill whenever the user asks for help **producing** a content-safety policy for NVIDIA Nemotron safety models. Concretely:

  • The user mentions any of: NCS, NCS-VL, NCS-Reasoning, Nemotron Content Safety, NeMo Guardrails, Aegis taxonomy.
  • The user asks to "build", "draft", "generate", "expand", or "extend" a safety policy, content policy, moderation policy, guardrail config, BYO-policy, custom safety taxonomy, eval rubric, or labeling rubric.
  • The user describes their needs in rough words ("no weapons, allow medical, block hate speech") and expects a structured artifact back.
  • The user names a deployment context (consumer chat, enterprise RAG, kids/edu, healthcare, financial, code assistant, sovereign deployment) and asks for the safety rules that fit.

Do **not** activate this skill when:

  • The user wants to *evaluate* an existing policy's quality, not generate one — that's a review task.
  • The user wants to *test* whether NCS follows a policy — that's an eval/benchmark task; defer to a benchmark/eval skill.
  • The user is asking for legal advice on what their policy *should* cover — defer; this skill generates artifacts from user-supplied intent, it doesn't decide what's legally required in a jurisdiction.

What This Skill Produces

From any rough input, this skill produces a structured, internally consistent policy in the formats Nemotron consumes:

  • **Markdown policy** — the canonical, sign-off-ready source of truth; everything else derives from it.
  • **JSON taxonomy** — schema-validated structured form for downstream tooling.
  • **Nemotron system prompt** — drop-in classification prompt for NCS / NCS-VL / NCS-Reasoning.
  • **Word doc (.docx)** — only if the user explicitly asks or mentions sign-off / legal / review.

Target models (compatible with both)

The skill produces **one policy artifact** that works with **both** NVIDIA Nemotron content-safety guardrails:

  • **`nvidia/Nemotron-Content-Safety-Reasoning-4B`** — text only · English; `/think` ↔ `/no_think`; emits `Prompt harm` / `Response harm` (`harmful`/`unharmful`) with `S1`–`S22` V2 labels.
  • **`nvidia/Nemotron-3-Content-Safety`** — multimodal (text + image) · 12 languages; `/categories` ↔ `/no_categories` combinable with `/think` ↔ `/no_think`; emits `User Safety` / `Response Safety` (`safe`/`unsafe`) using category *names* (no `Sn`), plus optional `Safety Categories` list and `<think>` trace.

Default to **both** unless the user names one. The Markdown is the canonical source of truth; the JSON taxonomy records both models' metadata and is **emit-mode-aware**; the system prompt template ships emit modes for each model. **Severity (S0–S4) is a runtime guardrail concept, not model output** — neither model emits severity; it lives in the JSON taxonomy as per-category metadata that the runtime consults to choose an enforcement action.

See `references/target_models.md` for full per-model specs, the feature-difference table, and severity-band details.

Instructions

Follow this six-step workflow for every request.

Step 1 — Read the input carefully and classify it

Look at what the user gave you and silently decide:

  • **Input mode:** keywords only / keywords + context / keywords + existing policy / free-form
  • **Primary use case(s):** runtime guardrails, training data labeling, customer customization (BYO-policy), eval rubric — many policies serve more than one
  • **Target model(s):**
  • `nemotron-content-safety-reasoning-4b` — text only, English.
  • `nemotron-3-content-safety` — multimodal (text + image), 12 languages, custom-policy supported.
  • **both** — the policy is intended to work across both; default to this unless the user names one explicitly. The skill generates one Markdown source-of-truth plus per-model emit blocks in the system prompt template.
  • **Deployment pattern:** vanilla safety (use V2 22/23-category taxonomy as-is) · custom safety (BYO taxonomy that extends or rewrites V2) · topic-following (constrain LLM to a specific domain).
  • **Inference mode** — set per target model:
  • R
Read more
@nvidia-nemo
Ships withnemotron

Open and efficient models for agentic AI. Training recipes, deployment guides, and use-case examples for the Nemotron family.

Stars on GitHub

Momentum

stars in total
2.4k
Star history of nvidia-nemo/nemotron on GitHub, a chart by star-history.com

Other skills on nemotron.

nemotron-add-model

nemotron-add-model

Onboard a new model family (Nemotron or third-party) into skills/ — paper chunks, recipe summaries, context packs, and model…

nemotron-add-pattern

nemotron-add-pattern

Add a cross-cutting decision pattern under src/nemotron/steps/patterns/. Use when a recurring ML decision (tokenizer lock, eval…

nemotron-add-step

nemotron-add-step

Add a new step under src/nemotron/steps/<category>/<step_id>/ — manifest (step.toml), runner glue, configs, and per-step…

nemotron-customize

nemotron-customize

Configure and chain repo-native Nemotron steps for curation, tokenizer extension, SDG/BYOB, training, conversion, optimization,…

nemotron-lightning35

nemotron-lightning35

Reference desk for NVIDIA Nemotron 3.5 Lightning (30B-A3B), a hybrid Mamba-Transformer MoE with MTP built from Nano 3 Base by…

nemotron-nano3

nemotron-nano3

Reference desk for Nemotron 3 Nano / Llama-Nemotron Nano 3 — architecture, training data, recipes, evaluation, quantization,…

More skills from other plugins.

analyze-ci

analyze-ci

Analyze failed GitHub Action jobs. Takes one or more GitHub URLs (job, workflow-run, or PR) and summarizes each failure with root…

mlflow7d29k
@mlflow@mlflowInstall Skill
hf-cli

hf-cli

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…

skills3w11k
@huggingface@huggingfaceInstall Skill
feast-architecture

feast-architecture

Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…

feast11d7.4k
@feast-dev@feast-devInstall Skill
add-ecosystem

add-ecosystem

Add a new ecosystem and base model to basemodel.constants.ts. Use when onboarding a new model family from providers like Baidu,…

civitai7d7.3k
@civitai@civitaiInstall Skill

Questions about nemotron-policy-generator.

Which coding agents can use nemotron-policy-generator?
nemotron-policy-generator installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.