一键导入
nemo-relay-use-context-isolation
Set up and reason about NeMo Relay scope-stack isolation for concurrent application work
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Set up and reason about NeMo Relay scope-stack isolation for concurrent application work
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compare NeMo Relay release branches and draft or update the documentation-site release notes. Use when preparing a release-notes update under docs/about-nemo-relay/release-notes, reviewing release-to-release changes, or gathering evidence for a current release summary.
Contribute documentation or example changes that stay aligned with NeMo Relay public behavior
Build and package reusable NeMo Relay runtime behavior as a config-activated plugin with validation and rollback-safe registration
Add or change a public NeMo Relay API surface across the core runtime and every affected binding
Maintain or extend NeMo Relay observability surfaces across ATIF, OpenTelemetry, and OpenInference
Maintain or extend the NeMo Relay adaptive surface across config, plugins, docs, and bindings; use this when users still say optimizer
| name | nemo-relay-use-context-isolation |
| description | Set up and reason about NeMo Relay scope-stack isolation for concurrent application work |
| author | NVIDIA Corporation and Affiliates |
| license | Apache-2.0 |
Use this skill when an application runs concurrent requests, worker pools, async tasks, goroutines, or multiple agents in the same process.
Each independent request, agent, or workflow needs its own scope stack. Do not share one mutable stack across unrelated concurrent work unless you want shared ancestry and shared scope-local middleware.
Agent, Function, Tool, Llm,
Retriever, Embedder, Reranker, Guardrail, Evaluator, Custom, and
Unknown.input and output payloads
when the scope represents a request, task, or meaningful result boundary.get_scope_stack() and
contextvars, or explicitly propagate when work leaves the current execution
contextcreate_scope_stack(),
current_scope_stack(), and set_thread_scope_stack(...) when an integration
needs explicit stack ownershipNewScopeStack() and ScopeStack.Run(...) for goroutine-safe
usagecreateScopeStack() and setThreadScopeStack(...)nemo-relay-instrument-callsnemo-relay-setup-observabilitynemo-relay-debug-runtime-integration