threejs-procedural-planets

threejs-procedural-planets is a skill for Codex from linegel/threejs-complete-set-of-skill. It costs 68 tokens per session (2,010 once invoked), scanned A, original, ISC.

A set of instructions for building large procedural planets in Three.js, a JavaScript 3D graphics library. It covers curved planetary surfaces, terrain detail from orbit to ground level, and cloud layers around gas giants.

In plain words
What is it for?
Use it for spherical or ellipsoidal worlds, orbit-to-ground views, global terrain, planetary coordinate systems, and body-scale gas-giant clouds.
Why use it?
It helps decide when a flat local terrain model is insufficient and keeps terrain, materials, queries, water, and atmosphere based on the same planetary data.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Use it for spherical or ellipsoidal worlds, orbit-to-ground views, global terrain, planetary coordinate systems, and body-scale gas-giant clouds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/linegel/threejs-complete-set-of-skill/threejs-procedural-planets
Install

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.

Any agent
npx skills add linegel/threejs-complete-set-of-skill --skill threejs-procedural-planets
Clone the repo
git clone --depth 1 https://github.com/linegel/threejs-complete-set-of-skill

Made for: Codex.

Wrote 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.

agentmods badge for threejs-procedural-planets

README.md
[![agentmods](https://agentmods.dev/badge/skills/linegel/threejs-complete-set-of-skill/threejs-procedural-planets/github.svg)](https://agentmods.dev/skills/linegel/threejs-complete-set-of-skill/threejs-procedural-planets)
Your own site
<a href="https://agentmods.dev/skills/linegel/threejs-complete-set-of-skill/threejs-procedural-planets"><img src="https://agentmods.dev/badge/skills/linegel/threejs-complete-set-of-skill/threejs-procedural-planets/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.

agentmods 80×15 button for threejs-procedural-planets

Your own site · 80×15
<a href="https://agentmods.dev/skills/linegel/threejs-complete-set-of-skill/threejs-procedural-planets"><img src="https://agentmods.dev/badge/skills/linegel/threejs-complete-set-of-skill/threejs-procedural-planets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,010 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.02010
Opus 5 $0.00034 $0.01005
Sonnet 5 $0.00014 $0.00402
Haiku 4.5 $0.00007 $0.00201

Measured 11d ago against content hash 2b26798489c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

threejs-procedural-planets 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 11d 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.

skills/threejs-procedural-planets/SKILL.md · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Procedural Planets

Choose the body-scale representation first. One set of planet-space causes must drive geometry, normals, material identity, queries, diagnostics, water/coast handoffs, and atmosphere inputs.

Process

  1. Gate body scale. Test whether curvature, horizon, global geodesy, orbit-to-ground transition, or atmosphere coupling is observable. A bounded local site belongs to procedural fields and geometry when tangent-plane sagitta, normal rotation, geodesic, horizon, and projected errors all pass. Read body-model-mapping-and-lod.md when deriving the body-scale gate.

    Complete when: the accepted camera and data domain either proves a local approximation or names at least one body-scale observable that requires this skill.

  2. Freeze the body model and units. Declare center, sphere radius or ellipsoid axes in meters, metersPerWorldUnit, height and sea-level datum, body/world transform, origin policy, surface-coordinate meaning, and atmosphere bottom/top geometry. When a sphere approximates an ellipsoid, read body-model-mapping-and-lod.md and apply its position, normal, area, geodesic, horizon, atmosphere-altitude, and optical-depth error gate. Give each changing field one owner and one version.

    Complete when: every length and vector has units and a frame, surface altitude has one definition, render-origin changes leave physical field identity unchanged, and the spherical branch either passes every declared approximation gate or is rejected in favor of the ellipsoid.

  3. Select mapping and spatial representation. Choose normalized, spherified, or verified equal-area cube mapping from distortion and inverse requirements. Choose a cube-face quadtree for arbitrary globe views, a tangent clipmap for sustained local views, or a hybrid with an explicit near/far handoff. A gas/cloud-deck body uses continuous wrapped band fields rather than solid-terrain displacement. Read body-model-mapping-and-lod.md for a solid-body mapping, ellipsoid convention, quadtree, clipmap, or hybrid. Read gas-cloud-deck.md for a gas/cloud-deck body.

Read the full file on GitHub · 163 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 11d ago First seen · 163 lines · 68 tokens per session scan A 2b26798489c9

Subscribe to this mod's changes

threejs-procedural-planets is a skill published in the GitHub repository linegel/threejs-complete-set-of-skill (6 stars, last pushed 1mo ago), licensed ISC. It adds 68 tokens to every session and 2,010 once invoked, about $0.0003 per session on Opus 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-08-31.