nemo-relay-debug-runti…
Use this skill when NeMo Relay is installed or imported but application-side runtime behavior is missing or incorrect, including…
Use this skill when building or packaging reusable NeMo Relay runtime behavior as an embedded configuration component or a manifest-backed `rust_dynamic` native or `worker` gRPC plugin, with deterministic validation and rollback-safe registration.
$ npx -y skills add NVIDIA/NeMo-Relay --skill nemo-relay-plugin-build --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nemo-relay-plugin-buildContext preview
The summary Claude sees to decide when to auto-load this skill.
Use this skill when building or packaging reusable NeMo Relay runtime behavior as an embedded configuration component or a manifest-backed `rust_dynamic` native or `worker` gRPC plugin, with deterministic validation and rollback-safe registration.
name: nemo-relay-plugin-build description: Use this skill when building or packaging reusable NeMo Relay runtime behavior as an embedded configuration component or a manifest-backed `rust_dynamic` native or `worker` gRPC plugin, with deterministic validation and rollback-safe registration. license: Apache-2.0 metadata: author: NVIDIA Corporation and Affiliates
Use this skill when a user wants to package reusable NeMo Relay runtime behavior behind plugin configuration. Keep reusable plugin behavior separate from one-off application startup code.
Use this skill when the behavior should be activated by shared config and reused across applications, teams, or process startup paths.
Common cases:
runtime behavior.
plugin config rather than repeated application startup code.
Do not build a plugin when a narrower NeMo Relay surface is enough:
`nemo-relay-instrument-calls`.
`nemo-relay-plugin-observability`.
credentials, or framework objects inside config.
Choose the delivery model before designing config or registration:
with the Relay host application. Follow the embedded component model below.
plugin ships independently of the host. Use `rust_dynamic` for a trusted in-process native Rust library, or `worker` for a local `grpc-v1` worker. Read the public native dynamic-plugin or gRPC worker guide before designing the package boundary. Do not reproduce native ABI or worker-protocol details from memory.
Native plugins are trusted C-ABI extensions that run in the Relay process and are not sandboxed. Worker plugins provide process isolation, not a security sandbox.
from a shared plugin document.
tests, and deployment systems.
returns structured diagnostics before runtime behavior changes.
`PluginContext`, such as subscribers, guardrails, request intercepts, execution intercepts, or stream execution intercepts.
names and roll back partial setup when activation fails.
config problems before rollout.
1. Decide whether a plugin is actually needed. Prefer direct instrumentation or scope-local behavior when the use case is not reusable process-level behavior. 2. Choose an embedded component or a discoverable dynamic package. For a dynamic package, establish the manifest-backed native or worker boundary before implementing behavior. 3. For native dynamic plugins, determine the target Relay version from the package constraint, lockfile, or deployment target before choosing callback APIs. 4. Pick one first runtime surface: subscriber-oriented export, sanitize guardrail, conditional guardrail, request intercept, execution intercept, or stream execution intercept. 5. Choose a stable plugin `kind` and the smallest JSON-compatible config shape. 6. Define diagnostics for missing fields, unsupported values, unknown fields, unsafe config, and invalid field combinations. 7. Validate config before initialization. Validation must not open network connections, create clients, register middleware, or mutate process state. 8. If validation returns error diagnostics, return them and stop without initialization or registration. 9. Register runtime behavior through `PluginContext`, not by hand-registering global behavior inside application startup. 10. Test activation, disabled components, validation failures, and registration failure rollback. 11. Document how to enable the plugin, what config fields are supported, and how to roll back the component. 12. For a dynamic plugin that should provide structured fields in `nemo-relay plugins edit`, declare the `config_schema` capability and reference a local Draft 7 or Draft 2020-12 JSON Schema file from `[config_schema].path` in `relay-plugin.toml`. Schema-less plugins remain editable as raw JSON objects.
The top-level plugin document contains `version`, `components`, and `policy`. Each component supplies the plugin `kind`, `enabled`, and component-local `config`:
{
"version": 1,
"components": [
{
"kind": "redaction-policy",
"enabled": true,
"config": {
"preset": "strict"
}
}
],
"policy": {
"unknown_component": "warn",
"unknown_field": "warn",
"unsupported_value": "error"
}
}Keep business logic in plugin code, not in config. Use references to secrets or endpoints rather than embedding sensitive values.
Use the same canonical `snake_case` config keys across b
NVIDIA NeMo Relay provides visibility into and control over agent runs without requiring changes to the existing agent stack.
Use this skill when NeMo Relay is installed or imported but application-side runtime behavior is missing or incorrect, including…
Use this skill when first-time NeMo Relay users want to try Relay, choose the least-complex supported quick start, or verify…
Use this skill when choosing or running NeMo Relay installation for the CLI, Python, Node.js, Rust, OpenClaw, or maintained…
Use this skill when an application owns tool or LLM/provider call sites and needs to wrap them with NeMo Relay scopes and managed…
Use this skill when concurrent requests, async tasks, threads, workers, goroutines, or agents need independent NeMo Relay scope…
Use this skill when adding NeMo Relay typed wrappers, domain types, or provider codecs while preserving JSON middleware semantics…