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 CesiumGS/cesiumjs-skills --skill cesiumjs-materials-shadersgit clone --depth 1 https://github.com/CesiumGS/cesiumjs-skillsWrote 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/cesiumgs/cesiumjs-skills/cesiumjs-materials-shaders)<a href="https://agentmods.dev/skills/cesiumgs/cesiumjs-skills/cesiumjs-materials-shaders"><img src="https://agentmods.dev/badge/skills/cesiumgs/cesiumjs-skills/cesiumjs-materials-shaders/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/cesiumgs/cesiumjs-skills/cesiumjs-materials-shaders"><img src="https://agentmods.dev/badge/skills/cesiumgs/cesiumjs-skills/cesiumjs-materials-shaders.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00083 | $0.03690 |
| Opus 5.5 | $0.00033 | $0.01476 |
| Sonnet 5.5 | $0.00017 | $0.00738 |
| Haiku 4.5 | $0.00008 | $0.00369 |
Grade A, and why
cesiumjs-materials-shaders 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 1mo 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 — 342 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CesiumJS Materials, Shaders & Post-Processing
Version baseline: CesiumJS 1.144 (August 2026). All imports use ES module style.
Material System (Fabric JSON)
Material defines surface appearance for Primitives through a JSON schema called Fabric. Materials compile to GLSL and are consumed by MaterialAppearance or PolylineMaterialAppearance.
While a material's image loads, CesiumJS renders a placeholder texture that
defaults to white. Since 1.144 the static Texture.defaultColor changes that
placeholder color to avoid white flashes during material construction. Note
that the Texture class is runtime-public but absent from the published
TypeScript definitions, so TypeScript callers need a cast.
Built-in Material Types
Surface: Color (color), Image (image, repeat), DiffuseMap, AlphaMap, SpecularMap, EmissionMap (image, channel(s), repeat), BumpMap, NormalMap (image, channel(s), strength, repeat).
Patterns: Grid (color, cellAlpha, lineCount, lineThickness), Stripe (evenColor, oddColor, repeat), Checkerboard (lightColor, darkColor, repeat), Dot (lightColor, darkColor, repeat).
Effects: Water (baseWaterColor, blendColor, normalMap, frequency, animationSpeed, amplitude), RimLighting (color, rimColor, width), Fade (fadeInColor, fadeOutColor, maximumDistance).
Terrain: ElevationContour (color, spacing, width), ElevationRamp (image, minimumHeight, maximumHeight).
Polyline: PolylineArrow (color), PolylineDash (color, gapColor, dashLength, dashPattern), PolylineGlow (color, glowPower, taperPower), PolylineOutline (color, outlineColor, outlineWidth).
Creating Materials
import { Material, Color, Cartesian2 } from "cesium";
// Shorthand with fromType (preferred for built-in types)
const colorMat = Material.fromType("Color", { color: new Color(1.0, 0.0, 0.0, 0.5) });
// Full Fabric notation
const gridMat = new Material({
fabric: {
type: "Grid",
uniforms: { color: Color.GREEN, cellAlpha: 0.1, lineCount: new Cartesian2(8, 8) },
},
});
// Async loading -- awaits textures before first frame, no flicker
const imageMat = await Material.fromTypeAsync("Image", { image: "./textures/facade.png" });
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.
- 1mo ago Changed · +49 lines 09f8e26337fc
- 2mo ago First seen · 293 lines · 83 tokens per session scan A 2f9e2f7872bc
cesiumjs-materials-shaders is a skill published in the GitHub repository CesiumGS/cesiumjs-skills (194 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 83 tokens to every session and 3,690 once invoked, about $0.0003 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-08-30.
cesiumjs-materials-shaders compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cesiumjs-materials-shadersCesiumGS/cesiumjs-skills | Skill | 194 | 1mo ago | Apache-2.0 | A | 83 | Claude Code |
| tools-unity-behavior-designerIdoCohen560/claude-unity-game-studio | Skill | 27 | 4mo ago | MIT | A | 29 | Claude Code |
| tools-unity-flowcanvasIdoCohen560/claude-unity-game-studio | Skill | 27 | 4mo ago | MIT | A | 21 | Claude Code |
| tools-unity-gameplay-ability-systemIdoCohen560/claude-unity-game-studio | Skill | 27 | 4mo ago | MIT | A | 29 | Claude Code |
| tools-unity-profilingIdoCohen560/claude-unity-game-studio | Skill | 27 | 4mo ago | MIT | A | 26 | Claude Code |
| tools-unity-state-machineIdoCohen560/claude-unity-game-studio | Skill | 27 | 4mo ago | MIT | A | 22 | Claude Code |
| eng-unity-mobile-optimizationIdoCohen560/claude-unity-game-studio | Skill | 27 | 4mo ago | MIT | A | 22 | Claude Code |