/blender-agent-studio:blender-asset-validationfrom blender-agent-studio
Inspects and validates Blender assets (.blend, .glb, .gltf, .fbx, .obj) for technical and visual quality. Runs deterministic topology, material, and hierarchy checks; interprets metrics against quality gates; and diagnoses degenerate geometry.
Ships in blender-agent-studio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Read the shared execution guidance once per task for autonomous decisions, evidence cadence, and long-task continuity.
Validate the supplied asset and any requested exported deliverable. Do not create an export for an inspection-only or render-only task. A clean export or low triangle count is not proof of visual or functional quality.
Prefer the blender_inspect_asset MCP tool when available. Otherwise run:
$env:BLENDER_EXECUTABLE = "C:\path\to\Blender\blender.exe"
& $env:BLENDER_EXECUTABLE `
--background --factory-startup `
--python "<skill-root>\scripts\inspect_asset.py" -- `
--input "<asset-path>" --output "<output-dir>\metrics.json"
Inspect:
Interpret metrics using references/quality-gates.md. Do not apply printing-only topology rules to every game asset.
When inspection finds degenerate faces or zero-length edges, call
blender_diagnose_topology with assetPath, a new outputJson, and optionally
objectName and limit. It reports full counts and bounded world-space locations.
Indices belong to evaluated geometry: locate the region, repair durable source,
and reinspect the export. Open boundaries alone are not defects.
When the Rust runtime is configured, use blender_describe_scene for evaluated
world bounds, authored bas_role labels, parenting and paginated object summaries.
Focus with an exact objectId and includeDescendants; follow next_offset for
large selections. An assembly follows object parenting, not collection names.
Use blender_quality_report with only brief-derived triangleBudget,
requireClosedMesh, or named groundObjects and an explicit groundZ.
Distances are in Blender world units. Constraints cover the full selection;
spatial candidates only compare the returned page. AABB overlap and proximity
are review candidates, not proven mesh intersections, contact or support.
Read extraction limitations, especially unexpanded instances and non-mesh forms.
The report never clears visual review: review_required is not a pass. Open the
fixed views below and answer its primary-form, reference and finish questions.
If the runtime is missing, follow its setup message or continue with the existing
inspector and visual evidence; do not claim unmeasured analysis.
After a repair, use blender_compare_scenes on the preserved candidate and
regenerated result. Declare requiredObjects and only the invariants supplied by
the contract. Use invariantObjects to exclude the intentionally edited part
from movement, dimension, hierarchy, role or topology-preservation gates. Review
all factual changes even when no declared invariant fails. An empty regression
list does not establish visual improvement; render both versions through the
same cameras and settings before retaining the repair.
For intended physical joints, declare contactPairs in the quality report as
exact mesh-object pairs that should touch. Choose them from the construction
contract, not from arbitrary nearby names. A positive bounds gap beyond
tolerance proves separation and produces expected_contact_gap, even when
the objects are outside the returned page. contact_unverified means the boxes
are close or overlap; it does not establish surface contact. For joints with an
intermediate connector, check each actual connection rather than requiring the
two remote endpoints to touch. Review the joint in multiple views, repair the
durable source, and rerun the same declared pairs before retaining the repair.
Supply frame to SceneIR description, quality and comparison tools when checking
an animated pose. Use the same explicit frame for before/after evidence; paired
asset comparison rejects differing saved frames and unit scales. Repeat the
contract's checks at each required motion state. Setting a frame does not bake
a simulation or prove behavior between samples.
For cable terminals, hinge pivots or pipe ends, contactPairs can miss a wrong
endpoint when whole-object boxes overlap. Add connectionPoints to
blender_quality_report using a stable name, exact objectA/objectB,
object-local pointA/pointB XYZ, and maxDistance in world units. Empties
placed from the same source parameters as the real endpoints work as anchors.
Both objects must belong to the selected assembly; pagination does not hide checks.
connection_checks returns world positions, distance, and
delta_world_b_minus_a. A connection_point_gap identifies a misplaced declared
anchor even with overlapping boxes. Apply the correction to durable geometry
source; when editing local coordinates, transform the world delta into that
object's local space. Keep anchors derived from the geometry and verify the
rendered joint; moving markers alone is not a repair. within_tolerance proves
only anchor agreement, not mesh contact, watertightness or mechanical validity.
Use blender_inspect_motion with assetPath, a new outputJson, 2-12 distinct
increasing frames, and 1-8 exact mesh objectNames. It reports local evaluated
geometry hashes, world transforms and native modifier/bake metadata. It needs
Blender, not Rust, and never bakes or saves the source. Inspect an existing cache
for fluid/cloth and repeat on the exported file when animation export is required.
A changing local hash can establish sampled deformation rather than mere root
movement; it does not establish good deformation. Empty or unchanged samples,
missing cache files and unbaked modifiers need investigation. Bake flags do not
prove complete cache coverage. Use the domain workflow for contacts, collisions,
timing, appearance and continuous playback. CLI fallback: run
scripts/inspect_motion.py through Blender with --input, --output,
--frames 1,12,24 and --targets Body.
For reference-driven proportion checks, use blender_compare_reference with
an authored camera matching the reference. It returns a reference/silhouette/
overlay board inline. Keep camera, crop and pose fixed across geometry edits.
Only a supplied white-foreground, black-background maskPath enables silhouette
IoU and missing/excess coverage; ordinary photos receive visual overlays without
numeric similarity. This complements final multiview and material inspection.
If orientation is already plausible but framing differs, use
blender_fit_reference_camera with 3-32 spatially separated known landmarks,
referenceWidth/referenceHeight, and a new outputDir. Each landmark has
name, objectName, localPoint (XYZ), and referenceUv (XY normalized from
the image top-left). It fits scale/focal length and lens shift in a candidate
.blend without changing pose or meshes. Review that candidate using
blender_compare_reference; copy accepted parameters into durable source,
then freeze the camera for geometry comparisons. Lower landmark error measures
framing fit, not improved geometry. Large residuals may mean incorrect pose or
correspondences; do not distort the mesh simply to reduce them.
For plausible but imperfect orientation, optional mode: "pose" fits bounded
rigid camera rotation/position while keeping intrinsics fixed. It needs at
least four well-spread landmarks and rejects unconstrained solves. Supply
heldoutLandmarks for independent before/after errors in either mode; they do
not steer the solve. Review bound, conditioning and held-out regression warnings.
This moves the camera, not the character's pose. The default framing mode
retains the behavior above. Freeze accepted alignment before a shape comparison.
For retained character before/after evidence, scripts/review_likeness.py
compares frozen reference reports, normalized landmark errors and projected
proportion ratios. See the likeness refinement protocol
for its manifest and head snapshot coverage. A numerical target pass is not
facial identity, and missing evidence remains unverified.
During a targeted repair, use views: ["perspective", "front"] (or two useful
fixed angles) and resolution: 256 for quick feedback. The CLI accepts
--views perspective,front. The manifest labels this partial_preview;
it does not satisfy the final six-view gate. Preserve the same view selection,
resolution and explicit presentation for before/after inspection. Render the
full set once the repair is retained, rather than at every small edit.
For underside joints, add bottom to views (CLI --views bottom). This
removes only the generated studio floor for that view and adds underside fill;
it does not remove authored geometry. To frame a small joint without hiding
its surroundings, set focusObjects to exact object names (CLI
--focus-objects '["Leg_FL","Seat"]'). Focused evidence is labeled
detail_preview and supplements the full-asset views. Occluding geometry stays
visible; a close crop or overlapping bounds alone does not prove contact.
The default presentation: "auto" selects a studio background using a
constant-material luminance hint: dark for bright assets, light for very dark
assets, neutral slate otherwise. The CLI equivalent is --presentation auto.
Use neutral, dark, or light to override. Light power and camera framing
scale with asset dimensions; the tool resets authored lighting and grading.
Keep a separate authored beauty render when the original lighting is part of
the requested result.
Open the first hero image before accepting the presentation. If material color is washed out, shadows hide the form, or the silhouette merges into the backdrop, rerender with a better preset. Automatic selection is a starting point; it cannot infer texture-driven color, transparent appearance, or art direction. Offer two useful options when they serve different goals, such as dark studio and light catalog. Do not generate all presets routinely. Present a polished hero image first, with multiview evidence available for inspection.
For benchmarks and before/after repairs, pin the same explicit preset and
renderer version across compared assets; do not adapt each condition separately.
evidence.json records the requested/resolved preset, power, framing, color
management, engine, and settings version. Version 2 changes lighting and framing;
older evidence must be rerendered before a controlled visual comparison.
Prefer blender_render_evidence. Otherwise run scripts/render_evidence.py with an output directory. Require:
Open the hero and contact sheet with an image-viewing tool. Review:
For humanoids, apply the character workflow's form/fit review: full-body proportions plus close-ups of footwear, waist/crotch, shoulders, hands/thumbs, and face/nose/ears/neck. Inspect evaluated skin surfaces in motion; connected bones or a single mesh object do not prove continuous garments. Check skin tone and texture seams under neutral lighting as well as the target presentation. Treat blocky or oversized forms, unexplained overlaps and skin-tone discontinuity as visual defects when inconsistent with the brief, not as successful low-poly optimization. Use reference-relative judgments rather than universal ratios.
For humanoid motion, use the animation workflow's contact and interaction review and evidence record. Measure cumulative drift against independent plant anchors, including separate entry/release checks; consecutive-frame deltas alone can hide sliding. Review normal-speed timing, grip orientation and the intended gameplay viewpoints. Keep native, fresh-import, engine and remote-observer evidence distinct. Attachment gap checks below do not validate gait or ground contact.
For deforming attachments, blender_inspect_attachments measures fixed small
vertex patches across explicit poses using SceneIR. It requires the Rust
runtime and topology-preserving meshes. Use several boundary pairs, record
thresholds in scene units, and inspect the reported worst frame. Preserve
bindings and tolerances across repairs; rebind and visually verify after
topology changes. Object-local connection points and whole-object motion
hashes cannot establish skinned attachment fit. Numeric compliance remains
review_required, not an aesthetic pass. Check native and fresh export
separately with selectors verified against each mesh.
Each connection must use different surface patches. Different anchor IDs or
group names do not make a check independent: the tool rejects both ends bound
to the same weighted patch on one object, including proportional group weights.
Distinct coincident surfaces on separate objects remain valid contact checks.
Use this gate when an export is requested or supplied. For a .blend-only task,
reopen and inspect that scene instead.
Classify each finding as:
gate: invalid or unusable deliverable;defect: clear request, geometry, presentation, or motion failure;warning: likely risk requiring review;observation: neutral measurement;not_applicable: check intentionally excluded by task semantics.Include exact evidence paths. Never say an image or video was inspected unless it was actually opened.
agents/openai.yaml (opens in a new tab)references/astra-workflow.md (opens in a new tab)references/quality-gates.md (opens in a new tab)scripts/_blender_evidence_smoke.py (opens in a new tab)scripts/_blender_scene_ir_fixture.py (opens in a new tab)scripts/compare_reference.py (opens in a new tab)scripts/diagnose_topology.py (opens in a new tab)scripts/evidence_settings.py (opens in a new tab)scripts/extract_scene_ir.py (opens in a new tab)scripts/fit_reference_camera.py (opens in a new tab)scripts/inspect_asset.py (opens in a new tab)scripts/inspect_attachments.py (opens in a new tab)scripts/inspect_motion.py (opens in a new tab)scripts/render_evidence.py (opens in a new tab)scripts/review_likeness.py (opens in a new tab)scripts/test_evidence_blender.py (opens in a new tab)scripts/test_evidence_settings.py (opens in a new tab)scripts/test_review_likeness.py (opens in a new tab)scripts/test_review_regressions.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ifbars/blender-agent-studio --plugin blender-agent-studio12 skills in this plugin
/blender-agent-benchmarkBenchmark Blender modeling agents, skills, prompts, scripts, or MCP tools with paired isolated runs. Use for baseline-versus-plugin comparisons, regression suites, skill forward-testing, MCP usefulness evaluation, score calibration, or claims that a Blender workflow improves mesh, visual, structural, animation, cost, or completion quality./blender-animation-workflowAuthor, diagnose, and refine Blender animation for humanoid locomotion, grounded turns, interaction IK, first-person hands, articulated props, mechanical assemblies, and game-ready actions. Use when motion timing, contacts, pivots, critical poses, trajectories, visibility states, or exported actions must be created or reviewed./blender-art-direction-intakeClarify a Blender creation request and optionally generate a concept/mockup image before modeling. Use before modeling, procedural scene creation, rendering, simulation, or character work when art style, subject, scale, platform, shot, materials, constraints, or reference direction are unclear./blender-character-workflowCreate, repair, rig, skin, animate, and export Blender characters, creatures, avatars, and facial rigs with deformation and runtime validation. Use when a request involves a character mesh, armature, weights, IK/FK, blend shapes, facial animation, humanoid/VRM/game export, or deformation quality./blender-iterative-refinementRun an opt-in evidence-backed second pass on a complete Blender deliverable. Use when the user explicitly asks to critique, improve, repair, iterate, or apply a practice-makes-perfect loop; when a benchmark fixture explicitly requires retained before-and-after evidence; or when a completed candidate must be improved without regressing its existing technical or visible qualities./blender-mcp-integrationChoose, configure, and use Blender MCP integrations for live scene control or deterministic asset evaluation. Use when connecting Codex or Claude Code to an open Blender instance, deciding between Blender Lab MCP and community Blender MCP servers, troubleshooting Blender MCP connectivity, or evaluating whether MCP tools improve a Blender modeling workflow.Other plugins' skills for the same job