Agent skill

Gltf Asset Optimization

by elodin-sys in elodin-sys/elodin

Reduce the size of glTF/GLB 3D assets to cut Git LFS bandwidth/storage while keeping them loadable by the editor's Bevy 0.18 glTF loader.

Apache-2.0Auto-check passedAI & LLM Engineering

Install Gltf Asset Optimization

skills CLI
$ npx skills add elodin-sys/elodin --skill gltf-asset-optimization -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install elodin-sys/elodin gltf-asset-optimization --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/elodin-sys/elodin.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/gltf-asset-optimization .claude/skills/gltf-asset-optimization && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gltf-asset-optimization
GitHub stars
547
Token cost
~1k tokens
SKILL.md length
430 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Reduce the size of glTF/GLB 3D assets to cut Git LFS bandwidth/storage while keeping them loadable by the editor's Bevy 0.18 glTF loader.

  • Works in 3 steps: Diagnose where the bytes are → Optimize (use the bundled script) → Verify before committing
  • Shrinking .glb/.gltf files in assets/
  • SKILL.md covers Hard constraint: stay…, Step 1: Diagnose where the…, Step 2: Optimize (use the… and Choosing a ratio, plus 2 more sections
  • Calls npx and git

What it does

Gltf Asset Optimization is an agent skill from elodin-sys/elodin. Reduce the size of glTF/GLB 3D assets to cut Git LFS bandwidth/storage while keeping them loadable by the editor's Bevy 0.18 glTF loader. Use when shrinking .glb/.gltf files in assets/, addressing LFS quota/bandwidth, or when a model is too large. Produces plain glTF 2.0 (no Draco/meshopt/quantization, which Bevy cannot read).

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering LLM inference and serving and Game assets and audio. It works with Git. The repository describes itself as: Elodin simulation and flight software monorepo. The licence is Apache-2.0.

When your agent uses it

  • Shrinking .glb/.gltf files in assets/
  • Addressing LFS quota/bandwidth
  • A model is too large

Example prompts

  • “/gltf-asset-optimization”

Requirements

  • Node.js

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Diagnose where the bytes are
  2. Optimize (use the bundled script)
  3. Verify before committing

What it can do on your machine

Read from SKILL.md and the folder at commit 3bc1d99. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.rs
    • gltf.report

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gltf Asset Optimization loads about 1k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 430 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from elodin-sys/elodin at commit 3bc1d99, republished under its Apache-2.0 licence (© elodin-sys). 430 words, ~1,011 tokens.

Download SKILL.mdSave it as .claude/skills/gltf-asset-optimization/SKILL.md (or your agent's skills folder).
name
gltf-asset-optimization
description
Reduce the size of glTF/GLB 3D assets to cut Git LFS bandwidth/storage while keeping them loadable by the editor's Bevy 0.18 glTF loader. Use when shrinking .glb/.gltf files in assets/, addressing LFS quota/bandwidth, or when a model is too large. Produces plain glTF 2.0 (no Draco/meshopt/quantization, which Bevy cannot read).

glTF/GLB Asset Optimization

Large .glb/.ktx2 assets in assets/ are tracked by Git LFS. Every clone pulls the LFS objects at HEAD, and GitHub bills that bandwidth to the repo owner (including forks and anonymous clones). Shrinking the assets that ship at HEAD is the most direct way to lower the recurring bill.

Hard constraint: stay Bevy-0.18-safe

The editor loads models through Bevy 0.18's glTF loader, which does not support these extensions (see https://docs.rs/bevy_gltf/0.18.0/bevy_gltf/):

  • KHR_draco_mesh_compression, EXT_meshopt_compression, KHR_mesh_quantization
  • KHR_texture_basisu, EXT_texture_webp, EXT_mesh_gpu_instancing

So the usual 5–10× geometry-compression tools (gltfpack, gltf-transform optimize defaults, Draco) produce files that fail to render in the editor. Output must be plain glTF 2.0 core. Always verify extensionsRequired is empty before committing.

Step 1: Diagnose where the bytes are

bash
npx @gltf-transform/cli inspect path/to/model.glb
  • Geometry-dominated (many meshes, large vertex/index counts, few/no textures): the only Bevy-safe lever is reducing triangle count + dropping unused attributes. Common in CAD exports (over-tessellated, f32 positions, unused TEXCOORD_0).
  • Texture-dominated (large embedded PNG/JPEG): resize/re-encode textures, but keep them as PNG/JPEG (Bevy can't read basisu/webp here).

Step 2: Optimize (use the bundled script)

bash
# keep-ratio = fraction of triangles to KEEP (default 0.25)
scripts/optimize-glb.sh assets/<model>.glb 0.25

The script runs a lossless cleanup (drop unused UVs, weld, join, prune; no compression/instancing) then decimates triangles, and verifies the result needs no extensions. By default it overwrites the input; the original is recoverable with git checkout -- assets/<model>.glb (LFS-tracked).

Equivalent manual pipeline:

bash
npx @gltf-transform/cli optimize in.glb tmp.glb \
  --compress false --texture-compress false --instance false --palette false --simplify false
npx @gltf-transform/cli simplify tmp.glb out.glb --ratio 0.25 --error 0.01
Show full SKILL.md (217 more words)Show less

Choosing a ratio

Size scales ~linearly with triangle ratio for uncompressed geometry. Reference numbers from a 119 MB CAD drone (edu-450-v2-drone.glb, geometry-only):

keep-ratioresultreductionuse when
lossless only105 MB12%never decimate (hero asset, close-ups)
0.557 MB52%curved surfaces, mid-distance
0.2532 MB73%good default for viewport props
0.115 MB87%small-in-viewport, aggressive

Tune with: lower --ratio for more reduction; if curved surfaces look faceted, raise it. If gaps open between separate parts, add --lock-border true to the simplify step (reduces achievable savings on multi-shell models). GLB_SIMPLIFY_ERROR env var caps the simplification error (default 0.01).

Step 3: Verify before committing

  1. Confirm Bevy-safe: the script aborts unless extensionsRequired is empty.
  2. Visual check: open the output in the editor (drag into a schematic) or https://gltf.report. Watch for faceting on curved surfaces and gaps between parts.
  3. Do not commit (the developer commits). Note the asset is LFS-tracked.

Prefer not to ship it at all

If an asset is optional or only used by one example, consider removing it from LFS and loading it on demand (the editor supports remote glb path="https://…" via the web_asset plugin). Eliminating a HEAD asset saves its full size on every clone. Note: a dead/remote URL must point at a reachable host — otherwise use a local path.

© elodin-sys, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/gltf-asset-optimization of elodin-sys/elodin.

Open the folder on GitHubat commit 3bc1d99

Compare with similar skills

Gltf Asset Optimization next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gltf Asset Optimization compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gltf Asset Optimization this skillelodin-sys/elodin547—~1kAutomated safety check: PassApache-2.0
Build Zendnnamd/ZenDNN158—~2kAutomated safety check: PassCustom licence
Source Command Dev Docs SyncNetis/heron102—~1.4kAutomated safety check: PassApache-2.0
SageMaker Serving Image Selectionhuggingface/skills11k1 repos~4.6kAutomated safety check: PassApache-2.0
Fine-Tuning ExpertJeffallan/claude-skills12k1 repos~1.7kAutomated safety check: PassMIT
Hugging Face Local Model Evalshuggingface/skills11k2 repos~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Build Zendnn

    amd/ZenDNN

    Build the standalone ZenDNN native library (zendnnl) from source with the alternate compute backends OFF (no oneDNN, libxsmm, parlooper, fbgemm), keeping AOCL DLP, which is the GEMM backend zendnnl…

    158 GitHub stars~2k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Sync documentation with project state using ICAV workflow. An agent skill from Netis/heron.

    102 GitHub stars~1.4k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • Official

    Chooses the right serving container and current image URI for deploying a Hugging Face model to a SageMaker endpoint, preferring Hugging Face images over generic ones.

    11k GitHub starsUsed in 1 repo~4.6k tokens
    AI & LLM EngineeringAuto-check passed
  • Fine-Tuning Expert

    Jeffallan/claude-skills

    Guides LLM fine-tuning with LoRA and QLoRA through Hugging Face PEFT, from dataset validation and training checks to adapter merging, quantization and deployment.

    12k GitHub starsUsed in 1 repo~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Runs evaluations of Hugging Face Hub models on local hardware with inspect-ai or lighteval, and helps choose between vLLM, Transformers and accelerate backends.

    11k GitHub starsUsed in 2 repos~1.6k tokens
    AI & LLM EngineeringAuto-check passed
  • Qwen Mtp Gguf

    R6410418/Jackrong-llm-finetuning-guide

    Complete agent-ready workflow for Qwen-family MTP or nextn GGUF conversion and release.

    1.7k GitHub stars~1.7k tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed

More from elodin-sys/elodin

All 14 skills in this repo
  • Branch Regression

    elodin-sys/elodin

    Compare two git branches (usually the current branch vs main) by running every example on each, capturing exit codes, logs, and editor screenshots, then diffing the results.

    547 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Elodin Cranelift

    elodin-sys/elodin

    Work with the Cranelift JIT MLIR backend. An agent skill from elodin-sys/elodin.

    547 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Elodin DB

    elodin-sys/elodin

    Work with Elodin-DB, the time-series telemetry database. An agent skill from elodin-sys/elodin.

    547 GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed
  • Elodin Dev

    elodin-sys/elodin

    Develop and contribute to the Elodin codebase. An agent skill from elodin-sys/elodin.

    547 GitHub stars~896 tokensUpdated yesterday
    Auto-check passed
  • Elodin Editor Dev

    elodin-sys/elodin

    Contribute to the Elodin Editor, the 3D viewer and graphing tool.

    547 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Elodin Headless Capture

    elodin-sys/elodin

    Run the Elodin Editor without a physical display in Gamescope, take screenshots, and record video through PipeWire and GStreamer.

    547 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check: notes

Works with

Questions about Gltf Asset Optimization

What does Gltf Asset Optimization do?

Reduce the size of glTF/GLB 3D assets to cut Git LFS bandwidth/storage while keeping them loadable by the editor's Bevy 0.18 glTF loader. Gltf Asset Optimization is an agent skill from elodin-sys/elodin.18 glTF loader.

When should I use Gltf Asset Optimization?

Gltf Asset Optimization fits situations like: shrinking .glb/.gltf files in assets/; addressing LFS quota/bandwidth; A model is too large.

How do I install Gltf Asset Optimization in Claude Code?

Run `npx skills add elodin-sys/elodin --skill gltf-asset-optimization -a claude-code`. Or copy the skill folder (.cursor/skills/gltf-asset-optimization in elodin-sys/elodin) into .claude/skills/gltf-asset-optimization in your project. Claude Code loads it when a task matches its description.

How do I install Gltf Asset Optimization in Codex?

Run `npx skills add elodin-sys/elodin --skill gltf-asset-optimization -a codex`. Or copy the skill folder (.cursor/skills/gltf-asset-optimization in elodin-sys/elodin) into .agents/skills/gltf-asset-optimization in your project. Codex loads it when a task matches its description.

Can I use Gltf Asset Optimization in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add elodin-sys/elodin --skill gltf-asset-optimization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gltf-asset-optimization, .gemini/skills/gltf-asset-optimization, .github/skills/gltf-asset-optimization and .opencode/skills/gltf-asset-optimization in your project.

What does Gltf Asset Optimization need to run?

Going by SKILL.md and its folder, Gltf Asset Optimization needs the command-line tools its instructions call (npx and git). Our summary lists: Node.js.

Does Gltf Asset Optimization access the network?

SKILL.md names 2 domains. As links in the text: docs.rs and gltf.report. This is read from the text; nothing was executed.

Is Gltf Asset Optimization safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gltf Asset Optimization use?

Gltf Asset Optimization is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gltf Asset Optimization use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gltf Asset Optimization?

Skills that share tags, products or a category with Gltf Asset Optimization: Build Zendnn (amd/ZenDNN, 158 stars), Source Command Dev Docs Sync (Netis/heron, 102 stars), SageMaker Serving Image Selection (huggingface/skills, 11k stars) and Fine-Tuning Expert (Jeffallan/claude-skills, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gltf Asset Optimization?

elodin-sys (a GitHub organization) maintains it in elodin-sys/elodin, which has 547 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 7, 2026.

Source: elodin-sys/elodin on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.