agentleFS
pmndrspmndrs/claude-code-plugin/skills/examples/SKILL.md

examples

Skill5 starsChanged 4 months agoMITView on GitHub

Find a working pmndrs demo before writing a react-three-fiber scene from scratch — caustics, transmission, physics, postprocessing, scroll rigs, GLTF, portals, instancing. Use it whenever the question is how something is put together rather than what an API takes, and read the demo's source instead of reconstructing it.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. TradersPost/pinescript-agents★ 167same name
    2. reaatech/agents-md-kit★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the index once per conversation.

    line 22
  2. Very specific:

    Every demo pins its own versions, and get_example reports them.

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

pmndrs examples

The pmndrs MCP server serves the gallery at pmndrs.github.io/examples — 167 demos, each a small self-contained r3f app with its source. Most r3f questions are "how is this put together", and for those an example beats a reconstruction: it runs, it is whole, and someone already made every decision in it.

Reach for the docs (pmndrs:docs) for what an API takes; reach here for what a scene looks like when it works.

Always index first

  1. ListMcpResourcesTool is not needed — read examples://index directly with ReadMcpResourceTool. It is the whole gallery, ~4.5k tokens, one line per demo.
  2. mcp__pmndrs__get_example with the name from that line.

Read the index once per conversation. There is no per-tag or per-library variant, and no search tool — the index is the search.

Reading a line

{name} [({title}, when it is not just the name)] · {description} · +{libraries} · #{tags} · ~{size}

Everything after the name is dropped when the demo does not carry it:

aquarium · #transmission
arkanoid · Simple arkanoid implementation using cannon physics. · +cannon,zustand · #physics,game,audio
bounds-and-makedefault (Bounds and makeDefault) · #bounds
flow-shield · Interactive energy shield. · +postprocessing,leva · #shader · ~23k

+ lists what a demo uses on top of @react-three/fiber and @react-three/drei, which all of them use — so +rapier is a real signal and the absence of + is not.

Do not match on tags alone. They are freeform and unvalidated: expect typos (gtlf, clell-fracture, frosted-glas) and both spellings of one idea (contact shadows / contact-shadows). Scan names and descriptions too — 39 of the 167 have no description at all, so a name is sometimes the only thing that says what a demo is.

How many to open

Most demos are small — the median is ~1.4k tokens and nine tenths are under 4k. Three of them cost less than the index you have already read, so when two lines match equally well, open both. That is cheaper than opening one, finding it wrong and coming back, and it is often the answer outright: comparing caustics against diamond-refraction is what "transmission or refraction?" is asking for. Same when nothing does the whole job and the answer is one demo's scroll rig plus another's material.

Eight demos are big enough that the choice matters, and they say so — a trailing ~23k is what get_example will cost. No marker means cheap. Open a marked one deliberately, and never two.

Two kinds of file come back named rather than inlined — binaries (.glb, textures, audio) and vendored or generated text (bundles, font atlases, gltfjsx dumps). Both are in the repository the response links to.

An example is a snapshot, not a spec

Every demo pins its own versions, and get_example reports them. That is the point of including them: code written against drei 10.7 is evidence of how something was done, not a promise about today's API. When an answer turns on a current signature or prop, check it against the docs — the two sources answer different questions and neither substitutes for the other.

They also carry their own licensing: asset attribution comes back with the demo, and it travels with anything reused from it.

Handing one over

The response carries what a person needs to go further:

  • the live demo URL, worth giving even when you have answered from the source
  • npx degit pmndrs/examples/examples/{name}, which drops the whole thing into a directory — the fastest way to hand someone a running starting point

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.