OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add nvidia/skills --skill nemo-relay-instrument-context-isolation
Use this skill when concurrent requests, async tasks, threads, workers, goroutines, or agents need independent NeMo Relay scope stacks and correct ancestry propagation.
npx skills add nvidia/skills --skill nemo-relay-instrument-context-isolation
Use this skill when an application runs concurrent requests, worker pools, async tasks, goroutines, or multiple agents in the same process. Treat scope-stack ownership as part of the request boundary.
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-plugin-observabilitynemo-relay-debug-runtime-integration