Use this skill when concurrent requests, async tasks, threads, workers, goroutines, or agents need independent NeMo Relay scope stacks and correct ancestry propagation.
60
70%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/nemo-relay-instrument-context-isolation/SKILL.mdUse 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-integration17d96f1
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.