Skip to content

Three Agent Skills - Setup Guide

Source: emalorenzo/three-agent-skills via skills.sh - 3.7K combined installs across 2 indexed listings; first seen 2026-11-30 (Nov 30 morning sweep) GitHub: emalorenzo/three-agent-skills - 80 stars, no license, branch main, last pushed 2026-01-28; skills live under skills/r3f-best-practices/ and skills/three-best-practices/, each holding a SKILL.md and a rules/ subdirectory. Category: Frontend / 3D Quality Tier: 🟢 Green - all sampled listings pass Gen Agent Trust Hub, Socket and Snyk.

emalorenzo publishes two skills that encode Three.js and React Three Fiber best practices as procedural rules. three-best-practices is the vanilla Three.js half: 100+ rules across 17 categories covering memory disposal, the render loop, shaders (GLSL and TSL), asset loading, WebXR, physics and mobile optimization. r3f-best-practices is the React half: 60+ rules across 11 categories for the Poimandres ecosystem, spanning @react-three/fiber, @react-three/drei, zustand, @react-three/postprocessing, @react-three/rapier and leva.

Both skills follow the Agent Skills specification and install through the skills.sh CLI, so they load into Claude Code, Cursor, Codex, OpenCode, VS Code Copilot and any other compatible agent. The breadth is the draw: together they cover the full 3D stack, from vanilla WebGL/WebGPU scene work to React-specific re-render and state concerns.

Installation

Install both skills at once:

npx add-skill three-agent-skills

Or from GitHub directly:

npx add-skill emalorenzo/three-agent-skills

List the skills before choosing:

npx add-skill three-agent-skills --list

Install one skill at a time:

npx add-skill three-agent-skills --skill three-best-practices
npx add-skill three-agent-skills --skill r3f-best-practices

What It Provides

Skill Installs Use For
r3f-best-practices 1,850 React Three Fiber and Poimandres ecosystem best practices
three-best-practices 1,816 Three.js performance optimization and best practices

Every indexed listing appears in the table above.

Why This Matters for Hermes Agents

A coding agent asked to build or fix a 3D scene tends to get the details wrong from general knowledge: it leaks geometry because it never calls dispose, it mutates state inside useFrame and forces a re-render every frame, or it decodes a glTF model on the main thread. These skills close exactly those gaps. The render loop and memory management rules are the highest-leverage files because a frame hitch or a growing GPU buffer rarely produces a clear error message, only a slow scene.

The split across two skills matters for builders. Vanilla Three.js work has no React layer to lean on, so three-best-practices carries the full optimization surface: draw calls, instancing, disposal, TSL compute shaders, WebGPU and WebXR. React Three Fiber work has different failure modes, so r3f-best-practices focuses on re-renders, Zustand selector discipline, Suspense loading and the Drei helpers. An agent that loads the wrong one for its stack will apply rules that do not fit.

For an operator, these are review skills rather than runtime components. The documented usage pattern is to ask the agent to score an app from 1 to 100 and produce actionable fixes, which makes the suite useful for auditing an existing scene as much as for writing a new one.

Usage

You say What happens
Review my entire Three.js app and give me a score from 1 to 100 three-best-practices walks the scene categories and reports what is good, what needs improvement and the fixes to apply
Help me set up a Three.js scene with proper memory management three-best-practices applies the dispose rules for geometry, materials and textures
Review my R3F component for performance issues r3f-best-practices flags re-renders, state set inside useFrame and Zustand selector problems
How do I load GLTF models with Drei r3f-best-practices applies the loading and Suspense rules for drei's useGLTF
Optimize my shader for mobile devices three-best-practices applies the shader-mobile and mobile-optimization rules
Set up WebXR for my VR experience three-best-practices applies the webxr-setup rules
Implement GPU particles with compute shaders three-best-practices applies the TSL compute shader rules

Verification

Confirm each skill body resolves on the main branch before relying on it:

curl -sL https://raw.githubusercontent.com/emalorenzo/three-agent-skills/main/skills/r3f-best-practices/SKILL.md | head -30
curl -sL https://raw.githubusercontent.com/emalorenzo/three-agent-skills/main/skills/three-best-practices/SKILL.md | head -30

Each skill keeps its rules in a rules/ subdirectory next to its SKILL.md, so spot-check a rule file the same way:

curl -sL https://raw.githubusercontent.com/emalorenzo/three-agent-skills/main/skills/three-best-practices/rules/tsl-compute-shaders.md | head -30

Security

skills.sh verdicts for sampled skills (verified 2026-11-30) - re-check the security pages on skills.sh before production use:

Skill Gen Agent Trust Hub Socket Snyk
r3f-best-practices Pass Pass Pass
three-best-practices Pass Pass Pass

Both sampled listings pass all three scanners with no warnings or failures.

Integration with CorpusIQ

CorpusIQ is the connector layer that lets AI assistants read the systems a business already runs on - accounting, payments, CRM, email, files and analytics - and answer with the source named. It is read-only by design: it retrieves data and never writes to, or acts in, a connected system, which is what makes it safe to point at live accounts.

This page is part of the CorpusIQ directory, the reference we maintain for the MCP server and agent-skill ecosystem. Run alongside CorpusIQ, a third-party server like this one can be combined with a company's own business data in a single answer.

See what CorpusIQ connects

Limitations

  • Snapshot data, verified 2026-11-30: 3,666 combined installs across 2 indexed listings; 80 GitHub stars; no license; last pushed 2026-01-28. Counts drift over time.
  • These are procedural best-practice rules, not executable libraries. The agent applies the guidance itself, so the result depends on how well the model follows the rules rather than on any code running underneath.
  • The README lists MIT under a License heading, but the tree carries no LICENSE file and skills.sh records no license. Confirm terms before redistributing the rule text wholesale.
  • The two skills target different stacks: three-best-practices for vanilla Three.js and r3f-best-practices for React. Applying one stack's rules to the other, for example Zustand selector advice to a plain Three.js app, will mislead.
  • 60+ and 100+ rules is a large amount of guidance; expect the agent to page through the rules/ files rather than hold the whole suite in a single context window.
  • Install counts measure distribution, not quality. There is no per-skill version or changelog, so the rules can change when main moves.

Skills Catalog | Skills Marketplace

Pro Tips

  • Install the two skills separately by stack: three-best-practices for vanilla Three.js work and r3f-best-practices for React projects; a plain WebGL project gains little from the React rules.
  • For a quick audit, ask the agent to score the app from 1 to 100, a documented usage example, then apply the fixes it names by category.
  • Read the Memory Management and Render Loop categories first; the README marks both CRITICAL, and they are where most Three.js performance bugs live.
  • For mobile work, point the agent at the shader-mobile and mobile-optimization rules before any shader code is written.
  • Re-check the skills.sh security pages before production use; the verdicts above are a snapshot from 2026-11-30.

← Skills Catalog | Skills Marketplace → Powered by CorpusIQ

AI answers on your data. See where every number comes from.

Connect your tools and ask in ChatGPT, Claude, or Perplexity. Enterprise-grade answers in minutes. From $29.95/month.

Start free, no credit card
Contact Terms Privacy Pricing