NeMo-Relay: Skill for Claude Code

.agents/skills/maintain-optimizer/SKILL.md

maintain-optimizer is a skill for Claude Code, Codex from NVIDIA/NeMo-Relay. It costs 41 tokens per session (464 once invoked), scanned A, original, Apache-2.0.

A maintenance skill for NeMo Relay's adaptive features, which let configuration and plugins adjust how the system behaves. It covers shared configuration, built-in helpers, plugin registration, lifecycle behavior, reports, bindings, documentation, and examples.

In plain words
What is it for?
Use it when changing adaptive configuration, built-in sections, plugin lifecycle or registration, diagnostics, or the corresponding Python, Go, Node.js, Rust, and documentation surfaces.
Why use it?
It keeps related adaptive interfaces consistent across the core system, language bindings, plugins, and documentation when the project still uses the older term optimizer.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is NVIDIA/NeMo-Relay's own configuration. It tells Claude Code and Codex how to work on NeMo-Relay 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 NeMo-Relay configures →

About the project

NVIDIA/NeMo-Relay is a runtime and library that gives coding agents and applications shared control over agent execution scopes, policies, plugins, lifecycle events, and observability data. It is for developers who need to inspect or instrument runs from agents such as Codex or Claude Code, or integrate frameworks and export traces and trajectories. The catalogue entries provide Relay plugins, hooks, instructions, skills, and an MCP server for those workflows.

NVIDIA/NeMo-Relay · 196 stars · on GitHub · docs.nvidia.com

Reuse

Borrowing it

Nothing to install: this file belongs to NVIDIA/NeMo-Relay. 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-Relay/main/.agents/skills/maintain-optimizer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/NVIDIA/NeMo-Relay

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 maintain-optimizer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia/nemo-relay/maintain-optimizer"><img src="https://agentmods.dev/badge/skills/nvidia/nemo-relay/maintain-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 464 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.00041 $0.00464
Opus 5.5 $0.00016 $0.00186
Sonnet 5.5 $0.00008 $0.00093
Haiku 4.5 $0.00004 $0.00046

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

Security

Grade A, and why

maintain-optimizer 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.

.agents/skills/maintain-optimizer/SKILL.md · 64 lines

What it actually says

Maintain Adaptive Surfaces

Use this skill when changing adaptive config schema, built-in sections, shared plugin lifecycle, plugin registration, or binding-native helper APIs.

Public Boundary

The stable adaptive boundary is the config document plus the shared plugin lifecycle:

  • Config types and policies
  • Built-in adaptive section helpers
  • Plugin registration and composition
  • Plugin lifecycle
  • Reports and diagnostics

There is no separate public adaptive runtime handle.

See docs/configure-plugins/adaptive/configuration.mdx and docs/configure-plugins/about.mdx.

Keep In Sync

  • crates/adaptive
  • Shared plugin behavior in core and bindings
  • Python adaptive/plugin wrappers in python/nemo_relay/adaptive.py and python/nemo_relay/plugin.py
  • Go adaptive helpers under go/nemo_relay/adaptive plus shared plugin helpers in go/nemo_relay
  • Node.js adaptive helpers and plugin wrappers
  • Docs and examples that show canonical config shapes

Checklist

  • Dynamic config shape still matches the documented canonical model
  • Typed helper constructors still map cleanly to the same config document
  • Plugin lifecycle is consistent across languages
  • Plugin context surfaces remain aligned
  • Validation/report behavior remains documented and tested
  • Any new component kind has docs, examples, and binding coverage

Validation

  • Run adaptive-focused Rust tests
  • Run binding tests for every changed adaptive or plugin surface
  • Update adaptive docs and any examples in the same branch

References

  • docs/configure-plugins/adaptive/configuration.mdx
  • docs/configure-plugins/adaptive/about.mdx
  • docs/configure-plugins/adaptive/acg.mdx
  • docs/configure-plugins/adaptive/adaptive-hints.mdx
  • docs/build-plugins/about.mdx
  • docs/build-plugins/configuration-and-validation.mdx
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 · -9 lines · +10 tokens per session 9eb53849bff6
  2. 1mo ago First seen · 73 lines · 31 tokens per session scan A 2a8491fa503d

Subscribe to this mod's changes

maintain-optimizer is a skill published in the GitHub repository NVIDIA/NeMo-Relay (196 stars, last pushed today), licensed Apache-2.0. It adds 41 tokens to every session and 464 once invoked, about $0.0002 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

Other skills, from other repositories

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

rowboat-spaces

How to work as a member of Rowboat Spaces, the team chat where people and agents work together. Load it once per session, before acting on any request that reaches you from Rowboat; it covers your setup, mentions and hand-offs, the tools, and files.

rowboatlabs/rowboat · 60 tokens

verify-omnigent

Drive Omnigent the way a user does and prove a behavior with recorded evidence, using an isolated server, runner, and mock model plus a feature map of every user entry point. Load before reproducing a user-facing bug, before claiming a fix works, or when reviewing whether a change covered every surface (session vs.…

omnigent-ai/omnigent · 100 tokens

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

haiku

When writing a haiku for this bot, follow these conventions.

agno-agi/agno · 0 tokens

fastapi-router-py

Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.

microsoft/skills · 46 tokens