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 adilkalam/orca --skill threejs-patternsgit clone --depth 1 https://github.com/adilkalam/orcaWrote 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/adilkalam/orca/threejs-patterns)<a href="https://agentmods.dev/skills/adilkalam/orca/threejs-patterns"><img src="https://agentmods.dev/badge/skills/adilkalam/orca/threejs-patterns/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/adilkalam/orca/threejs-patterns"><img src="https://agentmods.dev/badge/skills/adilkalam/orca/threejs-patterns.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.00056 | $0.03142 |
| Opus 5.5 | $0.00022 | $0.01257 |
| Sonnet 5.5 | $0.00011 | $0.00628 |
| Haiku 4.5 | $0.00006 | $0.00314 |
Grade A, and why
threejs-patterns 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 2mo 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 — 460 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Three.js Patterns for Next.js
Version: [email protected] + @types/[email protected]
Framework: Vanilla Three.js ONLY -- NOT React Three Fiber.
Import path for addons: import { X } from 'three/addons/...'
Installation
npm install [email protected] @types/[email protected]
Pattern 1: Scene Setup
Base pattern for all Three.js work in Next.js.
'use client';
import { useEffect, useRef } from 'react';
import * as THREE from 'three';
export function ThreeScene({ className }: { className?: string }) {
const canvasRef = useRef<HTMLCanvasElement>(null);
useEffect(() => {
const canvas = canvasRef.current;
if (!canvas) return;
// Renderer
const renderer = new THREE.WebGLRenderer({
canvas,
antialias: true,
alpha: true,
});
renderer.setSize(canvas.clientWidth, canvas.clientHeight);
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
// Scene
const scene = new THREE.Scene();
// Camera
const camera = new THREE.PerspectiveCamera(
75,
canvas.clientWidth / canvas.clientHeight,
0.1,
1000
);
camera.position.z = 5;
// Lighting
const ambientLight = new THREE.AmbientLight(0xffffff, 0.5);
scene.add(ambientLight);
const directionalLight = new THREE.DirectionalLight(0xffffff, 1);
directionalLight.position.set(5, 5, 5);
scene.add(directionalLight);
// Animation loop
let animationId: number;
const animate = () => {
animationId = requestAnimationFrame(animate);
renderer.render(scene, camera);
};
animate();
// Resize handler
const handleResize = () => {
const width = canvas.clientWidth;
const height = canvas.clientHeight;
renderer.setSize(width, height);
camera.aspect = width / height;
camera.updateProjectionMatrix();
};
window.addEventListener('resize', handleResize);
// Cleanup
return () => {
cancelAnimationFrame(animationId);
window.removeEventListener('resize', handleResize);
renderer.dispose();
scene.traverse((object) => {
if (object instanceof THREE.Mesh) {
object.geometry.dispose();
if (Array.isArray(object.material)) {
object.material.forEach((m) => m.dispose());
} else {
object.material.dispose();
}
}
});
};
}, []);
return (
<canvas
ref={canvasRef}
className={className}
style={{ width: '100%', height: '100%', display: 'block' }}
/>
);
}
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.
- 2mo ago First seen · 460 lines · 56 tokens per session scan A 2ed352eef3ad
threejs-patterns is a skill published in the GitHub repository adilkalam/orca (2 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 3,142 once invoked, about $0.0002 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-09-03.
threejs-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| threejs-patternsadilkalam/orca | Skill | 2 | 1mo ago | MIT | A | 56 | Claude Code, Codex |
| no-bare-castsprisma/orm | Skill | 48k | today | Apache-2.0 | A | 52 | Claude Code, Codex |
| aws-sst-developmentsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 26 | Claude Code |
| league-akari-shard-developmentLeagueAkari/LeagueAkari | Skill | 4.9k | yesterday | MIT | A | 58 | Claude Code, Codex |
| dd-code-generationDataDog/pup | Skill | 1.0k | today | Apache-2.0 | A | 16 | Claude Code |
| fast-typescript-checkinternet-development/www-sacred | Skill | 1.6k | 13d ago | MIT | A | 84 | Claude Code, Codex |
| typescript-magicianmcollina/skills | Skill | 2.0k | 14d ago | MIT | A | 108 | Claude Code, Codex |