cesiumjs-primitives SKILL.md skillA
cesiumjs-primitives from cesiumgs/cesiumjs-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cesiumgs/cesiumjs-skills/cesiumjs-primitives@git:20260827.49e0612Pins git:20260827.49e0612 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cesiumgs/cesiumjs-skills
- Path
skills/cesiumjs-primitives/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260827.49e0612, committed Aug 27, 2026
- First version recorded
- Apr 1, 2026
- Size
- 28,144 bytes
- Repository stars
- 194
- License
- Apache-2.0
CesiumJS primitives and geometry - Primitive, GeometryInstance, Appearance, BufferPrimitive collections, GeoJsonPrimitive, Billboard/Label/PointPrimitive collections, built-in geometry shapes, ground primitives, classification. Use when rendering performance-critical static or vector geometry, loading GeoJSON without entities, creating custom shapes, batching draw calls, or using low-level collections.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# CesiumJS Primitives & Geometry
> **Applies to:** CesiumJS v1.144+ (ES module imports, `??` instead of `defaultValue`)
## Architecture
The Primitive API is the low-level rendering layer beneath the Entity API, trading convenience for performance.
**Core formula:** `Primitive = GeometryInstance[] + Appearance`
- **GeometryInstance** -- positions a Geometry in world space with per-instance attributes (color, show).
- **Geometry** -- vertex data describing a shape (polygon, box, ellipsoid, etc.).
- **Appearance** -- GLSL shaders + render state + optional Material that shade the geometry.
Primitives are **immutable after first render** -- geometry cannot change, but per-instance attributes update via `primitive.getGeometryInstanceAttributes(id)`.
## Primitive
```js
import {
Viewer, Primitive, GeometryInstance, EllipseGeometry,
EllipsoidSurfaceAppearance, Material, Cartesian3, Math as CesiumMath,
} from "cesium";
const viewer = new Viewer("cesiumContainer");
const scene = viewer.scene;
const primitive = scene.primitives.add(new Primitive({
geometryInstances: new GeometryInstance({
geometry: new EllipseGeometry({
center: Cartesian3.fromDegrees(-100.0, 40.0),
…Read the whole file at its exact version.
How to install
mdr add cesiumgs/cesiumjs-skills/cesiumjs-primitives@sha256:b8df406a7d56df87The line at the top of this page pins the label git:20260827.49e0612, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_5dwxu7b7nljfk2ye)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Apr 1, 2026 and Aug 27, 2026, about one every 37 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260827.49e0612 latest | 2026-08-27 | 49e0612 | 28,144 B | A | view · diff |
| git:20260716.ba1c2d1 | 2026-07-16 | ba1c2d1 | 21,649 B | A | view · diff |
| git:20260601.e67e5c6 | 2026-06-01 | e67e5c6 | 21,067 B | A | view · diff |
| git:20260421.9bf14a5 | 2026-04-21 | 9bf14a5 | 16,065 B | A | view · diff |
| git:20260401.d67bc27 | 2026-04-01 | d67bc27 | 16,078 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (28144 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
cesiumgs/cesiumjs-skills · 194 stars · license Apache-2.0 · pushed 2026-09-14 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5dwxu7b7nljfk2ye GET https://markdownregistry.com/api/v1/resolve?ref=cesiumgs/cesiumjs-skills/cesiumjs-primitives GET https://markdownregistry.com/api/v1/blob/b8df406a7d56df873868a46131074789aaa2bc23f37cb2b7a4f0ff098c19f02a
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.