Agent skill

Gltf Transform

by rawwerks in rawwerks/VibeCAD

Optimize and post-process GLB/glTF 3D models. An agent skill from rawwerks/VibeCAD.

MITAuto-check passedGame Development

Install Gltf Transform

skills CLI
$ npx skills add rawwerks/VibeCAD --skill gltf-transform -a claude-code

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

GitHub CLI
$ gh skill install rawwerks/VibeCAD gltf-transform --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/rawwerks/VibeCAD.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/gltf-transform/skills/gltf-transform .claude/skills/gltf-transform && 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-transform
GitHub stars
121
Token cost
~825 tokens
SKILL.md length
169 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Optimize and post-process GLB/glTF 3D models. An agent skill from rawwerks/VibeCAD.

  • Works in 3 steps: build123d exports high-quality CAD… → gltf-transform compresses for web delivery → render-glb verifies the result
  • Compressing models for web delivery
  • SKILL.md covers Zero-Setup with bunx, Quick Start, CAD Workflow Integration and Compression Methods, plus 3 more sections
  • Calls bunx

What it does

Gltf Transform is an agent skill from rawwerks/VibeCAD. Optimize and post-process GLB/glTF 3D models. Use when compressing models for web delivery, reducing file size, simplifying geometry, inspecting model stats, merging models, or converting textures. Triggers on: optimize GLB, compress model, reduce file size, simplify mesh, draco compression, meshopt, webp textures, inspect model, merge GLB, model optimization.

Its SKILL.md is about 830 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 Game Development, covering 3D graphics and WebGL. The repository describes itself as: A library of Claude Code skills for teaching coding agents how to use various CAD tools. The licence is MIT.

When your agent uses it

  • Compressing models for web delivery
  • Reducing file size
  • Simplifying geometry
  • Inspecting model stats

Example prompts

  • “/gltf-transform”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. build123d exports high-quality CAD geometry
  2. gltf-transform compresses for web delivery
  3. render-glb verifies the result

What it can do on your machine

Read from SKILL.md and the folder at commit 609e888. 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:

    • bunx

    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):

    • gltf-transform.dev
    • github.com

    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 Transform loads about 825 tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 169 words of instructions outside code blocks.

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

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 rawwerks/VibeCAD at commit 609e888, republished under its MIT licence (© rawwerks). 169 words, ~825 tokens.

