Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add frankxai/claude-skills-library --skill r3f-scenegit clone --depth 1 https://github.com/frankxai/claude-skills-libraryWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/frankxai/claude-skills-library/r3f-scene)<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/r3f-scene"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/r3f-scene/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/r3f-scene"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/r3f-scene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00106 | $0.01958 |
| Opus 5.5 | $0.00042 | $0.00783 |
| Sonnet 5.5 | $0.00021 | $0.00392 |
| Haiku 4.5 | $0.00011 | $0.00196 |
Grade A, and why
r3f-scene scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
R3F scene
A 3D scene is the most expensive surface a page can carry: about 244 kB of JavaScript transferred before the first model, and a render loop that runs until something stops it. This skill builds the scene so the cost is paid late and only while someone is looking.
Run gpu-surface section 1 first. The job sentence must need depth: an object
turned in the hand, a space moved through, a structure whose shape is the
point. A flat field of colour is a shader-backdrop.
1. Before installing
node .claude/skills/web-steward/peer-check.mjs --root .As of 2026-11-12,@react-three/[email protected]declaresreact >=19 <19.4and@react-three/[email protected]declaresreact ^19. A repo on React 18 with R3F 9 installed has an unmet peer: fix that first.three,@react-three/fiber, and@types/threemove together. Pin them.- Add
@react-three/dreionly for a helper the scene uses. Add postprocessing only when the job sentence names the effect.
2. Build
use-surface.ts is in gpu-surface section 3.
// components/effects/SceneLayer.tsx
'use client'
import { Canvas, useFrame } from '@react-three/fiber'
import { useRef, type ReactNode } from 'react'
import type { Mesh } from 'three'
type SceneLayerProps = {
/** Animate only while true: on screen and motion allowed. */
running: boolean
children: ReactNode
}
// The only file that imports three or @react-three/*: the whole 3D stack stays in this chunk.
export default function SceneLayer({ running, children }: SceneLayerProps) {
return (
<Canvas
aria-hidden
dpr={[1, 1.5]}
frameloop={running ? 'always' : 'demand'}
camera={{ position: [0, 0, 4.2], fov: 40 }}
gl={{ antialias: true, alpha: true, powerPreference: 'default' }}
style={{ position: 'absolute', inset: 0 }}
>
{children}
</Canvas>
)
}
/** A scene takes time as a value, so the still is a moment someone chose. */
export function Knot({ color, running, stillTime }: { color: string; running: boolean; stillTime: number }) {
const mesh = useRef<Mesh>(null)
useFrame(({ clock }) => {
const t = running ? stillTime + clock.elapsedTime : stillTime
if (!mesh.current) return
mesh.current.rotation.x = t * 0.25
mesh.current.rotation.y = t * 0.4
})
return (
<>
<ambientLight intensity={0.6} />
<directionalLight position={[3, 4, 5]} intensity={2.2} />
<mesh ref={mesh}>
<torusKnotGeometry args={[0.9, 0.3, 160, 24]} />
<meshStandardMaterial color={color} metalness={0.85} roughness={0.25} />
</mesh>
</>
)
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 14d ago First seen · 190 lines · 106 tokens per session scan A 7dd0cd5d47a8
r3f-scene is a skill published in the GitHub repository frankxai/claude-skills-library (51 stars, last pushed today), licensed MIT. It adds 106 tokens to every session and 1,958 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-16.
r3f-scene compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| r3f-scenefrankxai/claude-skills-library | Skill | 51 | today | MIT | A | 106 | Claude Code, Codex |
| prototypevinvcn/mattpocock-skills-zh-CN | Skill | 6.2k | 5d ago | MIT | A | 39 | Claude Code, Codex |
| shadcn-uichidekina/aria-superpowers | Skill | 2 | 1mo ago | none | A | 73 | Claude Code |
| frontend-designchidekina/aria-superpowers | Skill | 2 | 1mo ago | none | A | 77 | Claude Code, Codex |
| token-saverchidekina/aria-superpowers | Skill | 2 | 1mo ago | none | C | 85 | Claude Code, Codex |
| wayfindervinvcn/mattpocock-skills-zh-CN | Skill | 6.2k | 5d ago | MIT | A | 40 | Claude Code, Codex |
| migrate-to-shoehornvinvcn/mattpocock-skills-zh-CN | Skill | 6.2k | 5d ago | MIT | A | 53 | Claude Code, Codex |