Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add NVIDIA-NeMo/nemo-helix --skill agents-optimizegit clone --depth 1 https://github.com/NVIDIA-NeMo/nemo-helixWrote 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.
[](https://agentmods.dev/skills/nvidia-nemo/nemo-helix/agents-optimize)<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/agents-optimize"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/agents-optimize/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.
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/agents-optimize"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/agents-optimize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00117 | $0.04670 |
| Opus 5.5 | $0.00047 | $0.01868 |
| Sonnet 5.5 | $0.00023 | $0.00934 |
| Haiku 4.5 | $0.00012 | $0.00467 |
Grade A, and why
agents-optimize 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 374 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NeMo Agent Optimization
Optimize and accelerate a deployed agent by suggesting routing splits, prompt/hyperparameter tuning, and evaluations against newly available models. Always anchor proposed changes against an evaluation baseline so quality regressions are caught before promotion.
Workflow
- Pick an agent. Run
nemo agents listand prompt the user to choose one to optimize. Use the rest of this skill on that single agent. - Establish a baseline. Look for prior evaluation results from
nemo agents evaluate. If none exist but the agent has an eval dataset+config, run one and save the result. If no eval dataset exists, suggest the user create one — recent telemetry can usually be turned into a small dataset. - Run the analysis steps below, emit suggestions, and persist them.
- Present suggestions to the user and let them pick which to apply.
- After applying any change, re-run evaluation and compare to the baseline. Surface deltas (per-evaluator average score, wallclock, token cost) and confirm before promoting traffic.
- Apply via the create-sibling-and-deploy pattern. Agents v2 has no PATCH
on
/agents/<name>, so model swaps and config edits go through: create a sibling agent → deploy it → run an eval against the sibling → delete old deployments so traffic flows to the new version.
Analysis steps
1. Routing / switchyard split
Inspect agent.config.llms[*].model_name from nemo agents list. If every
LLM points at a single frontier model and no switchyard routing virtual
model is in use, suggest creating a random_routing virtual model with an
80% strong / 20% weak split.
- Pick the weak model from
nemo models list --filter.name nemotron(prefer current Nemotron tiers, e.g.nvidia-nemotron-nano-3bornemotron-3-super-class). Exclude content-safety / topic-control / safety-guard / GLiNER models — those aren't general chat replacements. - Verify entity names before constructing the VM. Auto-discovered names
on the NVIDIA hub sometimes have doubled prefixes (e.g.
nvidia-nvidia-nemotron-3-super-v3, notnvidia-nemotron-3-super-v3). Always confirm withnemo -f json models get <candidate>before referencing the name in--modelsor as theweak/strongmodel in middleware config. A 404 here, caught early, is much cheaper than a failed VM rollout. - Use the
inferenceskill for the exactnemo virtual-models create … --request-middleware … nemo-switchyard config_type=random_routing …syntax (strong_probability: 0.8). - After creating the VM, smoke-test routing before wiring an agent to it.
Run ~20 minimal
nemo inference gateway model post v1/chat/completions <vm>calls and tally the response.modelfield. The split should approximate the configured probability (e.g. ~16/4 for 0.8/0.2 over 20 calls). If the split is 20/0, the middleware isn't actually rewriting the request — stop and investigate before deploying the sibling agent. Catches misconfigured probabilities, wrong entity IDs in middleware config, and other middleware- silently-bypassed failure modes. - Set
modelon the suggestion to the current source model. Suggested follow-up actions:nemo agents evaluate --agent <agent> --eval-config <yaml>against the routed VM before promoting.
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.
- yesterday First seen · 374 lines · 117 tokens per session scan A a2edf362378d
agents-optimize is a skill published in the GitHub repository NVIDIA-NeMo/nemo-helix (160 stars, last pushed today), licensed Apache-2.0. It adds 117 tokens to every session and 4,670 once invoked, about $0.0005 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-12-05.
agents-optimize compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agents-optimizeNVIDIA-NeMo/nemo-helix | Skill | 160 | today | Apache-2.0 | A | 117 | Claude Code |
| trulens-blocking-guardrailstruera/trulens | Skill | 3.7k | yesterday | MIT | A | 19 | Claude Code, Codex |
| promptfoo-redteam-setuppromptfoo/promptfoo | Skill | 28k | today | MIT | A | 65 | Claude Code, Codex |
| promptfoo-provider-setuppromptfoo/promptfoo | Skill | 28k | today | MIT | A | 66 | Claude Code, Codex |
| discount-reviewpromptfoo/promptfoo | Skill | 28k | today | MIT | A | 18 | Claude Code, Codex |
| code-reviewpromptfoo/promptfoo | Skill | 28k | today | MIT | A | 11 | Claude Code |
| trulens-evaluation-setuptruera/trulens | Skill | 3.7k | yesterday | MIT | A | 17 | Claude Code, Codex |