3d-web-experience

3d-web-experience is a skill for Claude Code, Codex from hoangatg/ai-agent-toolkit. It costs 44 tokens per session (711 once invoked), scanned A, original, MIT.

A set of instructions and examples for building interactive 3D websites with Three.js, React Three Fiber, WebGL, and related tools. WebGL is the browser technology used to render 3D graphics.

In plain words
What is it for?
Creating 3D visualisations, product configurators, immersive pages, and interactive browser-based 3D content.
Why use it?
It helps choose a suitable 3D technology and organise scenes, models, lighting, controls, effects, physics, and performance work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating 3D visualisations, product configurators, immersive pages, and interactive browser-based 3D content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hoangatg/ai-agent-toolkit/3d-web-experience
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.

Any agent
npx skills add hoangatg/ai-agent-toolkit --skill 3d-web-experience
Clone the repo
git clone --depth 1 https://github.com/hoangatg/ai-agent-toolkit

Made for: Claude Code, Codex.

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 3d-web-experience

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/3d-web-experience/github.svg)](https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/3d-web-experience)
Your own site
<a href="https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/3d-web-experience"><img src="https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/3d-web-experience/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.

agentmods 80×15 button for 3d-web-experience

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/3d-web-experience"><img src="https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/3d-web-experience.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 711 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00044 $0.00711
Opus 5 $0.00022 $0.00356
Sonnet 5 $0.00009 $0.00142
Haiku 4.5 $0.00004 $0.00071

Measured 8d ago against content hash 1cb5601148ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

3d-web-experience 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 8d 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.

.agent/skills/3d-web-experience/SKILL.md · 109 lines

How it starts

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

3D Web Experience

Make the web dimensional. Create experiences, not just pages.


1. Technology Selection

Technology Best For
Three.js Full control, vanilla JS
React Three Fiber React ecosystem, declarative
Babylon.js Game-like experiences
A-Frame Quick prototypes, VR/AR
Spline Design-first, no-code

2. React Three Fiber Architecture

Component Structure

<Canvas>
  <Scene>
    <Lighting />
    <Camera />
    <Models />
    <Effects />
  </Scene>
</Canvas>

Key Libraries

Library Purpose
@react-three/fiber React renderer for Three.js
@react-three/drei Helpers, controls, abstractions
@react-three/postprocessing Visual effects
@react-three/rapier Physics engine
leva Debug controls/GUI

3. Performance Optimization

Technique Impact
Instancing Render 1000s of same geometry
LOD (Level of Detail) Reduce geometry at distance
Texture compression KTX2, basis textures
Frustum culling Only render visible objects
Object pooling Reuse instead of create/destroy
Web Workers Offload heavy computation

Performance Budget

Metric Target
Draw calls < 100
Triangles < 500K (mobile), < 2M (desktop)
Texture memory < 100MB
Frame rate 60fps (desktop), 30fps (mobile)

4. 3D Asset Pipeline

Format Use Case
glTF/GLB Standard, web-optimized
DRACO Compressed geometry
KTX2 Compressed textures
HDR/EXR Environment maps

5. Common Use Cases

Use Case Key Techniques
Product configurator Materials, camera, interaction
Data visualization Instancing, animation
Portfolio/landing Scroll-driven animation
Game Physics, collision, state
AR/VR WebXR, spatial interaction

Read the full file on GitHub · 109 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. 8d ago First seen · 109 lines · 44 tokens per session scan A 1cb5601148ee

Subscribe to this mod's changes

3d-web-experience is a skill published in the GitHub repository hoangatg/ai-agent-toolkit (1 stars, last pushed 5mo ago), licensed MIT. It adds 44 tokens to every session and 711 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-08-31.

Related

Other skills, from other repositories