react-three-fiber-setup

react-three-fiber-setup is a skill for Claude Code from bullish0x/GameStudio. It costs 29 tokens per session (2,909 once invoked), scanned A, original, MIT.

A setup guide for React Three Fiber, a React framework for creating Three.js 3D scenes, with TypeScript and mobile-focused configuration.

In plain words
What is it for?
Use it to create a new 3D game or app, configure the scene canvas, add TypeScript support, and prepare responsive mobile experiences.
Why use it?
It removes the uncertainty of starting a React-based 3D project and provides a structure for connecting React, Three.js, and common supporting packages.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to create a new 3D game or app, configure the scene canvas, add TypeScript support, and prepare responsive mobile experiences.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bullish0x/gamestudio/react-three-fiber-setup
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 bullish0x/GameStudio --skill react-three-fiber-setup
Clone the repo
git clone --depth 1 https://github.com/bullish0x/GameStudio

Made for: Claude Code.

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 react-three-fiber-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/bullish0x/gamestudio/react-three-fiber-setup/github.svg)](https://agentmods.dev/skills/bullish0x/gamestudio/react-three-fiber-setup)
Your own site
<a href="https://agentmods.dev/skills/bullish0x/gamestudio/react-three-fiber-setup"><img src="https://agentmods.dev/badge/skills/bullish0x/gamestudio/react-three-fiber-setup/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 react-three-fiber-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/bullish0x/gamestudio/react-three-fiber-setup"><img src="https://agentmods.dev/badge/skills/bullish0x/gamestudio/react-three-fiber-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,909 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.00029 $0.02909
Opus 5.5 $0.00012 $0.01164
Sonnet 5.5 $0.00006 $0.00582
Haiku 4.5 $0.00003 $0.00291

Measured 2mo ago against content hash c6807cb8343d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

react-three-fiber-setup 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 2mo 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.

.agents/skills/react-three-fiber-setup/SKILL.md · 474 lines

How it starts

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

React Three Fiber Setup

When to Use

Use this skill when:

  • Building React Three.js applications
  • Setting up a new R3F project
  • Integrating Three.js with React components
  • Creating declarative 3D scenes
  • Building mobile-responsive 3D apps

Core Principles

  1. Declarative: Define scenes with JSX, not imperative code
  2. Component-Based: Reusable 3D components
  3. React Integration: Use hooks, context, state naturally
  4. Performance: Automatic disposal, frame loop optimization
  5. TypeScript: Full type safety for Three.js objects

Implementation

1. Project Setup

# Create new React project with TypeScript
npm create vite@latest my-game -- --template react-ts
cd my-game

# Install R3F and dependencies
npm install three @react-three/fiber @react-three/drei
npm install --save-dev @types/three

# Optional: Additional R3F ecosystem
npm install @react-three/postprocessing zustand

2. Basic Canvas Setup

// App.tsx
import { Canvas } from '@react-three/fiber';
import { Suspense } from 'react';
import './App.css';

function App() {
  return (
    <div className="app-container">
      <Canvas
        camera={{
          position: [0, 5, 10],
          fov: 75,
          near: 0.1,
          far: 1000,
        }}
        shadows
        gl={{
          antialias: true,
          alpha: false,
          powerPreference: 'high-performance',
        }}
        dpr={[1, 2]} // Pixel ratio: min 1, max 2
        performance={{
          min: 0.5, // Min FPS threshold (30fps)
        }}
      >
        <Suspense fallback={null}>
          <Scene />
        </Suspense>
      </Canvas>
    </div>
  );
}

export default App;
/* App.css */
.app-container {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  touch-action: none; /* Prevent default touch behaviors */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

Read the full file on GitHub · 474 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. 2mo ago First seen · 474 lines · 29 tokens per session scan A c6807cb8343d

Subscribe to this mod's changes

react-three-fiber-setup is a skill published in the GitHub repository bullish0x/GameStudio (29 stars, last pushed 5mo ago), licensed MIT. It adds 29 tokens to every session and 2,909 once invoked, about $0.0001 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-09-03.

Related

react-three-fiber-setup compared with skills from other repositories

react-three-fiber-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-three-fiber-setupbullish0x/GameStudioSkill295mo agoMITA29Claude Code
generic-react-ux-designertravisjneuman/.claudeSkill115yesterdayMITA69Claude Code
generic-react-feature-developertravisjneuman/.claudeSkill115yesterdayMITA53Claude Code
generic-react-code-reviewertravisjneuman/.claudeSkill115yesterdayMITA71Claude Code
generic-react-design-systemtravisjneuman/.claudeSkill115yesterdayMITA59Claude Code
ar-vr-xrtravisjneuman/.claudeSkill115yesterdayMITA50Claude Code
agent-react-experttravisjneuman/.claudeSkill115yesterdayMITA11Claude Code