nemo-relay-plugin-build
БесплатноБез исполняемых скриптовНе проверенUse this skill when building or packaging reusable NeMo Relay runtime behavior as an embedded configuration component or a manifest-backed `rust_dynamic`…
от NVIDIA★ 4 269 звёзд на GitHubОб этом скилле
Build a Plugin
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 When
Use this skill when the behavior should be activated by shared config and reused across applications, teams, or process startup paths.
Common cases:
- Register subscribers, guardrails, intercepts, or a small bundle of related runtime behavior.
- Validate operator-supplied config before changing runtime behavior.
- Give reusable behavior a stable plugin
kindand activation lifecycle. - Package behavior that should be enabled, disabled, or rolled out through plugin config rather than repeated application startup code.
Do Not Use This When
Do not build a plugin when a narrower NeMo Relay surface is enough:
- One request or tenant needs temporary behavior -> use scope-local middleware.
- The user only needs first-time scopes, tool calls, or LLM calls ->
nemo-relay-instrument-calls. - The user only needs to choose an exporter path ->
nemo-relay-plugin-observability. - The behavior depends on live callables, provider clients, file handles, credentials, or framework objects inside config.
Choose A Delivery Model
Choose the delivery model before designing config or registration:
- Embedded component: Use the shared plugin document when behavior ships with the Relay host application. Follow the embedded component model below.
- Discoverable dynamic package: Use a
relay-plugin.tomlmanifest when the plugin ships independently of the host. Userust_dynamicfor a trusted in-process native Rust library, orworkerfor a localgrpc-v1worker. 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.
Embedded Component Model
- Plugins package reusable process-level behavior.
- A plugin exposes a stable
kindstring and receives component-local config from a shared plugin document. - Plugin config must be JSON-compatible across Rust, Python, Node.js, files, tests, and deployment systems.
- Validation is deterministic and side-effect free. It inspects config and returns structured diagnostics before runtime behavior changes.
- Registration runs after validation and installs real behavior through
PluginContext, such as subscribers, guardrails, request intercepts, execution intercepts, or stream execution intercepts. PluginContextgives the plugin system enough ownership to qualify runtime names and roll back partial setup when activation fails.- Disabled components should still validate when possible so operators can find config problems before rollout.
Default Path
- Decide whether a plugin is actually needed. Prefer direct instrumentation or scope-local behavior when the use case is not reusable process-level behavior.
- Choose an embedded component or a discoverable dynamic package. For a dynamic package, establish the manifest-backed native or worker boundary before implementing behavior.
- For native dynamic plugins, determine the target Relay version from the package constraint, lockfile, or deployment target before choosing callback APIs.
- Pick one first runtime surface: subscriber-oriented export, sanitize guardrail, conditional guardrail, request intercept, execution intercept, or stream execution intercept.
- Choose a stable plugin
kindand the smallest JSON-compatible config shape. - Define diagnostics for missing fields, unsupported values, unknown fields, unsafe config, and invalid field combinations.
- Validate config before initialization. Validation must not open network connections, create clients, register middleware, or mutate process state.
- If validation returns error diagnostics, return them and stop without initialization or registration.
- Register runtime behavior through
PluginContext, not by hand-registering global behavior inside application startup. - Test activation, disabled components, validation failures, and registration failure rollback.
- Document how to enable the plugin, what config fields are supported, and how to roll back the component.
- For a dynamic plugin that should provide structured fields in
nemo-relay plugins edit, declare theconfig_schemacapability and reference a local Draft 7 or Draft 2020-12 JSON Schema file from[config_schema].pathinrelay-plugin.toml. Schema-less plugins remain editable as raw JSON objects.
Config Shape
The top-level plugin document contains version, components, and policy.
Each component supplies the plugin kind, enabled, and component-local
config:
{
"version": 1,
Установить nemo-relay-plugin-build в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл nemo-relay-plugin-build?
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.
Как установить скилл nemo-relay-plugin-build?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nemo-relay-plugin-build запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic