ai-mesh-cleanup SKILL.md skillB
ai-mesh-cleanup from tmhsdigital/blender-developer-tools is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tmhsdigital/blender-developer-tools/ai-mesh-cleanup@git:20261007.f59ff3fPins git:20261007.f59ff3f in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tmhsdigital/blender-developer-tools
- Path
skills/ai-mesh-cleanup/SKILL.md- Versions recorded
- 7
- Latest version
- git:20261007.f59ff3f, committed Oct 7, 2026
- First version recorded
- Sep 11, 2026
- Size
- 17,542 bytes
- Repository stars
- 17
- License
- a license file GitHub does not identify
Ordered cleanup for an imported generated or scanned mesh before it goes to an engine: scene units, apply rotation and scale, origin to base, recalculate normals, evaluated triangle count, decimate to a budget, convex collider. Use when the user has a GLB, glTF or FBX that is not engine-ready, mentions unit scale, unapplied transforms, triangle budget, LODs or a collision hull, or is about to run mesh operations on an import without checking its scale. Targets 5.2 LTS with 4.5 LTS fallback.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# AI Mesh Cleanup
## Trigger
Use this skill when the user:
- Has a generated or scanned GLB/glTF/FBX that is not engine-ready
- Mentions unit scale, unapplied transforms, triangle budget, LOD, or a collision hull
- Wants a headless cleanup pass (import in, cleaned mesh out)
- Is about to run mesh operators on an import without checking scale
This skill is the ordered pipeline. It composes `depsgraph-and-evaluated-data` and `mesh-editing-and-bmesh`; it does not replace them. It does not generate meshes and does not call any generation vendor.
## The core misunderstanding
An imported generated mesh is not a game asset. Typical residue: object scale not identity, scene units not meters, origin in the wrong place, inverted normals, triangle soup over budget, no collider. Running decimate or export on that state bakes the pathology in.
Do the cleanup in this order. Skipping a step makes later measurements lie.
## The canonical pattern
```python
import bmesh
import bpy
def imported_meshes():
return [o for o in bpy.context.selected_objects if o.type == "MESH"]
def scene_units_are_meters(scene):
units = scene.unit_settings
if units.system not in {"METRIC", "NONE"}:
…Read the whole file at its exact version.
How to install
mdr add tmhsdigital/blender-developer-tools/ai-mesh-cleanup@sha256:e91c9b348bcf1968The line at the top of this page pins the label git:20261007.f59ff3f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_klphxsw63craatnq)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Sep 11, 2026 and Oct 7, 2026, about one every 4 days. Its first recorded version is graded A and its latest B.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261007.f59ff3f latest | 2026-10-07 | f59ff3f | 17,542 B | B | view · diff |
| git:20261005.f80411b | 2026-10-05 | f80411b | 14,854 B | B | view · diff |
| git:20261005.5e0299c | 2026-10-05 | 5e0299c | 11,842 B | A | view · diff |
| git:20261005.040e994 | 2026-10-05 | 040e994 | 11,540 B | A | view · diff |
| git:20261005.8960f3f | 2026-10-05 | 8960f3f | 11,463 B | A | view · diff |
| git:20261004.bc926e3 | 2026-10-04 | bc926e3 | 10,755 B | A | view · diff |
| git:20260911.b293ccb | 2026-09-11 | b293ccb | 9,098 B | A | view |
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (17542 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
tmhsdigital/blender-developer-tools · 17 stars · license a license file GitHub does not identify · pushed 2026-10-18 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_klphxsw63craatnq GET https://markdownregistry.com/api/v1/resolve?ref=tmhsdigital/blender-developer-tools/ai-mesh-cleanup GET https://markdownregistry.com/api/v1/blob/e91c9b348bcf19680b2bfb356e39a1297ef69f7eb630aff66e7d982dc5306a43
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.