Best for
- Use when the user is choosing a model for a new agent, assessing a model they already selected, or deciding what belongs in AGENT-SPEC.
NVIDIA-NeMo/nemo-platform/sdk/python/nemo-platform/src/nemo_platform/skills/nemo-model-selection/SKILL.md
Recommends an LLM for a NeMo Platform agent based on what the agent actually has to do, explained in plain English before any benchmark name appears. Use when the user is choosing a model for a new agent, assessing a model they already selected, or deciding what belongs in AGENT-SPEC.md or Platform agent.yaml. Invoked by nemo-explore at the model question; also runs standalone when the user starts mid-flow.
Decision brief
Recommend a model for a new agent from NIM or another provider configured on the running Platform. Explain the capability fit first and benchmark evidence second. Return the model choice in a form suitable for AGENT-SPEC.md and the Platform-managed agent.yaml. Preserve NAT model…
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Declared | Source record | Install path and trigger |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/NVIDIA-NeMo/nemo-platform --skill "sdk/python/nemo-platform/src/nemo_platform/skills/nemo-model-selection"Inspect the Agent Skill "nemo-model-selection" from https://github.com/NVIDIA-NeMo/nemo-platform/blob/f2d56031d6a584e8064024bbc3a8cad368ec33a7/sdk/python/nemo-platform/src/nemo_platform/skills/nemo-model-selection/SKILL.md at commit f2d56031d6a584e8064024bbc3a8cad368ec33a7. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Before the profile questions, ask which path the user is on:
Ask all three questions in a single message. Skip any that the conversation has already answered (for example, nemo-explore already captured tools and deployment).
Identify the selected harness and whether it uses a Platform-routed or native provider path before building candidates. Read it from the source config or conversation; ask if it is still unknown.
Lead with the capability that matters most for this agent, then name the model as the conclusion. Use this shape (adapt the content, do not copy verbatim):
After explaining the recommendation, briefly note how we know — framed as "the test that simulates this" not "the score it got".
Permission review
The documentation asks the agent to run terminal commands or scripts.
python scripts/refresh-benchmark-cache.pyThe documentation includes network, browsing, or remote request actions.
Tool calling: https://gorilla.cs.berkeley.edu/leaderboard.htmlThe documentation includes network, browsing, or remote request actions.
Human preference: https://lmarena.aiEvidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 87/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 56 | Source | Repository attention, not individual Skill quality |
| Compatibility | 1 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Recommend a model for a new agent from NIM or another provider configured on
the running Platform. Explain the capability fit first and benchmark evidence
second. Return the model choice in a form suitable for AGENT-SPEC.md and the
Platform-managed agent.yaml. Preserve NAT model configuration only when the
user is explicitly maintaining a legacy NAT workflow.
test -f packages/nemo_platform_ext/src/nemo_platform_ext/skills/nemo-model-selection/references/benchmark_cache.json && echo "cache_present" || echo "cache_missing"
If cache_missing, proceed with the static table in this file. Tell the user once that benchmark data is stale and they can refresh it with:
python scripts/refresh-benchmark-cache.py
The cache (schema v6+) carries four things the rest of this skill reads:
models[] — editorial entries for a curated set of NIMs with strong_at, watch_out_for, intent_hints, derived_from lineage, and direct/inferred scores.upstream_index.bfcl_v4 and upstream_index.arena_elo — full BFCL and per-category Arena Elo tables for ~84 and ~360 models respectively. Use these to look up scores for ANY model name, not just the registered ones.namespace_to_type[] — namespace-prefix → NAT _type mapping used only for legacy NAT workflow output.name_decomposition_rules[] — pattern→hint rules for synthesizing intent_hints when an unknown model name lands.nemo models list --all-pages --output-format json 2>/dev/null | python3 -c "import json,sys; d=json.load(sys.stdin); print('\n'.join(m['name'] for m in d.get('data', []) if m.get('name')))" 2>/dev/null || echo "PLATFORM_UNREACHABLE"
Interpretation:
id value is a Platform entity id and must not be written to agent.yaml as the inference model identifier.PLATFORM_UNREACHABLE → platform isn't up. Recommendations may continue
from the curated cache, but a model for Platform agent.yaml cannot be
finalized until the live Platform model list and harness-specific inference
route can be checked.Use the nemo CLI rather than constructing a Platform URL or calling
/v1/models directly. The CLI resolves NEMO_BASE_URL, NMP_BASE_URL, the
active CLI context, authentication, and workspace consistently with subsequent
agent commands. Do not hardcode localhost, 127.0.0.1, or port 8080.
This list is authoritative only for models routed through Platform. For a
native-provider harness such as claude, use the configured provider's native
model catalog and validation tooling instead.
Before the profile questions, ask which path the user is on:
Quick check before I ask the design questions:
A. **You're choosing a model.** Walk me through what the agent does and I'll
recommend from what's deployed.
B. **You already have a model in mind.** Tell me which one — I'll assess
whether it fits your task and surface what to watch for.
Which are we doing? (If unsure, A is the default.)
If the user picks A → continue to Step 1 with the recommend flow. If the user picks B → continue to Step 1 with the assess flow:
Ask all three questions in a single message. Skip any that the conversation has already answered (for example, nemo-explore already captured tools and deployment).
Before I recommend a model, three quick things about what the agent will do:
1. **Tool density.** How many tools, and how do they interact?
- One tool (search, lookup, or similar)
- 3–5 tools whose outputs chain into each other
- Many tools, often called in parallel
2. **Primary capability.** What does the model spend most of its time doing?
- Calling APIs or tools reliably (MCP, structured function calls)
- Working with code (reading repos, editing, writing patches)
- Reading and reasoning over long documents
- General conversation and instruction following
3. **Deployment.**
- Cloud (NVIDIA Build API, OpenAI, Anthropic, etc.)
- Self-hosted on a GPU — if so, roughly how much VRAM is available?
- Not decided yet
Do not propose a model before all three answers are in. Push back on "you decide" — commit to a default and announce it ("I'll assume cloud and a tool-heavy agent. Tell me if that's wrong.").
Identify the selected harness and whether it uses a Platform-routed or native provider path before building candidates. Read it from the source config or conversation; ask if it is still unknown.
The candidate set is what the user can actually pick from. It comes from three joins:
agent.yaml model block. Availability alone does
not establish compatibility with an agent harness.models[] entries → if hit, use the full editorial record (lineage, intent_hints, direct + inferred scores)upstream_index.bfcl_v4 keys → if hit, use that BFCL score with source: "direct_external"upstream_index.arena_elo for per-category Elointent_hints by walking name_decomposition_rules[] and collecting every hint whose pattern token appears in the decomposed model id. Mark evidence as source: "name_only".When the live Platform model list was unreachable, also tell the user the rest of this flow is operating on the curated NIM set, not their actual deployment.
When the output targets Platform agent.yaml, rank a short candidate list from
the appropriate live catalog and the evidence above, then verify candidates
against the selected harness's actual model contract:
| Harness | Required model contract | Compatibility check |
|---|---|---|
codex | OpenAI Responses API | Valid v1/responses inference request |
hermes | OpenAI-compatible chat completions | Valid v1/chat/completions inference request |
deepagents | Provider-specific; nvidia, openai, and openai-compatible use chat completions | Valid request for the selected provider path; use v1/chat/completions for an OpenAI-compatible route |
claude | Native Anthropic provider | Require provider: anthropic and validate the configured credentials/model with native Anthropic tooling; do not route it through Platform IGW |
Before making any inference requests, show the user the candidate names and explain that the checks make real, potentially billable model calls. Ask for explicit confirmation and wait. The original request to select a model or write a config is not confirmation for these calls. For native-provider harnesses, use the provider's native validation path instead of forcing the request through Platform IGW.
For a Platform-routed OpenAI-compatible candidate, use the context-aware CLI
rather than a hardcoded URL. Preserve the exact model name returned by
nemo models list:
MODEL_NAME="<exact-platform-model-name>"
# Codex
nemo inference gateway model post v1/responses "$MODEL_NAME" \
--body "{\"model\":\"$MODEL_NAME\",\"input\":\"Reply with exactly: compatibility check\"}"
# Hermes or an OpenAI-compatible DeepAgents configuration
nemo inference gateway model post v1/chat/completions "$MODEL_NAME" \
--body "{\"model\":\"$MODEL_NAME\",\"messages\":[{\"role\":\"user\",\"content\":\"Reply with exactly: compatibility check\"}]}"
A successful model list lookup, schema validation, Fabric planning, deployment
readiness, empty request, or GET does not establish compatibility for a
Platform-routed model. Only candidates that complete a valid request through
the required Platform model path may be returned to nemo-agent-config. For a
native-provider harness, require its adapter provider contract and successful
native credential/model validation instead. Exclude failed combinations and
try the next ranked candidate. If no candidate passes, stop without emitting a
model block and ask the user to configure a compatible provider or explicitly
choose a different harness. Never switch the harness silently.
Record the selected harness, provider, exact model name, required model contract, and successful check in the handoff. Then apply the normal benchmark ranking only among compatible candidates.
The pattern depends on the evidence quality of the candidate that best matches the profile:
Identify the best-matching candidate.
Inspect its evidence for the primary axis from profile question 2:
- "code" → scores.arena_elo.coding AND scores.bfcl_v4
- "tools" → scores.bfcl_v4
- "long documents" → scores.arena_elo.hard_prompts
- "general/instruction"→ scores.arena_elo.overall AND scores.arena_elo.instruction_following
If the relevant scores all have source ∈ {"direct", "direct_external"}:
→ Pattern A (single recommendation, current Step 2 template)
If one or more relevant scores have source == "inferred_from_ancestor",
or the candidate has scores == {} (name-only) but has intent_hints:
→ Pattern B (forced trade-off, withhold model name until user resolves it)
If 3+ candidates have similar profiles and similar evidence-quality:
→ Pattern C (shortlist with explicit "I'd want an eval before deciding")
Hard rule: when the primary candidate's evidence is anything other than direct, the model name does NOT appear in your response until the user has resolved the trade-off. This is the anchoring guard. Without it, users default to the first model named regardless of caveats.
Structure:
plain text from the cache (which already carries the editorial caveat for inferred entries) in your own words.Example output for a code-heavy agent where the natural pick has inferred BFCL data:
"Before I name a model — one thing to settle. Your profile (code-focused, three tools, cloud) has two reasonable candidates with different evidence quality:
A. The specialist. Built for this exact job. Arena's coding-category Elo (1418, strong) IS measured for this exact model. But BFCL hasn't measured its tool-calling discipline — only its base model (Qwen3-30B-A3B at 37%) and we're inferring from there.
B. The measured generalist. Best directly-measured tool-calling in our NIM set (BFCL 52%, mid). Not code-specialized, but disciplined.
If you can run a 5–10 prompt eval from your spec on both, that's the real answer. If you need to commit now: which matters more — specialist intent (A) or measured discipline (B)?"
Use only when 3+ candidates have similar profiles and similar evidence-quality, and no honest trade-off binary exists. Present them in a numbered list with plain summaries and explicit phrasing that an eval is the only way to actually decide. Do not commit to one. Default to recommending an eval as the next step.
Lead with the capability that matters most for this agent, then name the model as the conclusion. Use this shape (adapt the content, do not copy verbatim):
"For an agent that , the thing that matters most is <one capability in plain words — e.g. 'reliably picking the right tool without hallucinating its arguments'>. That's what is built for — <one sentence on what the model actually does well, not what it scored>. The tradeoff is . Given you're deploying <cloud / self-hosted>,
<model string>is the practical choice."
| Agent profile | Recommended model |
|---|---|
| Many tools, parallel or chained calls | qwen/qwen3-235b-a22b |
| Many tools, cost or speed is a constraint | qwen/qwen3-30b-a3b |
| Code-focused: reading repos, writing patches | qwen/qwen3-coder-30b-a3b-instruct |
| Reasoning over long documents or many chunks | nvidia/llama-3.1-nemotron-ultra-253b |
| General-purpose, balanced default (platform-curated) | nvidia/llama-3.3-nemotron-super-49b-v1 |
| General-purpose, widely-deployed alternative | meta/llama-3.3-70b-instruct |
| Fast and cheap, simple tool loops | microsoft/phi-4-mini-instruct |
| Self-hosted, single consumer GPU (<24 GB) | qwen/qwen3-8b |
If benchmark_cache.json is present, read each model's strong_at and watch_out_for from the cache — those are kept in sync with the script. The text below is the fallback when the cache is missing.
qwen/qwen3-235b-a22b
qwen/qwen3-30b-a3b
qwen/qwen3-coder-30b-a3b-instruct
nvidia/llama-3.1-nemotron-ultra-253b
nvidia/llama-3.3-nemotron-super-49b-v1
meta/llama-3.3-70b-instruct
microsoft/phi-4-mini-instruct
qwen/qwen3-8b
After explaining the recommendation, briefly note how we know — framed as "the test that simulates this" not "the score it got".
Right framing:
"We know this because it consistently outperforms comparable models on tests that simulate exactly this kind of multi-tool coordination — not toy examples, but real scenarios where the model has to decide which tool to call, in what order, with what arguments, and when to call nothing at all."
Wrong framing (do not do this):
"It scored 0.91 on BFCL v4, which is top tier, and 1342 Arena Elo."
If the user asks what benchmark was used or wants the raw number, tell them. Do not lead with it.
Show the blocks that fit the user's stage. Default machine-readable output to
Platform agent.yaml. When the chosen model's primary-axis score has
source: "inferred_from_ancestor" or the model relies on intent_hints only,
include an explicit evidence caveat in the human-readable recommendation. Do
not encode benchmark commentary as unsupported config fields.
If they're authoring an agent spec for nemo-spec:
## Model
- **Family/size:** <plain description, e.g. "Qwen3 235B MoE">
- **NIM model id:** `<model-string>`
- **Why this choice:** <one plain-English sentence — same words you used above>
- **Evidence:** <"Direct BFCL and Arena measurements" | "BFCL inferred from ancestor <ancestor-id>; Arena measured directly" | "No public benchmark coverage — selection based on model-name intent only, eval recommended">
- **Deployment:** <cloud | self-hosted (VRAM)>
If they are authoring Platform agent.yaml, emit a default model block:
models:
default:
provider: <configured-provider>
model: <model-string>
api_key_env: <credential-env-var-if-needed>
base_url: <provider-base-url-if-needed>
Use the provider identity configured on the Platform. Omit api_key_env and
base_url when the selected provider does not require user-supplied values.
Keep base_url directly in the model block, not under settings.
Before emitting this block, complete the harness-specific compatibility check above. Do not infer compatibility from provider or model-list metadata alone.
The default model applies to every harness that does not declare its own model. Add a harness-local override only when that harness intentionally uses a different model or provider:
harnesses:
<harness-name>:
kind: <harness-kind>
model:
provider: <configured-provider>
model: <model-string>
Do not emit raw Fabric SDK model objects. nemo-agent-config owns final YAML
placement and validation.
If they are explicitly maintaining a legacy NAT workflow YAML, emit the NAT compatibility block:
llms:
primary_llm:
_type: <nat-type>
model_name: <model-string>
# Chosen because: <one plain-English sentence — same words you used above>
# Evidence: <direct | inferred from <ancestor-id> | name-intent only — eval recommended>
max_tokens: 4096
workflow:
_type: <agent_type>
llm_name: primary_llm
tool_names: []
_typeOnly for NAT workflow output, match the chosen model's namespace prefix against
namespace_to_type[] from the cache:
For each rule in cache.namespace_to_type:
if model_string.startswith(rule.prefix):
use rule.nat_type for the YAML _type field
if rule.note is present, surface it once to the user
stop
If no rule matches:
Tell the user the namespace is unrecognized. Run this to confirm the right type:
uv run nat info components -t llm_provider
Until the user provides the type, leave _type as <TBD-verify> in the emitted YAML
rather than guessing.
Common mappings the cache carries today: nim/*, openai/*, anthropic/*, bedrock/*, plus vendor-published NIM names (qwen/*, meta/*, nvidia/*, microsoft/*, mistralai/*) that route through the NIM provider when served by the platform. Ollama's local endpoint maps to _type: openai since it exposes an OpenAI-compatible API.
For Platform agent.yaml, represent credentials with api_key_env and put
base_url directly in the model block. For a legacy NAT workflow, use the
provider fields required by that NAT LLM component.
Use this table only when maintaining NAT workflow YAML. Harness selection for
nemo-agents-spec-v1 belongs to nemo-agent-config and must not be inferred
from a NAT workflow type.
| What the agent needs to do | Use |
|---|---|
| Call tools in a loop, observe results, adjust | react_agent |
| Dispatch tools directly without intermediate reasoning | tool_calling_agent |
| Reason through a problem before acting | reasoning_agent |
| Follow a fixed plan with no dynamic re-planning | rewoo_agent |
End with:
These recommendations reflect benchmark data current as of this skill's last
cache refresh. LLM rankings shift often. To pull fresh scores:
python scripts/refresh-benchmark-cache.py
Raw leaderboards:
Tool calling: https://gorilla.cs.berkeley.edu/leaderboard.html
Human preference: https://lmarena.ai
(live Elo data: huggingface.co/datasets/lmarena-ai/leaderboard-dataset)
This skill writes nothing. Verification is conversational: summarize the recommendation in 3 lines (capability that mattered most, model chosen, one tradeoff) and ask "Does this match what you need?" Do not hand off until the user confirms.
If nemo-explore invoked this skill, return control to nemo-explore with the chosen model so it can continue to the constraints question. If the user invoked standalone, hand off to nemo-spec if they want to persist the design.
| Symptom | Cause | Recovery |
|---|---|---|
| User says "wrong recommendation" | One of the three profile answers was misread | Re-ask just that question; do not restart |
| User wants a model not in the table | The table is curated, not exhaustive | Tell them honestly; describe the capability gap their choice would have vs the closest recommended model |
cache_missing and user wants fresh data | Cache has never been refreshed in this checkout | Tell them the refresh command and note that the static table is still usable |
| User picks self-hosted but the recommended model needs cloud | Hard constraint conflict | Drop the recommendation; pick the closest self-hosted-compatible model from the table |
| Available model's harness API support is unknown | Availability was mistaken for harness compatibility | Ask permission to run a valid request through the harness's required model path |
| Compatibility request fails | The exact harness/provider/model/endpoint combination is incompatible in the current environment | Exclude that combination, surface the error, and test the next ranked candidate after the user-approved probe set |
| No candidate passes | No live model satisfies the selected harness contract | Stop without emitting a model block; ask the user to configure a compatible provider or explicitly choose another harness |
direct, the model name does not appear in your response until the user has resolved the trade-off in Pattern B. Anchoring is the failure mode this guards against — users default to the first model named regardless of caveats. The withhold is non-negotiable.agent.yaml, present the evidence next to the YAML
rather than inventing a config field.nemo-explore. Pick something, name it, tell the user.provider. Legacy NAT components and Data Designer may use
different provider-specific identifiers; preserve the identifier required by
that consumer instead of assuming the build skill converts it.Alternatives
wanshuiyin/Auto-claude-code-research-in-sleep
Use it for operations tasks; the detail page covers purpose, installation, and practical steps.
cameronfreer/lean4-skills
Use when editing .lean files, debugging Lean 4 builds (type mismatch, sorry, failed to synthesize instance, axiom warnings, lake build errors), searching mathlib for lemmas, formalizing mathematics in Lean, finding a counterexample to, refuting, or disproving a Lean statement, or learning Lean 4 concepts. Also trigger when the user asks for help with Lean 4, mathlib, or lakefile. Do NOT trigger for Coq/Rocq, Agda, Isabelle, HOL4, Mizar, Idris, Megalodon, or other non-Lean theorem provers.
PramodDutta/qaskills
Gate RAG pipelines in CI with versioned golden eval sets, per-metric thresholds, baseline drift detection, and a build that fails when retrieval or answer quality regresses.
PramodDutta/qaskills
Generate comprehensive test cases from state machine models covering all states, transitions, guard conditions, and invalid transition attempts for workflow-heavy features