Agent skill

R3f Materials

by EnzeD in EnzeD/r3f-skills

Choose and configure React Three Fiber surface materials, PBR, transparency, and transmission.

No licenceAuto-check passedGame Development

Install R3f Materials

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

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

GitHub CLI
$ gh skill install EnzeD/r3f-skills r3f-materials --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-materials .claude/skills/r3f-materials && 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-materials
GitHub stars
128
Token cost
~1.3k tokens
SKILL.md length
527 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
None found

At a glance

Choose and configure React Three Fiber surface materials, PBR, transparency, and transmission.

  • Mesh appearance and material cost
  • SKILL.md covers Choose the least complex…, PBR surface with environment…, PBR and color decisions and Transparency and glass, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Use shader guidance for custom GLSL

What it does

R3f Materials is an agent skill from EnzeD/r3f-skills. Choose and configure React Three Fiber surface materials, PBR, transparency, and transmission. Use for mesh appearance and material cost; use shader guidance for custom GLSL or TSL code.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

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

When your agent uses it

  • Mesh appearance and material cost
  • Use shader guidance for custom GLSL

Example prompts

  • “/r3f-materials”

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):

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

    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 Materials loads about 1.3k tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 527 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

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 527 words (~1,298 tokens).

“Inspect the installed renderer, Three.js, Fiber, and Drei versions first. Examples use Fiber 9 / React 19 with WebGL. Do not assume Drei shader-based materials work unchanged with WebGPU.”

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

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/r3f-materials of EnzeD/r3f-skills.

Open the folder on GitHubat commit 4a11805

Compare with similar skills

R3f Materials 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 Materials compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
R3f Materials this skillEnzeD/r3f-skills128—~1.3kAutomated 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 Shaders

    EnzeD/r3f-skills

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

    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

Questions about R3f Materials

What does R3f Materials do?

Choose and configure React Three Fiber surface materials, PBR, transparency, and transmission. R3f Materials is an agent skill from EnzeD/r3f-skills. Choose and configure React Three Fiber surface materials, PBR, transparency, and transmission.

When should I use R3f Materials?

R3f Materials fits situations like: mesh appearance and material cost; use shader guidance for custom GLSL.

How do I install R3f Materials in Claude Code?

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

How do I install R3f Materials in Codex?

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

Can I use R3f Materials 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-materials -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-materials, .gemini/skills/r3f-materials, .github/skills/r3f-materials and .opencode/skills/r3f-materials in your project.

What does R3f Materials need to run?

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

Does R3f Materials access the network?

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

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

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

How many tokens does R3f Materials use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to R3f Materials?

Skills that share tags, products or a category with R3f Materials: 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 Materials?

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.