Agent skill

R3f Shaders

by EnzeD in EnzeD/r3f-skills

Implement custom GLSL or TSL materials in React Three Fiber, including uniforms and vertex deformation.

No licenceAuto-check passedGame Development

Install R3f Shaders

skills CLI
$ npx skills add EnzeD/r3f-skills --skill r3f-shaders -a claude-code

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

GitHub CLI
$ gh skill install EnzeD/r3f-skills r3f-shaders --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/EnzeD/r3f-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/r3f-shaders .claude/skills/r3f-shaders && 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
r3f-shaders
GitHub stars
128
Token cost
~1.4k tokens
SKILL.md length
521 words
Files
2 (incl. references)
Skills in repo
11
Repo updated
First seen
Licence
None found

At a glance

Implement custom GLSL or TSL materials in React Three Fiber, including uniforms and vertex deformation.

  • Shader code and shader debugging
  • SKILL.md covers Select the shader path, Animated WebGL material, Uniforms and compilation and Space, color, and geometry, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Rather than ordinary PBR settings

What it does

R3f Shaders is an agent skill from EnzeD/r3f-skills. Implement custom GLSL or TSL materials in React Three Fiber, including uniforms and vertex deformation. Use for shader code and shader debugging, rather than ordinary PBR settings or composer effects.

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

It sits in Game Development, covering Shaders and 3D graphics and WebGL.

When your agent uses it

  • Shader code and shader debugging
  • Rather than ordinary PBR settings
  • Composer effects

Example prompts

  • “/r3f-shaders”

What it can do on your machine

Read from SKILL.md and the folder at commit 4a11805. 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

    Links to these hosts (documentation or services it may open):

    • github.com
    • threejs.org
    • drei.docs.pmnd.rs

    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

R3f Shaders loads about 1.4k tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 53 tokens; SKILL.md has 521 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 521 words (~1,373 tokens).

“Inspect installed Fiber, Drei, Three.js, and renderer versions first. The example uses Fiber 9 / React 19 and WebGL. Preserve an existing project's versions.”

— opening of SKILL.md by EnzeD
name
r3f-shaders

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in skills/r3f-shaders of EnzeD/r3f-skills.

  • SKILL.md
  • references/webgpu.md

Open the folder on GitHubat commit 4a11805

Compare with similar skills

R3f Shaders 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.

R3f Shaders compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
R3f Shaders this skillEnzeD/r3f-skills128—~1.4kAutomated safety check: PassNone
PixijsRSamaium/CanvasEngine4012 repos~1.6kAutomated safety check: PassMIT
New ExperimentTresjs/tres3.8k—~782Automated safety check: PassMIT
Shader Extractcth9191/site-clone133—~1.4kAutomated safety check: PassMIT
Typegpusoftware-mansion-labs/skills2912 repos~5.6kAutomated safety check: PassNone
Tslpmndrs/glyph395—~1.5kAutomated safety check: PassMIT

Similar skills

  • Pixijs

    RSamaium/CanvasEngine

    Use this skill first for ANY PixiJS v8 task; it routes to the right specialized skill for the job.

    401 GitHub starsUsed in 2 repos~1.6k tokens
    Game DevelopmentAuto-check passed
  • New Experiment

    Tresjs/tres

    Create a new experiment in TresJS Lab with all necessary files

    3.8k GitHub stars~782 tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Shader Extract

    cth9191/site-clone

    Extract, reproduce, and locally replay a single WebGL / WebGPU / Canvas / shader / animated-3D visual effect from a web page — the GPU-rendered surface that DOM/CSS cloning is blind to.

    133 GitHub stars~1.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
  • Tsl

    pmndrs/glyph

    Implement, migrate, review, debug, or verify Three.js Shading Language (TSL) materials, node graphs, WebGPU compute work, and post-processing.

    395 GitHub stars~1.5k tokensUpdated today
    Game DevelopmentAuto-check passed
  • Stage Rendering

    Siege-Perilous/tableslayer

    Architecture and gotchas for packages/stage — the Threlte/Three.js map renderer (layers, two-pass rendering, shaders, coordinate flips, performance tiers, disposal).

    122 GitHub stars~4.1k tokensUpdated 3 days ago
    Game DevelopmentAuto-check passed

More from EnzeD/r3f-skills

All 11 skills in this repo
  • R3f Animation

    EnzeD/r3f-skills

    Animate React Three Fiber objects with useFrame, damping, and GLTF clips.

    128 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • R3f Fundamentals

    EnzeD/r3f-skills

    Set up React Three Fiber scenes, Canvas, typed JSX, hooks, and resource ownership.

    128 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • R3f Geometry

    EnzeD/r3f-skills

    Build React Three Fiber geometry, custom buffers, instanced meshes, points, and lines.

    128 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • R3f Physics

    EnzeD/r3f-skills

    Add Rapier rigid bodies, colliders, forces, sensors, and joints to React Three Fiber.

    128 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • R3f Textures

    EnzeD/r3f-skills

    Configure textures in React Three Fiber, including color spaces, UV channels, sampling, video, and render targets.

    128 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • R3f Interaction

    EnzeD/r3f-skills

    Implement React Three Fiber pointer events, picking, dragging, keyboard input, and camera controls.

    128 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed

Questions about R3f Shaders

What does R3f Shaders do?

Implement custom GLSL or TSL materials in React Three Fiber, including uniforms and vertex deformation. R3f Shaders is an agent skill from EnzeD/r3f-skills. Implement custom GLSL or TSL materials in React Three Fiber, including uniforms and vertex deformation.

When should I use R3f Shaders?

R3f Shaders fits situations like: shader code and shader debugging; rather than ordinary PBR settings; composer effects.

How do I install R3f Shaders in Claude Code?

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

How do I install R3f Shaders in Codex?

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

Can I use R3f Shaders 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 EnzeD/r3f-skills --skill r3f-shaders -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/r3f-shaders, .gemini/skills/r3f-shaders, .github/skills/r3f-shaders and .opencode/skills/r3f-shaders in your project.

What does R3f Shaders need to run?

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

Does R3f Shaders access the network?

SKILL.md names 3 domains. As links in the text: github.com, threejs.org and drei.docs.pmnd.rs. This is read from the text; nothing was executed.

Is R3f Shaders 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 R3f Shaders use?

No licence was found for R3f Shaders or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does R3f Shaders use?

About 1.4k tokens (SKILL.md is roughly 5.5k 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 409 tokens, read only when the agent opens those files.

What are the alternatives to R3f Shaders?

Skills that share tags, products or a category with R3f Shaders: Pixijs (RSamaium/CanvasEngine, 401 stars), New Experiment (Tresjs/tres, 3.8k stars), Shader Extract (cth9191/site-clone, 133 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 R3f Shaders?

EnzeD (a GitHub user) maintains it in EnzeD/r3f-skills, which has 128 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on August 31, 2026.

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