Gym: Skill for Codex

.agents/skills/nemo-gym-pivot-datasets/SKILL.md

nemo-gym-pivot-datasets is a skill for Codex from NVIDIA-NeMo/Gym. It costs 97 tokens per session (2,076 once invoked), scanned A, original, Apache-2.0.

A guide for turning agent run records—such as tool calls, chat responses, and trajectories—into Nemo Gym pivot datasets, which are data files used to train or evaluate agent decisions.

In plain words
What is it for?
Use it to create, check, or document pivot dataset JSONL files and their configurations from rollout or tool-call records.
Why use it?
It helps avoid treating a whole run as one example or relying on the source file's field names. It explains how to identify each model decision and place its context, reasoning, tools, and results correctly.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is NVIDIA-NeMo/Gym's own configuration. It tells Codex how to work on Gym itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Gym configures →

About the project

NVIDIA-NeMo/Gym is a library and infrastructure for evaluating and improving models and agents inside environments, where each environment defines tasks, agent interaction, verification, and execution state. It is for teams running reproducible evaluations or training at scale across settings such as code execution, tool calling, and sandboxes, and the catalogue entries provide skills and instructions for working with it.

NVIDIA-NeMo/Gym · 1,181 stars · on GitHub · docs.nvidia.com

Reuse

Borrowing it

Nothing to install: this file belongs to NVIDIA-NeMo/Gym. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/NVIDIA-NeMo/Gym/main/.agents/skills/nemo-gym-pivot-datasets/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/NVIDIA-NeMo/Gym

Made for: 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 nemo-gym-pivot-datasets

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia-nemo/gym/nemo-gym-pivot-datasets"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/gym/nemo-gym-pivot-datasets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,076 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00097 $0.02076
Opus 5 $0.00048 $0.01038
Sonnet 5 $0.00019 $0.00415
Haiku 4.5 $0.00010 $0.00208

Measured 11d ago against content hash 21144d656ebc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

nemo-gym-pivot-datasets 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 11d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/audit_pivot_turn_boundaries.py, scripts/reference/chat_messages_to_pivot_dataset_reference.py, scripts/reference/conversational_messages_to_pivot_dataset_reference.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/nemo-gym-pivot-datasets/SKILL.md · 177 lines

How it starts

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

Nemo Gym Pivot Datasets

Paper Reference

This skill operationalizes PivotRL: create local single-step pivot datasets from successful trajectories, prefer informative mixed-reward states, and train with verifier-based local rewards rather than exact trajectory imitation.

Invocation Check

Use this skill when the task is to turn existing agent trajectories or rollout artifacts into a Nemo Gym pivot dataset, or to validate whether a pivot JSONL/config pair can be used for single-step local RL or evaluation.

Before writing a converter, inspect representative source rows and the target resource server. Do not assume the source field names are the contract. Convert by reconstructing the semantic pieces needed by Gym's Responses-style row format.

Core Workflow

  1. Inspect the source data shape and count the candidate assistant decision points.
  2. Reconstruct model calls from the source's flattened output list, and cross-check the count against whatever per-trajectory model-call count the source records. A decision point is one whole model call, so this step decides what a row even is.
  3. Identify the semantic fields needed for each pivot:
  • model-call input context before the pivot action
  • available tools at that decision point
  • expected assistant action
  • reward/verifier target if it is separate from the demonstrated action
  • optional provenance such as task id, source trajectory id, rollout id, uuid, depth, and original metadata
  1. Convert each accepted decision point into one pivot JSONL row.
  2. Generate or update the matching Gym config so the pivot-format JSONL can be used directly.
  3. Validate with the bundled validator and, when available, the target Gym resource-server models.
  4. Write metrics that make skipped rows, action types, tool names, depth, and provenance coverage easy to inspect, including the parallel / single / chat split and a batch-size histogram.

Row Shape

Read references/row-contract.md when implementing or reviewing a converter. For single_step_tool_use_with_argument_comparison, the essential row fields are:

Read the full file on GitHub · 177 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. 11d ago First seen · 177 lines · 97 tokens per session scan A 21144d656ebc

Subscribe to this mod's changes

nemo-gym-pivot-datasets is a skill published in the GitHub repository NVIDIA-NeMo/Gym (1,181 stars, last pushed today), licensed Apache-2.0. It adds 97 tokens to every session and 2,076 once invoked, about $0.0005 per session on Opus 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-08-30.

Related

Other skills, from other repositories

model_finetuning

Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training. Use when need RLHF, align model with preferences, or train from human feedback. Works with HuggingFace Transformers.

vuralserhat86/antigravity-agentic-skills · 67 tokens

model_finetuning

Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training. Use when need RLHF, align model with preferences, or train from human feedback. Works with HuggingFace Transformers.

DonggangChen/antigravity-agentic-skills · 67 tokens

spark-training-gotchas

Preflight and diagnose the ten known failure modes for ML training on NVIDIA DGX Spark. Use when a training run on DGX Spark fails to start, OOMs below the 128GB limit, slows down mid-run, or before any multi-hour training job on GB10.

wshobson/agents · 63 tokens

thinking-out-loud

A contract for what the agent does when a long, messy, stream-of-consciousness ramble arrives (usually voice dictation): act on nothing until the echo brief is approved. The echo audits the entire transfer, mission, locked decisions and constraints, open questions, flips and parked tangents, with the model's…

Shubhamsaboo/awesome-llm-apps · 206 tokens

torchforge-rl-training

Provides guidance for PyTorch-native agentic RL using torchforge, Meta's library separating infra from algorithms. Use when you want clean RL abstractions, easy algorithm experimentation, or scalable training with Monarch and TorchTitan.

davila7/claude-code-templates · 49 tokens

hugging-face-model-trainer

This skill should be used when users want to train or fine-tune language models using TRL (Transformer Reinforcement Learning) on Hugging Face Jobs infrastructure. Covers SFT, DPO, GRPO and reward modeling training methods, plus GGUF conversion for local deployment. Includes guidance on the TRL Jobs package, UV…

patchy631/ai-engineering-hub · 131 tokens