/howells-skills:blenderfrom howells-skills
Inspects, edits, and renders Blender scenes via live MCP add-on or headless CLI. Handles evaluated geometry, instance counts, and safe file operations.
Ships in howells-skills. 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.
Two ways in, and they are not interchangeable:
blender --factory-startup -b file.blend --python script.py -- args. Its own process, nothing shared. Renders, long sweeps and batch work go here, on an explicit copy.Never replace the user's open file with a headless result without reconciling their live edits. With no Blender MCP tools in the session, work headless on a copy and say the live scene wasn't touched.
ob.data or raw bound_box (code below). A scene reporting 86 objects can be 9,000 instances.raise SystemExit("REFUSING: ...")); a printed value gets rationalised.save_mainfile, open_mainfile and revert_mainfile run. Don't save, open, revert or reload the user's file unless asked.render_viewport_to_path sets render.filepath; render_thumbnail_to_path also changes resolution, simplify and samples. Restoration only runs if the client is still connected. Before rendering, snapshot scene.render.filepath, resolution_percentage, resolution_x, resolution_y, use_simplify, simplify_subdivision_render and the engine's sample and denoise settings (Cycles: scene.cycles.samples, scene.cycles.use_denoising); restore them yourself, compare before any save, and if you can't restore, say so and don't save. Never leave render.filepath pointing at a scratch directory.*_for_cli MCP tools. They deadlock on the MCP pipe, time out at 120 s, return nothing and leave a stray <name>_mcp_0001.blend. Run blender -b from the shell. To snapshot the open scene: bpy.ops.wm.save_as_mainfile(filepath=abs_path, copy=True), then confirm bpy.data.filepath is unchanged.Empty response from Blender or Unterminated string, not an error about size. Return counts plus a slice, aggregate inside Blender, or write JSON to bpy.app.tempdir and return the path. Never conclude "the scene has nothing" from an empty result.Inside execute_blender_code, assign a JSON-serialisable dict to result.
Before installing or debugging the server, after a timeout, or before an operation that takes minutes (the check_is_finished deferred contract), read references/mcp-server.md. Read each reference file with its own command.
dg = bpy.context.evaluated_depsgraph_get()
ev = ob.evaluated_get(dg)
cs = [ev.matrix_world @ Vector(c) for c in ev.bound_box] # covers modifiers, not instances
for inst in dg.object_instances: # particles, collection instances, GN points
o = inst.object
if o is None or o.type != "MESH" or o.hide_render:
continue
cs = [inst.matrix_world @ Vector(c) for c in o.bound_box] # inst.is_instance, inst.parent = emitter
hi[i] > lo_room[i] and lo[i] < hi_room[i] on all three axes.When the render doesn't match the viewport, check:
ob.hide_render (a hidden shade mesh leaves a pendant as a bare wire), collection hide_render, and the view-layer exclude checkbox: three separate flags.visible_camera, visible_shadow, visible_diffuse, visible_glossy, visible_transmission, visible_volume_scatter.render_levels vs levels, and show_render vs show_viewport.scene.render.use_simplify with simplify_subdivision_render.open_mainfile resets their view. If you must, capture and restore view_perspective, view_distance, view_location, view_rotation, lens and shading from the VIEW_3D region.bpy.data.is_dirty can mean their edits or yours. Don't discard or save either just to clear it..blend1 or rescue copy is never mistaken for the current scene.while ob.parent: ob = ob.parent) and move the root's matrix_world.translation; a child's location is in parent space.MULTIPLE_SCATTERING (was NISHITA), with aerosol_density.azimuth = (azimuth + 180.0) if hour_angle > 0.0 else (540.0 - azimuth). Check against published sunrise/sunset for the site and date.--factory-startup ignores the user's prefs; set render device and settings in the script.--: sys.argv[sys.argv.index("--") + 1:].nohup … & inside a wrapper that exits gets killed: a render can die after "Read blend" with exit code 0 and no output. Check for output files, not the exit code.bpy.ops.render.render(write_still=True) after setting scene.render.filepath.bpy.data.images.load), so score passes there even when nothing renders.Each of these jobs starts by reading its file:
A helper driving Blender needs in its brief: the source-of-truth file, whether the user is editing it now, the paths it owns, that it must open every render it makes, and that it must page MCP responses. Without "open the render" it reports coordinates and is wrong.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
33 skills in this plugin
/armatureTurn a web app that scrolls like a document into an app shell with fixed chrome and panes that scroll on their own. Use when headers, toolbars or filters scroll out of view. Not for visual polish (`chiaroscuro`) or small-screen layout (`reflow`)./ask-howellsRoute a situation to the skills in this collection and the command to type. Not for doing the work./browseDrive the user's real Chromium browser (logins, tabs, extensions) via the browse MCP: logged-in/JS sites, forms, screenshots, recordings, HAR capture, and 2FA/payment handoffs. Not for QA (`fieldtest`) or native Mac apps (`computer-use`)./chiaroscuroDesign, build, polish or critique web UI in Tailwind v4. Use when an interface should look gorgeous, looks generic or unfinished, or feels off. Not for design options (`maquette`), app shells (`armature`), screen sizes (`reflow`), Paper (`paste-up`) or QA (`fieldtest`)./componentizeConsolidate duplicated UI into shared components, split god files or extract packages. Not for redesign (`chiaroscuro`), typography (`typecase`), structural review (`fettle`) or behaviour-preserving cleanup (`unslop`)./computer-useControl Mac apps, including signed-in Chrome, with native Computer Use or a headless Codex runner. Not for browser-only QA (`fieldtest`).npx claudepluginhub howells/skills --plugin howells-skills