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

BOOST
From plugin
nemotron
2.1k10 skills
Install
$ npx -y skills add nvidia-nemo/nemotron --skill nemotron-policy-generator --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/nemotron-policy-generator

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

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
Ships withnemotron

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

Get the whole plugin
Stats
2,137
Stars
433
Forks
Active
Maintenance
Jupyter Notebook
Language
Apache-2.0
License
1d ago
Last commit
1y ago
Created
18h ago
Added

Repo: nvidia-nemo/nemotron

Other skills on nemotron.