cesiumjs-interaction SKILL.md skillA

cesiumjs-interaction from cesiumgs/cesiumjs-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add cesiumgs/cesiumjs-skills/cesiumjs-interaction@git:20260827.49e0612

Pins 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-interaction/SKILL.md
Versions recorded
4
Latest version
git:20260827.49e0612, committed Aug 27, 2026
First version recorded
Apr 1, 2026
Size
22,348 bytes
Repository stars
194
License
Apache-2.0

CesiumJS interaction and picking - ScreenSpaceEventHandler, multi-key KeyboardEventModifier input actions, Scene.pick, Scene.drillPick, Scene.pickPosition, Scene.snap edge snapping (1.144), mouse and touch events. Use when handling user clicks on the globe, selecting entities or 3D Tiles features, registering modifier-key shortcuts, implementing hover effects, snapping to model edges for measurement, or building drag-based interactions.

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 Interaction & Picking

Version baseline: CesiumJS v1.144 (ES module imports, Ion token required).

## ScreenSpaceEventHandler

Central class for mouse, touch, and pointer events on the Cesium canvas.
**Always construct a new `ScreenSpaceEventHandler` bound to `viewer.scene.canvas`
for interaction logic** -- it isolates your listeners from Cesium's default
camera/selection handlers and is the idiomatic pattern shown across all recipes
below.

```js
import { ScreenSpaceEventHandler, ScreenSpaceEventType,
  KeyboardEventModifier, defined } from "cesium";

let handler = new ScreenSpaceEventHandler(viewer.scene.canvas);

// Register a click handler
handler.setInputAction((event) => {
  console.log("Clicked at", event.position.x, event.position.y);
}, ScreenSpaceEventType.LEFT_CLICK);

// With keyboard modifier (Shift+Click)
handler.setInputAction((event) => {
  console.log("Shift+Click at", event.position);
}, ScreenSpaceEventType.LEFT_CLICK, KeyboardEventModifier.SHIFT);

// With multiple modifiers (Ctrl+Shift+Click, 1.142+)
handler.setInputAction((event) => {
  console.log("Ctrl+Shift+Click at", event.position);
}, ScreenSpaceEventType.LEFT_CLICK, [
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cesiumgs/cesiumjs-skills/cesiumjs-interaction@sha256:6787901f5ea7a3c1

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

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xf2gcazcw74pt2jr.svg)](https://markdownregistry.com/a/art_xf2gcazcw74pt2jr)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Apr 1, 2026 and Aug 27, 2026, about one every 49 days.

versioncommittedcommitsizeaudit
git:20260827.49e0612 latest2026-08-27 49e0612 22,348 BA view · diff
git:20260716.ba1c2d12026-07-16 ba1c2d1 15,077 BA view · diff
git:20260601.e67e5c62026-06-01 e67e5c6 15,077 BA view · diff
git:20260401.d67bc272026-04-01 d67bc27 14,101 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (22348 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

GitHub

cesiumgs/cesiumjs-skills · 194 stars · license Apache-2.0 · pushed 2026-09-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xf2gcazcw74pt2jr
GET https://markdownregistry.com/api/v1/resolve?ref=cesiumgs/cesiumjs-skills/cesiumjs-interaction
GET https://markdownregistry.com/api/v1/blob/6787901f5ea7a3c1c2248c2ab216431d4d63fec3f27c3949424c50fe899f4c7f

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.

More from cesiumgs/cesiumjs-skills

cesiumjs-3d-tiles SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-3d-tiles/SKILL.md · CesiumJS 3D Tiles - Cesium3DTileset, compressed and CAD-style glTF content, MVTDataProvider…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-camera SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-camera/SKILL.md · CesiumJS camera control - Camera, flyTo, lookAt, setView, ScreenSpaceCameraController, composable Controller camera…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-core-utilities SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-core-utilities/SKILL.md · CesiumJS core utilities and networking - Resource, Color, Event, Request, RequestScheduler, error handling, helper…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-custom-shader SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-custom-shader/SKILL.md · CustomShader authoring — vertexShaderText and fragmentShaderText against VertexInput, FragmentInput, FeatureIds…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-entities SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-entities/SKILL.md · CesiumJS entities and data sources - Entity, EntityCollection, DataSource, GeoJsonDataSource, KmlDataSource…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-imagery SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-imagery/SKILL.md · CesiumJS imagery layers - ImageryProvider, ImageryLayer, ImageryLayerCollection, WMS, WMTS, Bing, OpenStreetMap…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-materials-shaders SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-materials-shaders/SKILL.md · CesiumJS materials and post-processing — Material, Fabric JSON, MaterialAppearance, ImageBasedLighting…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-models-particles SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-models-particles/SKILL.md · CesiumJS models, glTF, and particle effects - Model, KHR_meshopt_compression, CAD glTF extensions, EdgeDisplayMode…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-primitives SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-primitives/SKILL.md · CesiumJS primitives and geometry - Primitive, GeometryInstance, Appearance, BufferPrimitive collections…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-spatial-math SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-spatial-math/SKILL.md · CesiumJS spatial math - Cartesian3, Cartographic, Matrix4, Quaternion, Transforms, Ellipsoid, BoundingSphere…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-terrain-environment SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-terrain-environment/SKILL.md · CesiumJS terrain, globe, and environment - TerrainProvider, Globe, sampleTerrain, atmosphere, sky, fog, lighting…
git:20260827.49e0612 · audit A · 194 stars
cesiumjs-time-properties SKILL.md skill
cesiumgs/cesiumjs-skills · skills/cesiumjs-time-properties/SKILL.md · CesiumJS time, properties, and animation - Clock, JulianDate, TimeInterval, Property, SampledProperty…
git:20260827.49e0612 · audit A · 194 stars

Every file in cesiumgs/cesiumjs-skills

Browse by kind, by grade A, or by owner.