nemo-relay-plugin-adaptive-tuning
Installation
Review the source and dependencies with a prompt.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "nemo-relay-plugin-adaptive-tuning" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8e4bb31799a098d6f5416124970859007da170d0ee2fdf17513303253e760317. Verify the upstream source and version against https://skills.sh/nvidia/skills/nemo-relay-plugin-adaptive-tuning before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Download permission for this version is unverified or restricted.
Source and setup
skills.sh
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
NeMo Relay adaptive plugin tuning: use this skill when a baseline NeMo Relay is present and the user wants to configure or evaluate adaptive plugin behavior, including telemetry, state, adaptive_hints, tool parallelism, ACG, prompt consumption, or measurement publishing.
Introduction source: third_party · nvidia · 1.0.0 Reference
SkillPi interpretation
- Tasks
- 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.
- Testing
- Not tested
Browse files
A verified file list is not available on Skillπ yet.
Browse files at the source ↗Frontmatter
name: nemo-relay-plugin-adaptive-tuning
description: 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.
license: Apache-2.0
metadata:
author: NVIDIA Corporation and AffiliatesTune 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
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对 NeMo Relay 用户的高级自适应调优场景,解决运行时行为配置的实际工程痛点
- 功能闭环完整,提供从基线捕获到行为变更再到回归验证的完整路径
Areas to improve
-
触发词边缘场景覆盖不全 Reported severity: Minor
未明确覆盖“部分 instrumented”或“混合调用类型”等边缘场景
Recommendation: 在 Do Not Use 或 Use This When 中补充对部分 instrumented 场景的说明
Highlights
- 触发条件清晰限定于已存在基线检测的场景,边界明确
- 覆盖 telemetry、state、adaptive_hints 等核心子能力
Areas to improve
-
缺少具体配置代码示例 Reported severity: Minor
Default Path 和 Embedded Adaptive Model 中提及配置但未提供具体 YAML/JSON 示例
Recommendation: 在 references/config.md 或主文档中添加典型配置片段
Highlights
- 结构完整,包含 Use/Do Not Use/Guidance/Path/Failure Modes/Reference 等标准章节
- Default Path 提供10步清晰执行流程,含出口条件和回滚机制
Areas to improve
-
Redis 状态同步异常未处理 Reported severity: Minor
使用 redis 状态后端时,网络分区或 worker 间状态不一致场景未覆盖
Recommendation: 在 Failure Modes 中补充 Redis 状态同步异常的处理建议
Highlights
- 覆盖主要异常场景:配置验证失败、事件缺失、性能回归
- 对不可逆操作(调度、ACG)设置前置验证和确认机制
- 提供配置回滚和诊断保留策略
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
risk · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.