CloudXR.js is a JavaScript client SDK and sample applications for displaying streamed virtual- and augmented-reality content from CloudXR servers in web browsers on XR devices. Developers use it to build browser clients while a GPU-equipped server renders the spatial scene and receives head and hand tracking data. The catalogue entries cover the sample clients and guidance for working with the SDK.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add NVIDIA/cloudxr-js-samples --skill cloudxr-js-samplesgit clone --depth 1 https://github.com/NVIDIA/cloudxr-js-samplesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nvidia/cloudxr-js-samples/cloudxr-js-samples)<a href="https://agentmods.dev/skills/nvidia/cloudxr-js-samples/cloudxr-js-samples"><img src="https://agentmods.dev/badge/skills/nvidia/cloudxr-js-samples/cloudxr-js-samples/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nvidia/cloudxr-js-samples/cloudxr-js-samples"><img src="https://agentmods.dev/badge/skills/nvidia/cloudxr-js-samples/cloudxr-js-samples.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.02849 |
| Opus 5.5 | $0.00021 | $0.01140 |
| Sonnet 5.5 | $0.00010 | $0.00570 |
| Haiku 4.5 | $0.00005 | $0.00285 |
Grade A, and why
cloudxr-js-sdk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 252 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NVIDIA CloudXR.js SDK
Applies to: AI coding assistants helping users build WebXR apps with
@nvidia/cloudxr. This is the lean coding-focused quick reference. Read this when: Scaffolding a new client, generating minimal integration code, or wiring up basic Session lifecycle. For detailed types, see agent-api-reference.md.
CloudXR.js streams XR content from a GPU server to a web browser. The server renders; the client displays video and sends back head/hand tracking. Think "Netflix for VR."
Quick Start
Install
From NGC tarball:
npm install nvidia-cloudxr-<version>.tgz
Peer dependencies (app must provide): gl-matrix, long.
Minimal Integration (5 steps)
import { createSession, SessionState } from '@nvidia/cloudxr';
// 1. Get WebXR session + WebGL context
const xrSession = await navigator.xr.requestSession('immersive-vr', {
optionalFeatures: ['local-floor'],
});
const gl = xrSession.renderState.baseLayer.context;
const referenceSpace = await xrSession.requestReferenceSpace('local-floor');
// 2. Create CloudXR session
const session = createSession(
{
serverAddress: '192.168.1.100',
serverPort: 49100,
useSecureConnection: false,
gl,
perEyeWidth: 2048,
perEyeHeight: 1792,
referenceSpace,
},
{
onStreamStarted: () => console.log('Streaming'),
onStreamStopped: err => err && console.error(err.message),
}
);
// 3. Connect
session.connect();
// 4. Render loop
function onFrame(time, frame) {
session.sendTrackingStateToServer(time, frame);
session.render(time, frame, xrSession.renderState.baseLayer);
xrSession.requestAnimationFrame(onFrame);
}
xrSession.requestAnimationFrame(onFrame);
// 5. Disconnect when done
session.disconnect();
Core API
| Export | Purpose |
|---|---|
createSession(options, delegates?) |
Create a session. Returns Session. |
Session |
Interface: state, connect(), disconnect(), sendTrackingStateToServer(), render(), availableMessageChannels |
SessionOptions |
Config: server address/port, WebGL context, resolution, codec, bitrate, ICE servers, etc. |
SessionDelegates |
Callbacks: onStreamStarted, onStreamStopped, onWebGLStateChangeBegin/End, onMetrics, onLog |
SessionState |
Enum: Initialized → Connecting → Connected → Disconnecting → Disconnected → Error |
MessageChannel |
Binary data channel for custom app messages (preferred over deprecated sendServerMessage) |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 18d ago Changed · +15 lines 5a3a17b09d29
- 2mo ago First seen · 237 lines · 52 tokens per session scan A bb5f8d8d2fdb
cloudxr-js-sdk is a skill published in the GitHub repository NVIDIA/cloudxr-js-samples (25 stars, last pushed 18d ago), licensed Apache-2.0. It adds 52 tokens to every session and 2,849 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
component-fixtures
Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.