inspect-glb

inspect-glb is a skill for Claude Code, Codex from playcanvas/create-playcanvas. It costs 43 tokens per session (1,069 once invoked), scanned A, original, MIT.

A bundled offline inspector for examining GLB files, a 3D model format, before using them in PlayCanvas.

In plain words
What is it for?
It helps choose transforms and animation names, compare rigs, inspect characters or other assets, and detect cases that require a runtime check.
Why use it?
It reveals model dimensions, pivot and floor offsets, animations, joints, hierarchy, and whether bounds may change during animation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/playcanvas/create-playcanvas/inspect-glb
Any agent
npx skills add playcanvas/create-playcanvas --skill inspect-glb
Clone the repo
git clone --depth 1 https://github.com/playcanvas/create-playcanvas

Made for: Claude Code, Codex.

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 inspect-glb

README.md
[![agentmods](https://agentmods.dev/badge/skills/playcanvas/create-playcanvas/inspect-glb.svg)](https://agentmods.dev/skills/playcanvas/create-playcanvas/inspect-glb)
Your own site
<a href="https://agentmods.dev/skills/playcanvas/create-playcanvas/inspect-glb"><img src="https://agentmods.dev/badge/skills/playcanvas/create-playcanvas/inspect-glb.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,069 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00043 $0.01069
Opus 5 $0.00022 $0.00535
Sonnet 5 $0.00009 $0.00214
Haiku 4.5 $0.00004 $0.00107

Measured 6d ago against content hash 136da0b5d62d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

inspect-glb 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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/inspect.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/inspect-glb/SKILL.md · 82 lines

How it starts

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

Inspect GLBs

Resolve scripts/inspect.mjs relative to this skill directory and run it before choosing entity transforms or animation names:

node <skill-directory>/scripts/inspect.mjs public/models/Character.glb
node <skill-directory>/scripts/inspect.mjs public/models/{Ship,Enemy}_*.glb

The output provides:

  • dims for calculating a uniform scale;
  • groundOffset for the model wrapper's local Y position;
  • center for the pivot offset from the geometry centre: a non-zero X or Z means the root's position is not where the model appears, and Y feeds grounding;
  • boundsSource and boundsPose for proving how and at which pose the bounds were measured;
  • requiresRuntimeCheck for animated morphs, skins, and incomplete decoding;
  • nodePaths, clips, joints, and animationTargets for animation setup and rig comparison;
  • morphed, morphAnimated, and skinned for pose-sensitive assets.

Bounds precision

aabb, dims, center, and groundOffset are decoded from actual vertex positions, default morph weights, and each node's world matrix. Confirm both source and pose before relying on them:

  • vertices means every primitive was decoded and the bounds are exact for boundsPose.
  • accessor-minmax means at least one primitive could not be decoded, so its bounds fall back to the node-transformed local box. That over-estimates a mesh which does not fill its own box on a node rotated off-axis, by up to 41 percent for a 45-degree yaw. boundsNotes gives the cause.
  • incomplete means some visible default-pose geometry could not be measured; do not calibrate from the reported bounds.
  • null means no usable bounds could be recovered.

static and default-morph bounds describe visible geometry at its authored default pose. bind describes skinned vertices before animation. When requiresRuntimeCheck is true, confirm grounding and maximum animated extent in the running application even if boundsSource is vertices.

Carry boundsSource, aabb, dims, center, and groundOffset into the asset tuning record. groundOffset seats the base in Y; center.x and center.z are the horizontal pivot offset that calibrate-model must compensate, so a placed root sits where the mesh appears, not where the authored pivot happens to be. Running the inspector alone is not placement evidence. Its global AABB supports plane grounding and broad-phase spacing, but cannot locate a non-planar support surface or attachment point. Use an authored mount point or confirm the support in the running application before placing another model.

Read the full file on GitHub · 82 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 82 lines · 43 tokens per session scan A 136da0b5d62d

Subscribe to this mod's changes

inspect-glb is a skill published in the GitHub repository playcanvas/create-playcanvas (53 stars, last pushed 2d ago), licensed MIT. It adds 43 tokens to every session and 1,069 once invoked, about $0.0002 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-30.