# nemotron-policy-generator

Turn moderation requirements or an existing policy into structured artifacts for NVIDIA Nemotron safety models. Useful when a project needs its rules prepared for model inference.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1900 installs · ★ 3735
- Author: Shyamala Prayaga
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/NVIDIA/skills/tree/HEAD/skills/nemotron-policy-generator/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/nemotron-policy-generator

## What it does

The skill turns user-provided moderation needs into a Markdown policy, a JSON taxonomy, and a system prompt for classification. It maps plain-language rules to V2 categories and can add project-specific categories or topic-following constraints. A DOCX version is produced when requested, including for sign-off or review.

Its outputs target `nvidia/Nemotron-Content-Safety-Reasoning-4B` and multimodal `nvidia/Nemotron-3-Content-Safety`. These models use different labels and output modes, so the taxonomy carries metadata for both. Nemotron-3 handles text and images; Reasoning-4B is text-only and English-language. The default is a policy artifact for both models, so name one model if the project targets only that one.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill nemotron-policy-generator -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/nemotron-policy-generator/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/nemotron-policy-generator/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill nemotron-policy-generator -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/nemotron-policy-generator/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill nemotron-policy-generator -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/nemotron-policy-generator/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install NVIDIA/skills nemotron-policy-generator
```

2. **Manually: put the files in place**
- File: `.github/skills/nemotron-policy-generator/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill nemotron-policy-generator -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/NVIDIA/skills --path skills/nemotron-policy-generator
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/nemotron-policy-generator/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill nemotron-policy-generator -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/NVIDIA/skills/tree/HEAD/skills/nemotron-policy-generator/SKILL.md

## When to use it
- turn brief moderation requirements into a structured policy
- map project rules to V2 safety categories
- add custom categories to a safety taxonomy
- prepare a classification prompt for Nemotron models
- draft a labeling rubric for training data

## Example prompts
- Draft a chat policy that blocks weapon instructions while allowing medical discussion.
- Convert this moderation policy into V2 categories and add a rule for our subject area.
- Create a policy for `nvidia/Nemotron-3-Content-Safety` that classifies text and images.

## Similar
- [skill-creator](https://affpapa.org/en/nevibecode/skills/skill-creator.md) — skill · 414180 installs
- [writing-for-agents](https://affpapa.org/en/nevibecode/skills/writing-for-agents.md) — skill · 466719 installs
- [media-use](https://affpapa.org/en/nevibecode/skills/media-use.md) — skill · 1100000 installs
- [mcp-builder](https://affpapa.org/en/nevibecode/skills/mcp-builder.md) — skill · 130949 installs
- [subagent-driven-development](https://affpapa.org/en/nevibecode/skills/subagent-driven-development.md) — skill · 237746 installs
- [orchestration](https://affpapa.org/en/nevibecode/skills/orchestration.md) — skill · 349800 installs

From the same set: [nvidia/skills](https://affpapa.org/en/nevibecode/by/nvidia/skills.md) — 195 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
