Agent skill

Threejs R3f

by AThevon in AThevon/genjutsu

Three.js and React Three Fiber sub-skill - 3D scenes, shaders, postprocessing.

Custom licenceAuto-check passedGame Development

Install Threejs R3f

skills CLI
$ npx skills add AThevon/genjutsu --skill threejs-r3f -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AThevon/genjutsu threejs-r3f --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AThevon/genjutsu.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/_jutsu/threejs-r3f .claude/skills/threejs-r3f && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
threejs-r3f
GitHub stars
431
Used in
1 other repo
Token cost
~2k tokens
SKILL.md length
647 words
Files
3 (incl. references)
Skills in repo
20
Repo updated
First seen
Licence
Custom licence

At a glance

Three.js and React Three Fiber sub-skill - 3D scenes, shaders, postprocessing.

  • Works in 5 steps: Never setState in useFrame → Never allocate in the render loop → Never forget dispose (memory leak) → …
  • Tasks that involve 3D graphics and WebGL
  • SKILL.md covers When to Use What, Scene Setup Patterns, R3F Hooks and Drei Essentials, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Threejs R3f is an agent skill from AThevon/genjutsu. Three.js and React Three Fiber sub-skill - 3D scenes, shaders, postprocessing.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/scene-setup.md` and `references/shaders.md`).

It sits in Game Development, covering 3D graphics and WebGL. It works with Three.js and React. The repository describes itself as: Creative coding skills for Claude Code, claude.ai and Cowork. Motion, micro-interactions and design systems across Web (GSAP, Motion, Three.js, CSS), Android (Jetpack Compose)…

When your agent uses it

  • Tasks that involve 3D graphics and WebGL

Example prompts

  • “/threejs-r3f”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Never setState in useFrame
  2. Never allocate in the render loop
  3. Never forget dispose (memory leak)
  4. Never re-render the Canvas parent
  5. Never load assets without Suspense

What it can do on your machine

Read from SKILL.md and the folder at commit 1f518a7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Threejs R3f loads about 2k tokens when it runs, and up to ~6.9k if it reads all its reference files. Until then it costs about 23 tokens; SKILL.md has 647 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~23
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 647 words (~2,015 tokens).

name
threejs-r3f
metadata.internal
true

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in skills/_jutsu/threejs-r3f of AThevon/genjutsu.

  • SKILL.md
  • references/scene-setup.md
  • references/shaders.md

Open the folder on GitHubat commit 1f518a7

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in AThevon/genjutsu, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Threejs R3f next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Threejs R3f compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Threejs R3f this skillAThevon/genjutsu4311 repos~2kAutomated safety check: PassCustom licence
Web CloneJane-xiaoer/claude-skill-web-clone1k1 repos~2.7kAutomated safety check: PassMIT
Improve Threejsmillionco/react-doctor15k—~2.3kAutomated safety check: PassCustom licence
Polycsslayoutit/polycss761—~2.4kAutomated safety check: PassMIT
Typegpusoftware-mansion-labs/skills2912 repos~5.6kAutomated safety check: PassNone
Pmndrs Viversepmndrs/viverse132—~1.7kAutomated safety check: PassCustom licence

Similar skills

  • Web Clone

    Jane-xiaoer/claude-skill-web-clone

    网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 /…

    1k GitHub starsUsed in 1 repo~2.7k tokens
    Game DevelopmentAuto-check passed
  • Improve Threejs

    millionco/react-doctor

    Audit and fix Three.js and React Three Fiber apps for frame-loop performance, GPU memory leaks, scene-graph correctness, and visual defects like z-fighting, shadow acne, wrong color space, and…

    15k GitHub stars~2.3k tokensUpdated today
    Game DevelopmentAuto-check passed
  • Polycss

    layoutit/polycss

    Build PolyCSS scenes that render 3D meshes, primitive shapes, or custom polygons as DOM/CSS polygon elements.

    761 GitHub stars~2.4k tokensUpdated 1 mo ago
    Game DevelopmentAuto-check passed
  • Typegpu

    software-mansion-labs/skills

    TypeGPU is type-safe WebGPU in TypeScript. An agent skill from software-mansion-labs/skills.

    291 GitHub starsUsed in 2 repos~5.6k tokens
    Game DevelopmentAuto-check passed
  • Pmndrs Viverse

    pmndrs/viverse

    Build, modify, debug, or publish VIVERSE-ready web games and 3D apps with Three.js, React Three Fiber, @pmndrs/viverse, @react-three/viverse, VIVERSE SDK integrations, character controllers…

    132 GitHub stars~1.7k tokensUpdated 7 days ago
    Game DevelopmentAuto-check passed
  • 3D Web Experience

    davila7/claude-code-templates

    Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes.

    32k GitHub starsUsed in 5 repos~1.3k tokens
    Game DevelopmentAuto-check passed

More from AThevon/genjutsu

All 20 skills in this repo
  • Orchestration

    AThevon/genjutsu

    Running a team of subagents on one design build: clone briefs, disjoint file ownership, isolated builds, the evidence packet, review lenses, the fix plan, verdicts, cold eyes and the stop rule, with…

    431 GitHub stars~4.9k tokensUpdated 4 days ago
    Auto-check passed
  • Design Audit

    AThevon/genjutsu

    Design audit checklist - motion gaps, accessibility, color consistency, responsive, performance.

    431 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed
  • UI UX Pro Max

    AThevon/genjutsu

    UI/UX design-system intelligence - 84 styles, 192 palettes, 74 font pairings, 25 charts, 99 UX guidelines across 22 stacks (searchable dataset + CLI).

    431 GitHub stars~4.3k tokensUpdated 4 days ago
    Auto-check passed
  • Canvas Generative

    AThevon/genjutsu

    Algorithmic and generative art with Canvas 2D - particles, flow fields, noise, fractals, L-systems.

    431 GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Compose Motion

    AThevon/genjutsu

    Jetpack Compose animation foundations - animateAsState, AnimatedVisibility, Crossfade, updateTransition, SharedTransitionLayout, gestures.

    431 GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • Compose Multiplatform

    AThevon/genjutsu

    Compose Multiplatform / KMP patterns - expect/actual composables, platform-specific code, density and font handling cross-target, iOS/Android/Desktop interop.

    431 GitHub starsUsed in 1 repo~4.1k tokens
    Auto-check passed

Works with

Questions about Threejs R3f

What does Threejs R3f do?

Three.js and React Three Fiber sub-skill - 3D scenes, shaders, postprocessing. Threejs R3f is an agent skill from AThevon/genjutsu.js and React Three Fiber sub-skill - 3D scenes, shaders, postprocessing.

When should I use Threejs R3f?

Threejs R3f fits situations like: tasks that involve 3D graphics and WebGL.

How do I install Threejs R3f in Claude Code?

Run `npx skills add AThevon/genjutsu --skill threejs-r3f -a claude-code`. Or copy the skill folder (skills/_jutsu/threejs-r3f in AThevon/genjutsu) into .claude/skills/threejs-r3f in your project. Claude Code loads it when a task matches its description.

How do I install Threejs R3f in Codex?

Run `npx skills add AThevon/genjutsu --skill threejs-r3f -a codex`. Or copy the skill folder (skills/_jutsu/threejs-r3f in AThevon/genjutsu) into .agents/skills/threejs-r3f in your project. Codex loads it when a task matches its description.

Can I use Threejs R3f in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AThevon/genjutsu --skill threejs-r3f -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/threejs-r3f, .gemini/skills/threejs-r3f, .github/skills/threejs-r3f and .opencode/skills/threejs-r3f in your project.

What does Threejs R3f need to run?

SKILL.md names no scripts, command-line tools or credentials: Threejs R3f is instructions for the agent only.

Does Threejs R3f access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Threejs R3f safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Threejs R3f use?

Threejs R3f has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Threejs R3f use?

About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.8k tokens, read only when the agent opens those files.

What are the alternatives to Threejs R3f?

Skills that share tags, products or a category with Threejs R3f: Web Clone (Jane-xiaoer/claude-skill-web-clone, 1k stars), Improve Threejs (millionco/react-doctor, 15k stars), Polycss (layoutit/polycss, 761 stars) and Typegpu (software-mansion-labs/skills, 291 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Threejs R3f?

AThevon (a GitHub user) maintains it in AThevon/genjutsu, which has 431 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on October 5, 2026.

Source: AThevon/genjutsu on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.