Index of every page on this site: llms.txt
All skills
Run it yourself

Build, debug, test, and optimize WebGPU projects using vgpu, its CLI, or @vgpu packages. Use for vgpu API questions, WGSL workflows, browser or Node rendering, integrations, testing, performance work, and Blender asset modeling, baking, and runtime integration.

Recorded with Codex, gpt-6.1-sol, medium effort

Prompt

Build a small interactive WebGPU toy called Prism Pond with vgpu: a glowing field of floating geometric islands, a camera you can orbit, and clickable islands that send coloured ripples across the pond. Use the installed vgpu package docs to implement it. Don't ask questions. Make the design calls yourself. Bundle the final output into one scene.html with all CSS and JavaScript inline. Include a clear WebGPU-unavailable message.

Desktop screenshot of the page the Agent built for: Build a small interactive WebGPU toy called Prism Pond with vgpu: a glowing field of floating geometric islands, a camer
Phone screenshot of the page the Agent built for: Build a small interactive WebGPU toy called Prism Pond with vgpu: a glowing field of floating geometric islands, a camer

Recorded on an older version of this Skill.

Use this Skill: https://skilld.dev/gh/vercel-labs/vgpu/vgpu

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈67 tokens for metadata: the name and description. ≈1.1k when used: this file. ≈23k more on demand in 10 files.

Description uses 3.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈268 characters, or 3.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

vgpu

Treat the documentation bundled with the target project's installed vgpu package as the authority for that project. This skill is intentionally version-neutral: do not infer API shapes from the skill's Git revision, remembered APIs, the repository default branch, hosted docs, or a hosted MCP server when local package docs are available.

The public skill install command has no branch pin:

npx skills add vercel-labs/vgpu

3D scenes

If you need to work with 3D scenes, read Scene composition before implementing scene hierarchies, transforms, instances, cameras, or animation and physics integration.

Blender assets

For Blender modeling, high/low-poly workflows, normal or ambient occlusion baking, LODs, and asset validation, read Blender assets. That guide links to focused references for shape and assembly or baking diagnostics; load them when the task needs them. Its authoring guidance is independent of the vgpu version. For runtime API work, use the package docs below.

Select the package version

Run the project-local vgpu executable from the workspace that owns the dependency. First check the relevant package manifest and lockfile, then confirm which local CLI you resolved without allowing the package manager to download a missing command:

pnpm exec vgpu --version
npm exec --no -- vgpu --version

Use a local-only equivalent for other package managers, such as yarn exec vgpu --version or an already resolved node_modules/.bin/vgpu. Commands such as bare npx vgpu or bunx vgpu may download a missing package, so do not use them for local version discovery. npm's --offline is also insufficient because it can install a missing package from cache. Do not replace an installed version merely to read newer documentation.

If a package manifest or lockfile selects vgpu but the local binary is unavailable, treat the dependency tree as incomplete rather than unversioned. Restore the project's locked dependencies when installation is within scope. For read-only access, the exact selected version can be invoked explicitly instead:

npx -y vgpu@<selected-version> docs cat getting-started.md

Do not substitute @latest for a selected stable, RC, or other prerelease. Only when neither the project nor the user has selected a vgpu version, default to the explicit stable tag:

npx -y vgpu@latest docs cat getting-started.md

When adding a previously unselected dependency is part of the requested work, install vgpu@latest with the project's package manager. Use vgpu@next, an RC, or any other prerelease only when the user or the existing project explicitly selected that prerelease; preserve an exact requested version.

Route through the bundled docs

Ask the resolved local CLI what documentation its version supports, then load only the pages needed for the task:

pnpm exec vgpu docs --help
pnpm exec vgpu docs ls
pnpm exec vgpu docs cat getting-started.md
pnpm exec vgpu docs find "<topic, symbol, or error code>"
pnpm exec vgpu docs grep -i "<term>"
pnpm exec vgpu docs cat "<path or symbol>"

Adapt pnpm exec to a no-install command for the project's package manager, but keep using its local binary; with npm, retain npm exec --no -- vgpu for every docs command. Start with getting started for unfamiliar projects, use find for task or symbol discovery, use grep for details mentioned inside pages, and cat every relevant guide and API page before changing code. Let docs --help from that installed version define the available commands.

When upgrading a project, record its previous version before changing dependencies. After selecting the authorized target version, run docs ls /migrations through that version's local CLI and read the intervening version guides in order. Each guide identifies affected usage and verification steps; skip changes already applied, including when moving between RCs of the same release. Older packages may not bundle migration guides: report that absence and consult the exact release's notes instead of silently substituting the current hosted docs.

For MCP-based lookup, start vgpu mcp through the same project-local executable so it serves the same bundled corpus. A hosted MCP server is a convenience for current stable documentation, not the authority for a project pinned to another version.

If the installed docs do not contain a proposed API or workflow, do not invent it or silently switch versions. Report the mismatch and change versions only when the user's task authorizes it.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts22d3 checks · Risk SAFE
  • Gen Agent Trust Hub22d

    This skill includes security considerations such as the execution of local command-line tools and the processing of project-local documentation. While these are necessary for its intended use in WebGPU development, they depend on the integrity of the project's local environment. See the detailed analysis for further context.

  • Socket22d

    No alerts

  • Snyk22d

    Risk: LOW · No issues

Signed by skilld at 773351f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated last month

README badge

README badge for vercel-labs/vgpu/vgpu