nemo-mbridge-recipe-recommender

nemo-mbridge-recipe-recommender is a skill for Claude Code, Codex from NVIDIA-NeMo/Megatron-Bridge. It costs 80 tokens per session (5,038 once invoked), scanned A, original, Apache-2.0.

A guide for choosing and adapting Megatron Bridge training recipes. A recipe is a ready-made set of model and training settings; it distinguishes normal training recipes from configurations made only for speed tests.

In plain words
What is it for?
Use it to choose a starting recipe for pretraining, supervised fine-tuning, or parameter-efficient fine-tuning. It helps adapt the recipe to the model, GPU hardware, GPU count, and sequence length.
Why use it?
It avoids starting from an unsuitable configuration or treating a benchmark setup as a production training setup. It also helps resize a recipe for the available GPUs and training goal.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/training/train.sh \.

Good fit Use it to choose a starting recipe for pretraining, supervised fine-tuning, or parameter-efficient fine-tuning. It helps adapt the recipe to the model, GPU hardware, GPU count, and sequence length.

Compare 6 skills from other repositories ↓
About the project

Megatron Bridge is a library for training Megatron-based models and converting their checkpoints between Hugging Face and Megatron formats. Model developers use it for pretraining, supervised fine-tuning, long-context work, LoRA, inference, and image-and-text workflows supported by its examples and model configurations. The catalogue entries provide agent workflows and instructions for using the library.

NVIDIA-NeMo/Megatron-Bridge · 1,012 stars · on GitHub · docs.nvidia.com

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/NVIDIA-NeMo/Megatron-Bridge
agentmods
npx agentmods add skills/nvidia-nemo/megatron-bridge/nemo-mbridge-recipe-recommender

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 nemo-mbridge-recipe-recommender

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia-nemo/megatron-bridge/nemo-mbridge-recipe-recommender"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/megatron-bridge/nemo-mbridge-recipe-recommender.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,038 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.00080 $0.05038
Opus 5.5 $0.00032 $0.02015
Sonnet 5.5 $0.00016 $0.01008
Haiku 4.5 $0.00008 $0.00504

Measured 1mo ago against content hash 60477d595f79, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nemo-mbridge-recipe-recommender 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 1mo ago.

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.

skills/nemo-mbridge-recipe-recommender/SKILL.md · 401 lines

How it starts

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

Auto Recipe — Recipe Index & Recommendation

This skill indexes every shipped recipe and helps users pick the right starting config, adjust parallelism, and avoid common pitfalls.

How to Use This Skill

  1. Ask the user for: model name/size, GPU count & type, training goal (pretrain / SFT / PEFT), and sequence length (if non-default).
  2. Look up the best-match recipe in the index below.
  3. Recommend the recipe function name + entry-point command.
  4. Provide adjustment advice (parallelism resizing, batch tuning, pitfalls).

First Answer Checklist

When recommending recipes, always include these distinctions before the long index details:

  1. Library recipes under src/megatron/bridge/recipes/ are for functional training and use scripts/training/run_recipe.py.
  2. Benchmark recipes under src/megatron/bridge/perf_recipes/ are for upper-bound throughput benchmarks. They own their canonical benchmark data and settings and should not be presented as production training recipes.
  3. For a first-time Bridge smoke test, recommend llama3_8b_pretrain_config with mock data via --dataset mock.
  4. For normal SFT recommendations, select a finetuning preset such as --dataset squad or --dataset tulu3; for pretrain and mock validation recommendations, use --dataset mock. Do not pair the pretraining-only mock preset with an SFT or PEFT mode.
  5. After the recipe and dataset, give the required resizing rules: TP must divide num_key_value_heads, use the lowest TP that still fits the dense state, keep TP within one node unless using NVL72-class interconnect, enable SP when TP > 1, configure CP for long context, and make both dense and expert meshes divide the allocation.
  6. State whether each proposed override changes the convergence contract or only the execution/performance mapping. Do not trade convergence semantics for throughput without calling it a new experiment.

Performance Readiness for New Recipes

Read the full file on GitHub · 401 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +30 lines 60477d595f79
  2. 3mo ago First seen · 371 lines · 80 tokens per session scan A 185fa783a065

Subscribe to this mod's changes

nemo-mbridge-recipe-recommender is a skill published in the GitHub repository NVIDIA-NeMo/Megatron-Bridge (1,012 stars, last pushed today), licensed Apache-2.0. It adds 80 tokens to every session and 5,038 once invoked, about $0.0003 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-08-30.

Related

nemo-mbridge-recipe-recommender compared with skills from other repositories

nemo-mbridge-recipe-recommender next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nemo-mbridge-recipe-recommenderNVIDIA-NeMo/Megatron-BridgeSkill1.0ktodayApache-2.0A80Claude Code, Codex
spark-environment-setupwshobson/agentsSkill43k5d agoMITA76Claude Code
spark-memory-thermal-opswshobson/agentsSkill43k5d agoMITA59Claude Code
spark-training-gotchaswshobson/agentsSkill43k5d agoMITA63Claude Code
inference-serving-llama-cppdavila7/claude-code-templatesSkill34ktodayMITA80Claude Code, Codex
supercomputertrycua/cuaSkill33ktodayMITA0Claude Code, Codex
amc-run-rtsp-calibrationNVIDIA/skillsSkill4.2k2d agoApache-2.0A59Claude Code, Codex