gltf-transform

gltf-transform is a skill for Claude Code from rawwerks/VibeCAD. It costs 83 tokens per session (843 once invoked), scanned B, original, MIT.

A command-line toolkit for inspecting, optimizing, compressing, and converting GLB and glTF files, which are formats for 3D models.

In plain words
What is it for?
Use it to inspect model statistics, compress geometry with methods such as Draco or Meshopt, convert textures, and prepare GLB files for web viewers.
Why use it?
It helps reduce model size and prepare geometry and textures for web delivery while checking what the file contains.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the gltf-transform plugin — 1 skill shipped together

Good fit Use it to inspect model statistics, compress geometry with methods such as Draco or Meshopt, convert textures, and prepare GLB files for web viewers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rawwerks/vibecad/gltf-transform
Install

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.

Any agent
npx skills add rawwerks/VibeCAD --skill gltf-transform
Clone the repo
git clone --depth 1 https://github.com/rawwerks/VibeCAD

Made for: Claude Code.

Or install gltf-transform, the plugin that ships this one along with the rest of its 1 skill.

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

agentmods badge for gltf-transform

README.md
[![agentmods](https://agentmods.dev/badge/skills/rawwerks/vibecad/gltf-transform/github.svg)](https://agentmods.dev/skills/rawwerks/vibecad/gltf-transform)
Your own site
<a href="https://agentmods.dev/skills/rawwerks/vibecad/gltf-transform"><img src="https://agentmods.dev/badge/skills/rawwerks/vibecad/gltf-transform/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.

agentmods 80×15 button for gltf-transform

Your own site · 80×15
<a href="https://agentmods.dev/skills/rawwerks/vibecad/gltf-transform"><img src="https://agentmods.dev/badge/skills/rawwerks/vibecad/gltf-transform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 843 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.00843
Opus 5.5 $0.00033 $0.00337
Sonnet 5.5 $0.00017 $0.00169
Haiku 4.5 $0.00008 $0.00084

Measured 3mo ago against content hash 0e216c42d4ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

gltf-transform scanned grade B with 1 finding 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 3mo 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

No installation required. Run any command with:
plugins/gltf-transform/skills/gltf-transform/SKILL.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

glTF Transform

Post-process GLB/glTF files: optimize, compress, inspect, and transform 3D models.

Zero-Setup with bunx

No installation required. Run any command with:

bunx @gltf-transform/cli <command> [args]

First run downloads the tool, subsequent runs are instant.

Quick Start

# Inspect model stats first
bunx @gltf-transform/cli inspect model.glb

# One-command optimization (good defaults)
bunx @gltf-transform/cli optimize input.glb output.glb --compress draco --texture-compress webp

CAD Workflow Integration

Typical pipeline after generating models with build123d:

create geometry → export GLB → optimize → verify visually
  1. build123d exports high-quality CAD geometry
  2. gltf-transform compresses for web delivery
  3. render-glb verifies the result

Compression Methods

Method Best For Trade-offs
Draco Web delivery, Three.js Smallest geometry, requires decoder
Meshopt Universal, animations Good compression + animation support
Quantize Compatibility No decoder needed, moderate compression
# Draco - best geometry compression
bunx @gltf-transform/cli draco input.glb output.glb

# Meshopt - geometry + animation compression
bunx @gltf-transform/cli meshopt input.glb output.glb

# Quantize only - no external decoder needed
bunx @gltf-transform/cli quantize input.glb output.glb

Texture Compression

# WebP - good compression, wide browser support
bunx @gltf-transform/cli webp input.glb output.glb

# Resize large textures
bunx @gltf-transform/cli resize input.glb output.glb --width 1024 --height 1024

Common Operations

Inspect Model Stats

bunx @gltf-transform/cli inspect model.glb

Shows vertex count, file size breakdown, texture sizes - helps decide what to optimize.

Read the full file on GitHub · 118 lines

Changes

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.

  1. 3mo ago First seen · 118 lines · 0 tokens per session scan B 0e216c42d4ec

Subscribe to this mod's changes

gltf-transform is a skill published in the GitHub repository rawwerks/VibeCAD (130 stars, last pushed 11mo ago), licensed MIT. It adds 83 tokens to every session and 843 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

gltf-transform compared with skills from other repositories

gltf-transform next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gltf-transformrawwerks/VibeCADSkill13011mo agoMITB83Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code