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 kyu-n/gdx-claude-skills --skill libgdx-camera-viewportgit clone --depth 1 https://github.com/kyu-n/gdx-claude-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/kyu-n/gdx-claude-skills/libgdx-camera-viewport)<a href="https://agentmods.dev/skills/kyu-n/gdx-claude-skills/libgdx-camera-viewport"><img src="https://agentmods.dev/badge/skills/kyu-n/gdx-claude-skills/libgdx-camera-viewport/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/kyu-n/gdx-claude-skills/libgdx-camera-viewport"><img src="https://agentmods.dev/badge/skills/kyu-n/gdx-claude-skills/libgdx-camera-viewport.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.00083 | $0.04269 |
| Opus 5 | $0.00042 | $0.02135 |
| Sonnet 5 | $0.00017 | $0.00854 |
| Haiku 4.5 | $0.00008 | $0.00427 |
Grade A, and why
libgdx-camera-viewport 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 12d 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 — 407 lines — stays where its author put it; the contents beside it link to each section on GitHub.
libGDX Camera & Viewport
Quick reference for Camera, OrthographicCamera, PerspectiveCamera, the Viewport hierarchy, coordinate conversion, and resize handling.
Camera Base Class
com.badlogic.gdx.graphics.Camera — abstract base for both orthographic and perspective cameras.
Public Fields
| Field | Type | Default | Notes |
|---|---|---|---|
position |
final Vector3 |
(0, 0, 0) |
Mutable object, immutable reference |
direction |
final Vector3 |
(0, 0, -1) |
Points into the screen |
up |
final Vector3 |
(0, 1, 0) |
|
near |
float |
1 |
Near clipping plane |
far |
float |
100 |
Far clipping plane |
viewportWidth |
float |
0 |
|
viewportHeight |
float |
0 |
|
combined |
final Matrix4 |
Projection × View matrix | |
projection |
final Matrix4 |
Projection matrix only | |
view |
final Matrix4 |
View matrix only | |
invProjectionView |
final Matrix4 |
Inverse of combined | |
frustum |
final Frustum |
View frustum for culling |
All Vector3 and Matrix4 fields are final — the objects are mutable but the references cannot be reassigned. There is no setPosition(), moveTo(), setDirection(), or setFov() method. Modify fields directly:
camera.position.set(x, y, 0); // set position
camera.position.add(dx, dy, 0); // move by delta
camera.direction.set(0, 0, -1); // reset direction
Key Methods
// MUST call after changing ANY camera property (position, zoom, etc.)
void update()
void update(boolean updateFrustum) // false = skip frustum update (minor perf gain)
// Orientation
void lookAt(float x, float y, float z)
void lookAt(Vector3 target)
void normalizeUp()
// Transform
void rotate(float angle, float axisX, float axisY, float axisZ)
void rotate(Vector3 axis, float angle)
void rotate(Matrix4 transform)
void rotate(Quaternion quat)
void rotateAround(Vector3 point, Vector3 axis, float angle)
void translate(float x, float y, float z)
void translate(Vector3 vec)
void transform(Matrix4 transform)
// Coordinate conversion — see Coordinate Conversion section
Vector3 unproject(Vector3 screenCoords)
Vector3 project(Vector3 worldCoords)
Ray getPickRay(float screenX, float screenY)
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.
- 12d ago First seen · 407 lines · 83 tokens per session scan A f192ba4820c4
libgdx-camera-viewport is a skill published in the GitHub repository kyu-n/gdx-claude-skills (4 stars, last pushed 7mo ago), licensed MIT. It adds 83 tokens to every session and 4,269 once invoked, about $0.0004 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.
Other skills, from other repositories
cesiumjs-models-particles
CesiumJS models, glTF, and particle effects - Model, KHRmeshoptcompression, CAD glTF extensions, EdgeDisplayMode, ModelAnimation, ModelNode, ParticleSystem, emitters, GPM extensions. Use when loading compressed or CAD-style glTF/GLB models, controlling edge rendering, playing model animations, positioning particles…
cesiumjs-materials-shaders
CesiumJS materials and post-processing — Material, Fabric JSON, MaterialAppearance, ImageBasedLighting, PostProcessStage, PostProcessStageLibrary, bloom, depth of field, ambient occlusion, FXAA, tonemapping, BlendingState. Use when defining Fabric materials for entities or primitives, configuring PBR image-based…
atmosphere-shader
Generate physically-based atmospheric scattering shaders — sky domes, planetary atmospheres, LUT-optimized pipelines, depth-aware post-processing. Four modes — sky-dome, atmosphere-post, planet, lut. Triggers on atmospheric scattering, sky shader, sunset rendering, planet atmosphere, Rayleigh scattering, Mie…
particle-swarm-sim
Generate 20,000+ particle swarm simulators in two modes: sandbox (complete Three.js host runtime with gesture controls, security validation, code injection pipeline) and sim (behavior function bodies that position/color particles via a sandboxed API). The AI writes ONLY a function body — the host handles rendering…
sprite-forge
Generate game sprites, SVG characters, ASCII art, animated mascots, and isometric turnarounds from images or descriptions. Five output modes: SVG characters, game sprite sheets with atlas metadata, 8-way isometric turnarounds, ASCII/Unicode terminal art, GSAP-animated mascots. Triggers on sprite, pixel art, SVG…
meshy-3d-generation
Generate 3D models, textures, images, rig characters, and animate them using the Meshy AI API. Handles API key detection, setup, and all generation workflows via direct HTTP calls. Use when the user asks to create 3D models, convert text/images to 3D, texture models, rig or animate characters, or interact with the…