Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Web 3d

ASecurity

Live 3D for the web — Spline embeds (@splinetool/runtime), three.js / React Three Fiber / Threlte, Theatre.js sequencing, 3D icons, PeachWeb, and the performance laws that keep 3D premium. Load for ANY 3D request — 3D hero, 3D icons, product viewer, WebGL, Spline scene, scroll-driven 3D.

2 stars
0 votes
0 copies
0 views
Added 9/22/2026
ai-agentsgoreactnextjsawsdebuggingapiperformance

Works with

cliapimcp

Security Analysis

A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add INERATE/atelier --skill web-3d --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Web 3d?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Web 3d
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/inerate-web-3d/badge)](https://www.skillsdirectory.com/skills/inerate-web-3d)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: web-3d
description: Live 3D for the web — Spline embeds (@splinetool/runtime), three.js / React Three Fiber / Threlte, Theatre.js sequencing, 3D icons, PeachWeb, and the performance laws that keep 3D premium. Load for ANY 3D request — 3D hero, 3D icons, product viewer, WebGL, Spline scene, scroll-driven 3D.
---

# Web 3D

## The gate — design-law still rules

Live 3D is a HERO MOMENT: at most ONE per page, serving the story, obeying
the project's tokens (palette, lighting mood, restraint). A gratuitous
spinning cube is anti-slop. `prefers-reduced-motion`, low-end mobile, and
loading states all get a static webp poster — always ship the fallback.

## Choose the tool (ladder — stop at the first rung that holds)

| Need | Use |
|------|-----|
| 3D **icons** / decorative marks | pre-rendered assets first: 3dicons.co, Shapefest, IconScout 3D (all in registry) — or generate on the image ladder, then `assets.py cut` → transparent webp. Zero runtime cost; the default. |
| Designed interactive scene, fastest path | **Spline** (spline.design) — design visually, embed via runtime (below) |
| Full code control in React | **React Three Fiber** — `npm i three @react-three/fiber @react-three/drei` |
| Svelte project | **Threlte** (threlte.xyz) — `npm i three @threlte/core @threlte/extras` |
| Vanilla / any other framework | **three.js** directly |
| Keyframe / scroll-driven cinematic sequencing | **Theatre.js** — `@theatre/core` (runtime) + `@theatre/studio` (DEV ONLY — never in the prod bundle) + `@theatre/r3f` bridge |
| Photoreal scroll narrative from rendered frames | **asset-pipeline frame sequence** — canvas scrub with chunked decode; cheaper and more predictable than live 3D |
| Client wants a no-code 3D site | **PeachWeb** (peachweb.io) — paid visual builder, exports embeds for any platform |

## Spline embed (the fast path — this IS the integration; ignore "Spline MCP" servers, Spline has no public API)

React/Next.js: `npm i @splinetool/react-spline @splinetool/runtime`

```tsx
import { lazy, Suspense } from 'react';
const Spline = lazy(() => import('@splinetool/react-spline'));
// inside the hero, below an IntersectionObserver or next/dynamic ssr:false:
<Suspense fallback={<img src="/poster.webp" alt="" />}>
  <Spline scene="https://prod.spline.design/<id>/scene.splinecode"
          onLoad={(app) => appRef.current = app} />
</Suspense>
```

Vanilla: `new Application(canvas).load(url)` from `@splinetool/runtime`.
Control at runtime: `app.findObjectByName('Cube')` (then mutate
`.position/.rotation/.scale`), `app.emitEvent('mouseHover', 'Cube')`,
`app.setVariable(name, value)`. Scene URL comes from the Spline editor →
Export → Code Export. Community scenes: study technique, never copy paid assets.

## R3F skeleton (the laws are in the props)

```tsx
<Canvas dpr={[1, 2]} frameloop="demand" gl={{ antialias: true }}>
  <Environment preset="studio" />
  <MyModel /> {/* useGLTF('/model.glb') — drei caches + disposes */}
  <OrbitControls enableZoom={false} />
</Canvas>
```

`frameloop="demand"` for scenes that only move on interaction; drop it only
for continuous animation. Threlte mirrors this: `<Canvas>` from
`@threlte/core`, helpers from `@threlte/extras` (`<GLTF>`, `<OrbitControls>`).

## Performance laws (non-negotiable)

- Lazy-load ALL 3D: dynamic import behind IntersectionObserver — never in the initial bundle.
- Clamp `dpr` to `[1, 2]`; one WebGL context per page.
- GLB budget < 2 MB: compress with `npx gltf-transform optimize in.glb out.glb` (draco + prune + resize).
- Dispose on unmount (drei/Threlte handle it; raw three.js: `geometry.dispose()`, `material.dispose()`, `renderer.dispose()`).
- Poster fallback (webp via asset-pipeline) for reduced-motion, mobile, and load — the page must read perfectly with 3D absent.

## Scroll narrative composition

Use three depth planes at most: a slow atmospheric backdrop, the primary frame
sequence or 3D subject, and crisp semantic copy/chrome. Map all planes to one
normalized scroll progress; vary distance and easing instead of adding unrelated
animations. Pin only while the scene advances, then return to normal document
flow. Avoid scroll hijacking, wheel interception, and fake smooth-scroll latency.

Choose rendered frames for photoreal materials, fluid simulation, cinematic
lighting, or model-heavy scenes that do not need object interaction. Choose live
3D only when the user must rotate, select, configure, or inspect the object.
Never run live WebGL behind a full frame sequence. On mobile, reduce parallax,
serve a deliberate crop, and shorten the pinned distance. Follow the detailed
loading, poster, accessibility, and SEO contract in asset-pipeline.

## Live-scene debugging (optional MCP companion)

Register `npx threejs-devtools-mcp` with the current host's MCP setup — inspects
and edits a RUNNING three.js/R3F scene (59 tools, MIT) through a WebSocket
bridge; needs the project dev server up. Offer with yes/no confirmation per
bootstrap — useful only in 3D-heavy projects.
Host integration: read [the runtime contract](../../references/runtime.md) for plugin/project paths, host command names and capabilities. Explicit user instructions and repository conventions take precedence over these defaults.

Attribution

INERATEINERATE
View sourceMore from INERATE →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693621 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →