agentleFS
SuntorlinSuntorlin/mate-agent/skills/builtin/blender/SKILL.md

blender

Skill0 starsChanged 38 days agoMITView on GitHub

Blender 4.5 LTS is preinstalled; blender is on PATH. This sandbox has no GPU and no display: always run with -b (background). Blender uses its own bundled Python — write scene logic as bpy scripts and pass them with -P. Everything after -- reaches the script via sys.argv. --factory-startup keeps runs reproducible. Argument order matters: -P/--python-expr must come before -f/-a, or the script runs after the render. - Cycles (-E CYCLES) for final quality. It renders on CPU here, so…

18 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 1

    Distinctive

    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:

    Import/export operators cover glTF/GLB (bpy.ops.import_scene.gltf / export_scene.gltf), FBX, OBJ (bpy.ops.wm.obj_import / obj_export), STL, …

    line 60
  2. Distinctive:

    No network inside renders: bring fonts, HDRIs and textures into the workspace first.

    line 68

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “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

blender

Blender 4.5 LTS is preinstalled; blender is on PATH. This sandbox has no GPU and no display: always run with -b (background). Blender uses its own bundled Python — write scene logic as bpy scripts and pass them with -P.

blender -b --factory-startup -P scene.py -- out_dir=/workspace/render

Everything after -- reaches the script via sys.argv. --factory-startup keeps runs reproducible. Argument order matters: -P/--python-expr must come before -f/-a, or the script runs after the render.

Engine choice (CPU-only, binding)

  • Cycles (-E CYCLES) for final quality. It renders on CPU here, so keep it cheap: 16–64 samples with the denoiser instead of high sample counts:
    scene = bpy.context.scene
    scene.cycles.samples = 32
    scene.cycles.use_denoising = True
    scene.cycles.denoiser = "OPENIMAGEDENOISE"
  • Workbench (-E BLENDER_WORKBENCH) for fast previews, layout checks and stylized flat shading — near-instant per frame.
  • EEVEE does not work without a GPU. Never select it.

Budget expectations on 4 CPU cores: a simple Cycles scene at 720p/32 samples takes roughly 10–60 seconds per frame; scale resolution and frame count to the deadline, and render a single preview frame before committing to an animation.

Stills and animations

Render PNG frames into the workspace, then assemble with ffmpeg (already installed):

blender -b --factory-startup -P scene.py -E CYCLES \
  -o /workspace/render/frame_#### -F PNG -s 1 -e 72 -a
ffmpeg -framerate 24 -i /workspace/render/frame_%04d.png \
  -c:v libx264 -pix_fmt yuv420p /workspace/render/out.mp4

Set resolution in the script (scene.render.resolution_x/_y); for transparent overlays use scene.render.film_transparent = True and scene.render.image_settings.color_mode = "RGBA". Show finished stills or videos with the preview skill. For an animation, publish 3–8 rendered frames (one per shot or beat, titled by it) as its storyboard in one call once the first draft renders, and the finished video last.

Format conversion and asset inspection

Import/export operators cover glTF/GLB (bpy.ops.import_scene.gltf / export_scene.gltf), FBX, OBJ (bpy.ops.wm.obj_import / obj_export), STL, USD (bpy.ops.wm.usd_import / usd_export) and Alembic. A conversion is one short script: import, optionally clean up or rescale, export. To inspect an asset, import it and print bpy.data.objects, dimensions, material and polygon counts.

Limits

  • 8 GB RAM: keep scenes moderate — no multi-million-polygon sculpt meshes or 4K texture stacks.
  • No network inside renders: bring fonts, HDRIs and textures into the workspace first.
  • Headless means no screenshots of the Blender UI; judge results from rendered frames.

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.