nemo-relay-plugin-adaptive-tuning
Skill238 starsChanged 2 months agoApache-2.0View on GitHub
Use this skill when baseline NeMo Relay instrumentation exists and the user wants to configure or evaluate adaptive plugin behavior, including telemetry, state, adaptive_hints, tool_parallelism, ACG, hint consumption, or measured rollout.
1 other project uses a version of this.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- NVIDIA/skillsword for word, first seen Oct 1, 2026
Other versions1 project uses a version of this.
Word for word · 1
- NVIDIA/skills★ 3.9k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- add-binding-featureSkill
- add-middlewareSkill
- check-release-deploymentsSkill
- contribute-docsSkill
- contribute-integrationSkill
- create-beta-tagSkill
- create-rc-tagSkill
- create-release-tagSkill
- draft-release-notesSkill
- maintain-ciSkill
- maintain-dynamic-pluginsSkill
- maintain-observabilitySkill
- maintain-optimizerSkill
- maintain-packagingSkill
- prepare-code-freezeSkill
- prepare-prSkill
- rename-surfacesSkill
- review-doc-styleSkill
- update-project-versionSkill
- nemo-relay-debug-runtime-integrationSkill
- nemo-relay-get-startedSkill
- nemo-relay-installSkill
- nemo-relay-instrument-callsSkill
- nemo-relay-instrument-context-isolationSkill
- nemo-relay-instrument-typed-wrappersSkill
- nemo-relay-integrate-upstreamSkill
- nemo-relay-migrate-from-flowSkill
- nemo-relay-plugin-buildSkill
- nemo-relay-plugin-observabilitySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 16 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this skill when a user has baseline NeMo Relay instrumentation and wants to improve latency, parallelism, prompt-cache behavior, or …
- Distinctive: line 16
Keep adaptive behavior measured against a known baseline.
- Very specific: line 20
Do not use this skill when the application is not instrumented yet.
- Distinctive: line 27
Use the adaptive plugin component rather than inventing separate tuning logic or hand-registering adaptive behavior at every call site.
- Distinctive: line 29
Start with in-memory state and telemetry-only behavior for local development.
- Distinctive: line 32
Add active behavior only after representative runtime events show what should change.
- Distinctive: line 54
Use this rollout sequence:
- Very specific: line 61
Read references/config.md when exact plugin configuration fields are needed.
- Distinctive: line 62
Run representative traffic and inspect reports or runtime events.
- Distinctive: line 63
If configuration validation fails or expected events are absent, return the diagnostics and stop.
- Distinctive: line 65
Before enabling scheduling, verify tool idempotency and race behavior.
- Very specific: line 68
Read references/hints.md when application logic consumes adaptive hints, tool-parallelism guidance, or ACG diagnostics.
- Distinctive: line 76
Do not enable scheduling before tool idempotency and race behavior are known.
- Distinctive: line 77
Do not enable prompt-cache planning before provider payloads are stable.
- Distinctive: line 78
Do not treat adaptive hints as mandatory instructions unless the consuming path explicitly defines that contract.
- Distinctive: line 80
Do not use environment variables as the primary adaptive configuration model.
- Distinctive: line 81
Do not tune from a single run or unrepresentative traffic.
- Distinctive: line 82
Do not suppress or replace original tool and model errors.
- Distinctive: line 83
Do not add retries until the call owner defines their safety.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tune Adaptive Plugin Behavior
Use This When
Use this skill when a user has baseline NeMo Relay instrumentation and wants to improve latency, parallelism, prompt-cache behavior, or model-request behavior from runtime signals. Keep adaptive behavior measured against a known baseline.
Do Not Use This When
Do not use this skill when the application is not instrumented yet. Start with
nemo-relay-instrument-calls or nemo-relay-get-started first.
Default Guidance
- Observe first, compare against a baseline, then enable one behavior change at a time.
- Use the adaptive plugin component rather than inventing separate tuning logic or hand-registering adaptive behavior at every call site.
- Start with in-memory state and telemetry-only behavior for local development.
- Move to persistent state only when learned signals must survive restarts or be shared across workers.
- Add active behavior only after representative runtime events show what should change.
Embedded Adaptive Model
- Adaptive behavior is configured through the first-party plugin component with
kind
adaptive. - Adaptive requires existing NeMo Relay scopes and at least one relevant managed tool or LLM lifecycle event stream because it learns from runtime signals.
- Main configuration areas are state, telemetry, adaptive hints, tool parallelism, Adaptive Cache Governor (ACG), and rollout policy.
- State backends are
in_memoryandredis. - Tool-parallelism modes are
observe_only,inject_hints, andschedule. - Adaptive Cache Governor providers are
passthrough,anthropic, andopenai; omit ACG until prompt-cache planning is needed. - Helper APIs exist in Rust
nemo_relay_adaptive, Pythonnemo_relay.adaptive, and Node.jsnemo-relay-node/adaptive. Go and raw FFI are source-first or advanced surfaces.
Default Path
Use this rollout sequence:
- Confirm the app emits scope events and the managed tool or LLM events needed for the behavior being evaluated. Do not require both call types when the workflow uses only one.
- Capture a baseline for the workflow you want to improve.
- Enable adaptive telemetry with in-memory state.
- Read
references/config.mdwhen exact plugin configuration fields are needed. - Run representative traffic and inspect reports or runtime events.
- If configuration validation fails or expected events are absent, return the diagnostics and stop. Keep the last known working configuration active.
- Before enabling scheduling, verify tool idempotency and race behavior. Before enabling ACG, verify that provider request payloads are stable.
- Enable the smallest behavior change in config.
- Read
references/hints.mdwhen application logic consumes adaptive hints, tool-parallelism guidance, or ACG diagnostics. - Compare results against the baseline. If latency, correctness, or failure rate regresses, restore the last known working configuration and retain the sanitized diagnostics for review.
Failure Modes To Avoid
- Do not enable scheduling before tool idempotency and race behavior are known.
- Do not enable prompt-cache planning before provider payloads are stable.
- Do not treat adaptive hints as mandatory instructions unless the consuming path explicitly defines that contract.
- Do not use environment variables as the primary adaptive configuration model.
- Do not tune from a single run or unrepresentative traffic.
- Do not suppress or replace original tool and model errors.
- Do not add retries until the call owner defines their safety.
- Revert adaptive behavior when it increases the failure rate.
Load A Reference When
- You need the exact adaptive config shape ->
references/config.md - You need to consume adaptive hints or scheduling guidance in app logic ->
references/hints.md
Use Another Skill When
- You need to build reusable plugin behavior instead of configuring the built-in
adaptive component ->
nemo-relay-plugin-build
Related Skills
nemo-relay-get-startednemo-relay-instrument-callsnemo-relay-plugin-observabilitynemo-relay-plugin-build
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

