/nmg-game-dev:model-assetfrom nmg-game-dev
Use whenever you create or change an asset's geometry or materials in Blender. It models the asset freeform through the Blender MCP with a plan, blockout, spatial inspection, multi-view review, and fix loop
Ships in nmg-game-dev. 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.
Models one asset freeform in the open Blender session, through execute_blender_code and look.
It runs an autonomous loop: plan, block out, inspect the geometry numerically and from rendered
views, fix each blocking finding with a small edit, and repeat until the checks pass. Use it when a
developer asks Claude to model an asset in Blender, before /finalize-asset bakes and imports it.
This skill is asset-type agnostic. The plan comes from the developer's description and the asset's
real-world size; no per-asset recipe applies. Rules that hold for every asset live in
docs/asset-contract.md.
Run these steps in order. No step waits for approval: when a check fails, fix it and continue on your own judgment. Stop only when the final presentation is written.
get_addon_status for the Blender version and the loaded add-ons, then
get_scene_info for the existing objects and collections. Note any collection that already uses
the name you plan to use.<Name>, the asset_class (small_prop, standard_prop, hero_prop, character,
environment_piece, or terrain), and the list of parts with their placement.execute_blender_code. Keep that one script for
the whole session. Change it with localized edits to a single part or value; never regenerate the
whole script from the start.<Name>,
using the plan's metres as the scale.inspect_asset through execute_blender_code with the snippet below, and
then run render_review("<Name>", "<out_dir>", 512) through execute_blender_code. It writes the front,
back, side, and three-quarter renders. Read each PNG it returns with look, and read the report's
findings and triangles fields."blocking": true (floating, non_manifold, and
over_budget) must be fixed with localized edits to the generating script. Look at the renders for
each interpenetration finding and separate the parts when the overlap is not intended. Repeat
step 5 until passed is true.next(n for n in material.node_tree.nodes if n.type == "BSDF_PRINCIPLED"). Set Principled inputs by their
current names, and read enum identifiers at runtime rather than hardcoding them. After each detail
or material pass, run the inspection again and fix any new blocking finding. For an
environment_piece, set the custom property nmg_trim_atlas to True on each trim-atlas material
(material["nmg_trim_atlas"] = True), so its slots are exempt from the per-slot texel density check.look, and summarize the inspection:
passed, the count of blocking and non-blocking findings, triangles.total against
triangles.budget, and the headroom. Then point the developer to /finalize-asset to bake and
import the asset.The inspection snippet for step 5 runs in the live session. Replace <Name> and <asset_class>
before running it:
import json
from nmg_game_dev_blender_addon.inspect_core import inspect_asset
report = inspect_asset("<Name>", "<asset_class>")
print(json.dumps(report, indent=2))
Its report has kind, asset, class, gap_tolerance, passed, parts (each with name,
bounds, tris, non_manifold_edges, and geometry), findings, and triangles
(total, budget, headroom). docs/skills/model-asset.md describes every field and blocking rule.
environment_pieceAn environment_piece is often built from many primitives, and the validator's normals and duplicate
checks decide what passes. Build to these rules, which match what geometry.normals and
geometry.duplicates accept:
geometry.twist_seam, with the seam edges' midpoints; delete the faces at
those edges and rebuild the join.geometry.duplicates.When the add-on's panel is the only path available, run the same inspection from the operator:
bpy.ops.nmggamedev.inspect_spatial(collection_name="<Name>", asset_class="<asset_class>"). It stores
the report in bpy.context.scene.nmg_game_dev.last_result as JSON. A failure raises RuntimeError
that starts with the inspect.* code.
For the bmesh, modifier, Geometry Nodes, and shader-node calls the loop needs, and for the changes
since Blender 4.x that affect them, read references/blender-api.md. Each snippet there runs as
written in headless Blender.
inspect.collection_missing → No collection <Name> exists in the open file. Create it, or fix the
name in the inspection call, then rerun step 5.inspect.unknown_asset_class → The asset_class is not one of small_prop, standard_prop,
hero_prop, character, environment_piece, or terrain. Use one of them, then rerun step 5.variants.budget_override_invalid → nmg-budgets.json cannot be read or has an invalid value. Fix
the file named in the message, or pass no budget path to use the contract defaults.render.asset_missing → The collection <Name> is not in the open file. Create it, then rerun
render_review.render.empty_asset → Collection <Name> has no geometry to render. Block out the parts, then rerun
render_review.mcp.blender.unreachable → The Blender MCP cannot be reached. Run scripts/start-blender-mcp.sh,
then rerun the step that failed.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
7 skills in this plugin
/convert-to-godotConvert an Unreal-based consumer project to Godot 4 in one command: onboard game/, re-finalize every asset from its Blender source, import the audio, re-scaffold the design backlog, swap the Unreal hooks, and delete the Unreal files only after everything converts./designSync the game's docs/design markdown into a backlog, then scaffold its regions, missions, and systems as Godot files/finalize-assetFinalize a collection you authored in Blender into Desktop and Mobile variants imported into Godotnmg-game-dev@nmg-plugins is listed by nunley-media-group/nmg-plugins — review the source before installing
npx claudepluginhub nunley-media-group/nmg-plugins --plugin nmg-game-dev