threejs-bridge

threejs-bridge is a skill for Claude Code, Codex from Generous-Corp/pulp. It costs 36 tokens per session (6,777 once invoked), scanned A, original, MIT.

A development workflow for running Three.js 3D graphics through Pulp's native Dawn-backed bridge. Three.js is a JavaScript library for rendering 3D scenes, while Dawn provides the native WebGPU graphics layer.

In plain words
What is it for?
Use it to build or modify the native demo modes, test the JavaScript-to-native graphics bridge, handle pointer and zoom input, and capture demo screenshots.
Why use it?
It gives the agent a defined path for building and checking native Three.js demos without relying on a browser or WebView. It also sets clear limits on which Three.js features and platform claims are covered.

Skill for Claude CodeCodex

Part of the pulp plugin — 63 skills, 30 commands, 3 hooks, 1 MCP server shipped together

Install

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.

agentmods
npx agentmods add skills/generous-corp/pulp/threejs-bridge
Any agent
npx skills add Generous-Corp/pulp --skill threejs-bridge
Clone the repo
git clone --depth 1 https://github.com/Generous-Corp/pulp

Made for: Claude Code, Codex.

Or install pulp, the plugin that ships this one along with the rest of its 63 skills, 30 commands, 3 hooks, 1 MCP server.

Wrote 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.

agentmods badge for threejs-bridge

README.md
[![agentmods](https://agentmods.dev/badge/skills/generous-corp/pulp/threejs-bridge.svg)](https://agentmods.dev/skills/generous-corp/pulp/threejs-bridge)
Your own site
<a href="https://agentmods.dev/skills/generous-corp/pulp/threejs-bridge"><img src="https://agentmods.dev/badge/skills/generous-corp/pulp/threejs-bridge.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,777 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00036 $0.06777
Opus 5 $0.00018 $0.03388
Sonnet 5 $0.00007 $0.01355
Haiku 4.5 $0.00004 $0.00678

Measured today against content hash 907c329c2339, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

threejs-bridge 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 today.

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.

.agents/skills/threejs-bridge/SKILL.md · 412 lines

How it starts

The opening of the file, as written. The whole thing — 412 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Three.js Bridge

Use this skill when a task involves Pulp's native Three.js bridge or the examples/threejs-native-demo workflow.

Truthful Position

Pulp now supports a native Three.js lane built on:

  • the real MIT three.webgpu.js renderer
  • Pulp's V8-backed JS engine
  • the Dawn-backed native GPUCanvasContext bridge
  • a visible native WindowHost path with no browser or WebView

Supported now:

  • native demo modes in examples/threejs-native-demo/main.cpp
    • cube
    • gltf-box
    • spectrum
    • particles
    • ribbon
    • reverb
  • real THREE.WebGPURenderer initialization
  • native pointer drag, wheel zoom, and trackpad pinch on the demo canvas
  • real OrbitControls addon import/init on the native path
  • focused bridge validation in test/web-compat/test_threejs_bridge.cpp
  • native one-shot screenshot capture via --capture

Not supported by this skill:

  • broad browser compatibility
  • a full DOM implementation
  • claims that all Three.js APIs or addons are already covered
  • cross-platform live-parity claims beyond what the branch has actually proven

Critical Build Requirements

  1. V8 engine required — Three.js needs typed arrays, promises, and full ES module support. Use Pulp's pinned, sealed v8-builder provider; do not use a Homebrew libnode for acceptance. Fetch the matched platform asset once and enable the strict provider gate:
    python3 tools/scripts/fetch_v8_for_release.py darwin-arm64
    cmake -S . -B build -DPULP_JS_ENGINE=v8 \
      -DPULP_VALIDATE_V8_PROVIDER_STRICT=ON \
      -DPULP_ENABLE_GPU=ON -DPULP_BUILD_TESTS=ON
    
    Verify the linked dylib and run the no-skip identity/capture gate before trusting a local Three.js result:
    otool -L build/examples/threejs-native-demo/pulp-threejs-native-demo | grep libv8
    ctest --test-dir build -R '^v8_provider_identity_strict$' --output-on-failure
    
    V8_DIR may select a baked sealed provider. The legacy V8_INCLUDE_DIR, V8_LIB_DIR, and V8_LIBRARY_PATH overrides are for explicit local experimentation only; results from Homebrew libnode are not acceptance evidence because its external ICU/Abseil surface can collide with Skia.

Read the full file on GitHub · 412 lines

Changes

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.

  1. today First seen · 412 lines · 36 tokens per session scan A 907c329c2339

Subscribe to this mod's changes

threejs-bridge is a skill published in the GitHub repository Generous-Corp/pulp (16 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 6,777 once invoked, about $0.0002 per session on Opus 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-09-04.

Related

Other skills, from other repositories

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

unity-addressables

Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).

Besty0728/Unity-Skills · 25 tokens

playtest-report

Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

Donchitos/Claude-Code-Game-Studios · 35 tokens

unity-manual-component

Manually add, configure, reorder, and copy components on GameObjects using Unity Editor UI. For one-off Inspector workflows that do not need REST automation.

Besty0728/Unity-Skills · 36 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

gamedev-skills/awesome-gamedev-agent-skills · 95 tokens