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-file-io-preferencesgit 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-file-io-preferences)<a href="https://agentmods.dev/skills/kyu-n/gdx-claude-skills/libgdx-file-io-preferences"><img src="https://agentmods.dev/badge/skills/kyu-n/gdx-claude-skills/libgdx-file-io-preferences/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-file-io-preferences"><img src="https://agentmods.dev/badge/skills/kyu-n/gdx-claude-skills/libgdx-file-io-preferences.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.00066 | $0.03901 |
| Opus 5 | $0.00033 | $0.01951 |
| Sonnet 5 | $0.00013 | $0.00780 |
| Haiku 4.5 | $0.00007 | $0.00390 |
Grade A, and why
libgdx-file-io-preferences 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 — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
libGDX File I/O & Preferences
Quick reference for FileHandle, Files.FileType, and Preferences. Covers file reading/writing, platform-specific path resolution, and persistent key-value storage.
FileType Enum (Files.FileType)
Five values: Classpath, Internal, External, Absolute, Local.
| FileType | Writable | Description |
|---|---|---|
Classpath |
No | Java classpath resource. Most restrictive — no list(), no isDirectory(), no Android audio. |
Internal |
No | Asset directory. Falls back to classpath on desktop if file not found. |
External |
Yes | User/app external storage. |
Local |
Yes | App-private storage. |
Absolute |
Yes | Literal filesystem path. |
Classpath and Internal are always read-only. Writing throws GdxRuntimeException.
Platform Path Resolution — WHERE Each FileType Points
| FileType | Desktop (LWJGL3) | Android | iOS (RoboVM) | GWT |
|---|---|---|---|---|
Internal |
Working dir, falls back to classpath | APK assets/ via AssetManager |
App bundle (NSBundle.mainBundle) |
Preloaded assets |
Local |
Working dir (new File("").getAbsolutePath()) |
Context.getFilesDir() (app private) |
$HOME/Library/local/ |
Not supported (throws) |
External |
User home (System.getProperty("user.home")) |
Context.getExternalFilesDir(null) (app-scoped) |
$HOME/Documents/ |
Not supported (throws) |
Absolute |
Literal path | Literal path | Literal path | Not supported (throws) |
Classpath |
Classloader resource | Classloader resource | Classloader resource | Preloaded assets |
Gotchas:
- Android
ExternalusesgetExternalFilesDir(null)(app-scoped, e.g./storage/emulated/0/Android/data/<pkg>/files/). This does NOT requireWRITE_EXTERNAL_STORAGEpermission. Files are deleted on app uninstall. Older libGDX versions usedEnvironment.getExternalStorageDirectory()which DID need the permission — that is no longer the case. - Desktop
LocalandInternalboth resolve relative to the JVM working directory. When launching from IntelliJ/Gradle, this may not be theassets/folder — configure the working directory in your run configuration. - iOS
LocalandExternalare different paths (Library/local/vsDocuments/), unlike what some documentation claims. - GWT supports only
InternalandClasspath. All other types throwGdxRuntimeException. GWT files are read-only.
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 · 297 lines · 66 tokens per session scan A c8955f4646af
libgdx-file-io-preferences is a skill published in the GitHub repository kyu-n/gdx-claude-skills (4 stars, last pushed 7mo ago), licensed MIT. It adds 66 tokens to every session and 3,901 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.
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…