Agent skill

R3f Physics

by EnzeD in EnzeD/r3f-skills

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

No licenceAuto-check passedGame Development

Install R3f Physics

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

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

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

At a glance

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

  • Collision-driven movement and simulation
  • SKILL.md covers Falling and clickable body, Bodies and colliders, Forces and simulation time and Events, sensors, and joints, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Use animation guidance for purely visual motion

What it does

R3f Physics is an agent skill from EnzeD/r3f-skills. Add Rapier rigid bodies, colliders, forces, sensors, and joints to React Three Fiber. Use for collision-driven movement and simulation; use animation guidance for purely visual motion.

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/controllers.md`).

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

When your agent uses it

  • Collision-driven movement and simulation
  • Use animation guidance for purely visual motion

Example prompts

  • “/r3f-physics”

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

    • rapier.rs
    • github.com
    • pmndrs.github.io

    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 Physics loads about 1.4k tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 49 tokens; SKILL.md has 555 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
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
~2.1k

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

“Check installed Fiber, React, and Rapier versions. Rapier 2 targets Fiber 9 / React 19; older projects need their compatible package line. Keep rendering and simulation ownership separate.”

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

Read the full SKILL.md on GitHub

Files

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

  • SKILL.md
  • references/controllers.md

Open the folder on GitHubat commit 4a11805

Compare with similar skills

R3f Physics 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 Physics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
R3f Physics this skillEnzeD/r3f-skills128—~1.4kAutomated safety check: PassNone
Image to Three.js Modelimg2threejs/img2threejs18k1 repos~8.2kAutomated safety check: PassApache-2.0
Web CloneJane-xiaoer/claude-skill-web-clone1k2 repos~2.7kAutomated safety check: PassMIT
Threejs Game Directormajidmanzarpour/threejs-game-skills2.4k—~2.2kAutomated safety check: PassMIT
Game Asset Generatorhtdt/godogen7.1k—~2.8kAutomated safety check: PassMIT
Threejs Gameplay Systemsvalkor-ai/loom1.2k1 repos~1.4kAutomated safety check: PassApache-2.0

Similar skills

  • Image to Three.js Model

    img2threejs/img2threejs

    Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.

    18k GitHub starsUsed in 1 repo~8.2k tokens
    Game DevelopmentAuto-check passed
  • Web Clone

    Jane-xiaoer/claude-skill-web-clone

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

    1k GitHub starsUsed in 2 repos~2.7k tokens
    Game DevelopmentAuto-check passed
  • Threejs Game Director

    majidmanzarpour/threejs-game-skills

    Entrypoint for building, upgrading, and finishing Three.js browser games.

    2.4k GitHub stars~2.2k tokensUpdated 10 days ago
    Game DevelopmentAuto-check passed
  • Generates game art from text prompts: PNG images, GLB 3D models, rigged characters, animations and sprites, with background removal.

    7.1k GitHub stars~2.8k tokensUpdated 7 days ago
    Game DevelopmentAuto-check passed
  • Build and iterate playable Three.js game systems: starter scaffold, architecture, design briefs, core loops, level and encounter design, entities, input, camera, collision and physics, scoring…

    1.2k GitHub starsUsed in 1 repo~1.4k tokens
    Game DevelopmentAuto-check passed
  • Threejs World Generation

    calesthio/OpenMontage

    Build deterministic, editable, free-viewpoint Three.js worlds from text or structured briefs.

    65k GitHub stars~2k tokensUpdated 5 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 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
  • 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 Physics

What does R3f Physics do?

Add Rapier rigid bodies, colliders, forces, sensors, and joints to React Three Fiber. R3f Physics is an agent skill from EnzeD/r3f-skills. Add Rapier rigid bodies, colliders, forces, sensors, and joints to React Three Fiber.

When should I use R3f Physics?

R3f Physics fits situations like: collision-driven movement and simulation; use animation guidance for purely visual motion.

How do I install R3f Physics in Claude Code?

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

How do I install R3f Physics in Codex?

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

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

What does R3f Physics need to run?

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

Does R3f Physics access the network?

SKILL.md names 3 domains. As links in the text: rapier.rs, github.com and pmndrs.github.io. This is read from the text; nothing was executed.

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

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

How many tokens does R3f Physics use?

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

What are the alternatives to R3f Physics?

Skills that share tags, products or a category with R3f Physics: Image to Three.js Model (img2threejs/img2threejs, 18k stars), Web Clone (Jane-xiaoer/claude-skill-web-clone, 1k stars), Threejs Game Director (majidmanzarpour/threejs-game-skills, 2.4k stars) and Game Asset Generator (htdt/godogen, 7.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains R3f Physics?

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.