agentleFS
MuhrashyaMuhrashya/Blender-kit/skills/blender-topology-fix/SKILL.md

blender-topology-fix

Skill1 starsChanged 15 days agoMITView on GitHub

Use when a mesh has bad topology and must be repaired - ngons, triangles in bend zones, poles at joints, uneven density, thin or non-planar quads, missing joint loops, asymmetry, messy AI or sculpt-derived meshes, "fix topology", "rapikan topologi". Diagnoses with a defect map, applies ordered fixes, escalates to retopo when needed.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    VERIFY: audit_run_isolated(audit_type="all", target_objects=[...]).

    line 19

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Topology fix (diagnose -> repair -> verify -> escalate)

Requires

A mesh object. Checkpoint saved. Armature if it exists (for joint checks). brief.md budget and style.

Inputs

Object name. Optional: deforming? yes/no, symmetric? yes/no.

Steps

  1. CHECKPOINT: call workflow_checkpoint(asset_name=..., tag="pre-fix") (or scripts/checkpoint.py).
  2. MAP: run audit_run_isolated(audit_type="topology", target_objects=[...], target_mode=...) (or audit_mesh.py and audit_topology.py). Save before-fix audit JSON to <session_dir>/assets/<asset>/audit/fix_before.json.
  3. CLASSIFY every nonzero count with references/fix-recipes.md section 1 (severity + recipe). Order: A (mesh_clean_and_strip_shells safe cleanup) -> B (mesh_subd_and_loops / topo_optimize_quads_to_tris face-type fixes) -> C (flow fixes) -> D (rebuild).
  4. REPAIR in that order using native MCP tools (mesh_clean_and_strip_shells, mesh_subd_and_loops, mesh_bmesh_edit, topo_optimize_quads_to_tris). After EACH recipe group re-run audit_run_isolated(audit_type="topology"); stop a recipe that makes any count worse and restore the checkpoint.
  5. ESCALATE using the thresholds in references/fix-recipes.md section 3: local patch retopo or full blender-retopo.
  6. VERIFY: audit_run_isolated(audit_type="all", target_objects=[...]); wireframe screenshots front, side, each joint close-up.
  7. REPORT before/after table (counts per defect type) + screenshots. Update state.md: topology, uv-bake, hands, rig, animate, qa, export -> STALE.

Hard rules

RuleDetail
Checkpoint firstno repair without pre-fix.blend
Measure after each groupno batch of fixes without re-audit
Original untouchedwork on a duplicate when the user did not ask for in-place edits
Deforming zonesquads only; do not "fix" an ngon there by triangulating
Static propstriangulating a flat ngon or a non-planar quad is allowed
Silhouettecompare front/side silhouette before/after; revert if it changes visibly
Decimatenever as a fix for rigged meshes
No invented parametersbmesh op kwargs that raise errors are reported, then adapted from the error text

Done when

Thresholds in fix-recipes.md section 2 met: ngons = 0; tris/poles/ngons near joints = 0 (deforming); nonplanar = 0 and thin = 0 in zones (or triangulated on static props); density_spikes under 1 percent of edges; symmetry unmatched = 0 (symmetric assets); tris within budget.

On fail

FailureAction
Defects remain after recipes A-Cescalate (section 3)
Silhouette changedrestore checkpoint, apply recipes more locally
Budget exceeded after fixesblender-topology cut order
Joint loops missing and no room to addblender-retopo (local patch)

Next

blender-topology (full audit) then the paused or next stage in the chain.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.