Download SKILL.mdSave it as .claude/skills/gltf-transform/SKILL.md (or your agent's skills folder).
name
gltf-transform
description
Optimize and post-process GLB/glTF 3D models. Use when compressing models for web delivery, reducing file size, simplifying geometry, inspecting model stats, merging models, or converting textures. Triggers on: optimize GLB, compress model, reduce file size, simplify mesh, draco compression, meshopt, webp textures, inspect model, merge GLB, model optimization.

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:

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

First run downloads the tool, subsequent runs are instant.

Quick Start

bash
# 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

MethodBest ForTrade-offs
DracoWeb delivery, Three.jsSmallest geometry, requires decoder
MeshoptUniversal, animationsGood compression + animation support
QuantizeCompatibilityNo decoder needed, moderate compression
bash
# 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

bash
# 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
bash
bunx @gltf-transform/cli inspect model.glb

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

Simplify Geometry
bash
# Weld duplicate vertices first
bunx @gltf-transform/cli weld input.glb temp.glb

# Then simplify
bunx @gltf-transform/cli simplify temp.glb output.glb --ratio 0.5

Useful for CAD models which often have more detail than needed for web viewing.

Merge Multiple Models
bash
bunx @gltf-transform/cli merge part1.glb part2.glb assembly.glb
Aggressive Optimization
bash
bunx @gltf-transform/cli optimize input.glb output.glb \
  --compress draco \
  --texture-compress webp \
  --simplify true \
  --simplify-ratio 0.5

When to Use

ScenarioCommands
Web deliveryoptimize --compress draco --texture-compress webp
Check model statsinspect
High-poly CAD modelweld then simplify --ratio 0.5
Combine partsmerge
Debug issuesinspect then targeted fixes

© rawwerks, MIT. 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 plugins/gltf-transform/skills/gltf-transform of rawwerks/VibeCAD.

Open the folder on GitHubat commit 609e888

Compare with similar skills

Gltf Transform 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 Transform compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gltf Transform this skillrawwerks/VibeCAD121—~825Automated safety check: PassMIT
Image to Three.js Modelimg2threejs/img2threejs18k1 repos~8.2kAutomated safety check: PassApache-2.0
Web CloneJane-xiaoer/claude-skill-web-clone1k1 repos~2.7kAutomated safety check: PassMIT
Threejs Game Directormajidmanzarpour/threejs-game-skills2.5k—~2.2kAutomated safety check: PassMIT
Game Asset Generatorhtdt/godogen7.1k—~2.8kAutomated safety check: PassMIT
Threejs Gameplay Systemsvalkor-ai/loom1.2k1 repos~1.4kAutomated safety check: PassApache-2.0

Similar skills

  • Image to Three.js Model

    img2threejs/img2threejs

    Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.

    18k GitHub starsUsed in 1 repo~8.2k tokens
    Game DevelopmentAuto-check passed
  • Web Clone

    Jane-xiaoer/claude-skill-web-clone

    网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 /…

    1k GitHub starsUsed in 1 repo~2.7k tokens
    Game DevelopmentAuto-check passed
  • Threejs Game Director

    majidmanzarpour/threejs-game-skills

    Entrypoint for building, upgrading, and finishing Three.js browser games.

    2.5k GitHub stars~2.2k tokensUpdated 11 days ago
    Game DevelopmentAuto-check passed
  • Generates game art from text prompts: PNG images, GLB 3D models, rigged characters, animations and sprites, with background removal.

    7.1k GitHub stars~2.8k tokensUpdated 7 days ago
    Game DevelopmentAuto-check passed
  • Build and iterate playable Three.js game systems: starter scaffold, architecture, design briefs, core loops, level and encounter design, entities, input, camera, collision and physics, scoring…

    1.2k GitHub starsUsed in 1 repo~1.4k tokens
    Game DevelopmentAuto-check passed
  • Threejs World Generation

    calesthio/OpenMontage

    Build deterministic, editable, free-viewpoint Three.js worlds from text or structured briefs.

    66k GitHub stars~2k tokensUpdated 5 days ago
    Game DevelopmentAuto-check passed

More from rawwerks/VibeCAD

  • Build123d

    rawwerks/VibeCAD

    CAD modeling with build123d Python library. An agent skill from rawwerks/VibeCAD.

    121 GitHub stars~1.4k tokensUpdated 9 mo ago
    Auto-check: notes
  • Model Compare

    rawwerks/VibeCAD

    Compare 3D CAD models using boolean operations (IoU, Dice, precision/recall).

    121 GitHub stars~1.4k tokensUpdated 9 mo ago
    Auto-check passed
  • Render Glb

    rawwerks/VibeCAD

    Render GLB 3D models to PNG images for visual verification. An agent skill from rawwerks/VibeCAD.

    121 GitHub stars~527 tokensUpdated 9 mo ago
    Auto-check passed

Questions about Gltf Transform

What does Gltf Transform do?

Optimize and post-process GLB/glTF 3D models. An agent skill from rawwerks/VibeCAD. Gltf Transform is an agent skill from rawwerks/VibeCAD. Optimize and post-process GLB/glTF 3D models.

When should I use Gltf Transform?

Gltf Transform fits situations like: compressing models for web delivery; reducing file size; simplifying geometry; inspecting model stats.

How do I install Gltf Transform in Claude Code?

Run `npx skills add rawwerks/VibeCAD --skill gltf-transform -a claude-code`. Or copy the skill folder (plugins/gltf-transform/skills/gltf-transform in rawwerks/VibeCAD) into .claude/skills/gltf-transform in your project. Claude Code loads it when a task matches its description.

How do I install Gltf Transform in Codex?

Run `npx skills add rawwerks/VibeCAD --skill gltf-transform -a codex`. Or copy the skill folder (plugins/gltf-transform/skills/gltf-transform in rawwerks/VibeCAD) into .agents/skills/gltf-transform in your project. Codex loads it when a task matches its description.

Can I use Gltf Transform 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 rawwerks/VibeCAD --skill gltf-transform -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-transform, .gemini/skills/gltf-transform, .github/skills/gltf-transform and .opencode/skills/gltf-transform in your project.

What does Gltf Transform need to run?

Going by SKILL.md and its folder, Gltf Transform needs the command-line tools its instructions call (bunx).

Does Gltf Transform access the network?

SKILL.md names 2 domains. As links in the text: gltf-transform.dev and github.com. This is read from the text; nothing was executed.

Is Gltf Transform 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 Transform use?

Gltf Transform is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gltf Transform use?

About 825 tokens (SKILL.md is roughly 3.3k 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 Transform?

Skills that share tags, products or a category with Gltf Transform: Image to Three.js Model (img2threejs/img2threejs, 18k stars), Web Clone (Jane-xiaoer/claude-skill-web-clone, 1k stars), Threejs Game Director (majidmanzarpour/threejs-game-skills, 2.5k stars) and Game Asset Generator (htdt/godogen, 7.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gltf Transform?

rawwerks (a GitHub user) maintains it in rawwerks/VibeCAD, which has 121 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on January 5, 2026.

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