nemo-relay-instrument-calls
Screenshots
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-instrument-calls" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b7bb17acf5f074013f67aae1131f64fe18be0a3439c3bc142bbeefad4901e6a5. Verify the upstream source and version against https://github.com/nvidia/skills 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
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use this skill when an application needs to wrap tool or LLM/provider call sites in NeMo Relay scopes and manage execution via the execution API to handle lifecycle events, middleware, or protective measures.
Introduction source: third_party · nvidia · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Use this skill when an application owns tool or LLM/provider call sites and needs to wrap them with NeMo Relay scopes and managed execution APIs for lifecycle events, middleware, or guardrails.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
A verified file list is not available on Skillπ yet.
Browse files at the source ↗Frontmatter
name: nemo-relay-instrument-calls
description: Use this skill when an application owns tool or LLM/provider call sites and needs to wrap them with NeMo Relay scopes and managed execution APIs for lifecycle events, middleware, or guardrails.
license: Apache-2.0
metadata:
author: NVIDIA Corporation and AffiliatesInstrument Tool And LLM Calls
Use this skill when an app already has tool functions or model/provider calls and needs to run them through NeMo Relay correctly. Keep the original callable behavior stable while adding Relay lifecycle capture.
Default Guidance
- Put a scope around the natural agent, request, workflow, or graph boundary.
- Use managed execution APIs first:
- Rust:
tool_call_execute(ToolCallExecuteParams::builder()...),llm_call_execute(LlmCallExecuteParams::builder()...) - Python:
tools.execute(...),llm.execute(...) - Node.js:
toolCallExecute(...),llmCallExecute(...) - Go:
tools.Execute(...),llm.Execute(...)or the top-level wrappers
- Rust:
- Use manual lifecycle APIs only when the host framework cannot be wrapped by the managed execute helpers.
Embedded Runtime Semantics
- Managed tool and LLM execution runs conditional-execution guardrails first on the raw input. If rejected, the runtime emits a standalone mark event and does not run request intercepts or the callable.
- Request intercepts run after conditional guardrails and rewrite the real input that reaches execution intercepts and the callback.
- Sanitize-request guardrails affect emitted start-event payloads only. They do not rewrite the caller-visible request or arguments.
- Execution intercepts wrap the callback with the middleware
nextpattern and may short-circuit by returning their own result. - Sanitize-response guardrails affect emitted end-event payloads only. The value returned to application code remains the raw callback or execution-intercept result.
- If execution fails after the start event has been emitted, the runtime still emits an end event without a semantic output payload.
- Tool calls are named operations with JSON-compatible arguments and results. Keep the original tool callable responsible for business logic; let NeMo Relay own lifecycle events, middleware, and metadata.
- LLM calls use an
LLMRequestmade of metadata plus content. Pass model names and stable call identifiers when they matter for trace export or diagnostics. - Manual lifecycle APIs are for framework adapters that already own execution. If you use them, every start call needs a matching end or error path with the relevant semantic payloads supplied explicitly.
- Partial middleware APIs such as
request_intercepts(...)andconditional_execution(...)are for advanced adapters that need one middleware family before calling a provider manually. - Streaming LLM wrappers collect chunks and finalize a response at stream end; dropping the stream early can prevent finalizers and subscribers from seeing a complete output.
Checklist
- [ ] Scope boundary chosen before the first tool or LLM call
- [ ] Existing tool function wrapped without losing its original arguments/result
- [ ] Existing LLM/provider call wrapped at the right abstraction layer
- [ ] Optional metadata, attributes, or model name attached where useful
- [ ] Context propagation handled if the call hops threads or async tasks
Use Another Skill When
Choose another skill when the task requires a neighboring workflow:
- Use
nemo-relay-plugin-observabilityfor traces, ATIF, or export setup. - Use
nemo-relay-debug-runtime-integrationto debug missing events or load failures. - Use
nemo-relay-instrument-context-isolationfor per-request isolation or worker-pool guidance. - Use
nemo-relay-plugin-buildfor reusable, configuration-activated runtime behavior.
Related Skills
Use these skills for adjacent workflows:
- Start onboarding with
nemo-relay-get-started. - Add typed wrappers with
nemo-relay-instrument-typed-wrappers. - Configure export with
nemo-relay-plugin-observability. - Package reusable behavior with
nemo-relay-plugin-build.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对已有工具或 LLM 调用需要接入 NeMo Relay 生命周期管理的开发者,场景明确,实用价值高。
Highlights
- description 明确描述了使用场景,触发词精准,覆盖多种语言 SDK,边界清晰。
Highlights
- 文档结构清晰,包含多个实用章节,步骤明确,有出口条件和多语言 API 示例,frontmatter 完整。
Highlights
- 工具来源明确,参数正确,覆盖了主要异常和边界情况,不可逆操作有确认机制。
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.
Not specified in the source documentation.
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.