headless-batch-scripting SKILL.md skillB

headless-batch-scripting from tmhsdigital/blender-developer-tools is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tmhsdigital/blender-developer-tools/headless-batch-scripting@git:20261007.4aeb805

Pins git:20261007.4aeb805 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
tmhsdigital/blender-developer-tools
Path
skills/headless-batch-scripting/SKILL.md
Versions recorded
10
Latest version
git:20261007.4aeb805, committed Oct 7, 2026
First version recorded
Apr 26, 2026
Size
13,004 bytes
Repository stars
17
License
a license file GitHub does not identify

Run Blender unattended with blender --background --python, arguments after the -- separator, --factory-startup and --python-exit-code, and temp_override for operators that need context. Use when the user renders, exports or processes .blend files from a CLI, CI job or batch script, passes arguments to a Blender script, or hits 'poll() failed, context is incorrect' or a job that exits 0 despite a Python traceback. Targets 5.2 LTS with 4.5 LTS fallback.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Headless Batch Scripting

## Trigger

Use this skill when the user:

- Wants to render, export, or process .blend files from a CLI or CI pipeline
- Mentions `blender --background`, `--python`, "headless", "batch render", "no UI"
- Has an operator script that fails with `RuntimeError: Operator bpy.ops.X.Y.poll() failed, context is incorrect`
- Needs to pass arguments to a Blender Python script

## The basic shape

```powershell
blender --background --python my_script.py
```

Or with a specific .blend file:

```powershell
blender --background scene.blend --python my_script.py
```

Or with arguments after `--`:

```powershell
blender --background scene.blend --python my_script.py -- --output out.png --frames 1,5,10
```

`--background` (or `-b`) tells Blender not to launch a UI window. `--python` (or `-P`) runs a Python script. The script's `sys.argv` is Blender's **full** command line (`blender`, `--background`, `--python`, ...); slice off everything up to and including `--` to get your own arguments, as the parser below does.

Two flags matter for unattended runs:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tmhsdigital/blender-developer-tools/headless-batch-scripting@sha256:5282373ca9ce7861

The line at the top of this page pins the label git:20261007.4aeb805, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tqncn3pirdm6w4kt.svg)](https://markdownregistry.com/a/art_tqncn3pirdm6w4kt)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 10 versions of this file, between Apr 26, 2026 and Oct 7, 2026, about one every 18 days. Its first recorded version is graded A and its latest B.

versioncommittedcommitsizeaudit
git:20261007.4aeb805 latest2026-10-07 4aeb805 13,004 BB view · diff
git:20261005.d2cb9e92026-10-05 d2cb9e9 13,007 BB view · diff
git:20261005.f80411b2026-10-05 f80411b 12,738 BB view · diff
git:20261005.5e0299c2026-10-05 5e0299c 11,523 BA view · diff
git:20261005.040e9942026-10-05 040e994 11,296 BA view · diff
git:20261004.2d4e7692026-10-04 2d4e769 10,794 BA view · diff
git:20260618.c39032d2026-06-18 c39032d 9,136 BA view · diff
git:20260613.e6324e52026-06-13 e6324e5 8,831 BA view · diff
git:20260426.5a05f162026-04-26 5a05f16 8,830 BA view · diff
git:20260426.c4415262026-04-26 c441526 8,830 BA view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13004 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

tmhsdigital/blender-developer-tools · 17 stars · license a license file GitHub does not identify · pushed 2026-10-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tqncn3pirdm6w4kt
GET https://markdownregistry.com/api/v1/resolve?ref=tmhsdigital/blender-developer-tools/headless-batch-scripting
GET https://markdownregistry.com/api/v1/blob/5282373ca9ce78610969224f0cf45ae85c46f43ba3cfd7167436a4b60fe1530c

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tmhsdigital/blender-developer-tools

AGENTS.md AGENTS.md file
tmhsdigital/blender-developer-tools · AGENTS.md
git:20261012.ed48f75 · audit A · 17 stars
CLAUDE.md CLAUDE.md file
tmhsdigital/blender-developer-tools · CLAUDE.md
git:20261012.2363c1f · audit A · 17 stars
blender-rules SKILL.md skill
tmhsdigital/blender-developer-tools · claude/skills/blender-rules/SKILL.md · Blender Python anti-pattern rules (bmesh leaks, bpy.ops in loops, deprecated context-copy overrides, bulk mesh writes…
git:20261012.5a56f5e · audit A · 17 stars
AGENTS.md@exports AGENTS.md file
tmhsdigital/blender-developer-tools · exports/AGENTS.md
git:20261012.0663419 · audit A · 17 stars
live-blender-session SKILL.md skill
tmhsdigital/blender-developer-tools · live-session/skills/live-blender-session/SKILL.md · Work against the user's running Blender through the Blender Lab MCP server (the blender tools): read the scene with the…
git:20261012.98b5a40 · audit A · 17 stars
addon-scaffolding SKILL.md skill
tmhsdigital/blender-developer-tools · skills/addon-scaffolding/SKILL.md · Scaffold a Blender add-on as an Extensions Platform package: blender_manifest.toml, modular file layout…
git:20261012.96b6076 · audit B · 17 stars
ai-mesh-cleanup SKILL.md skill
tmhsdigital/blender-developer-tools · skills/ai-mesh-cleanup/SKILL.md · Ordered cleanup for an imported generated or scanned mesh before it goes to an engine: scene units, apply rotation and…
git:20261007.f59ff3f · audit B · 17 stars
bake-high-to-low SKILL.md skill
tmhsdigital/blender-developer-tools · skills/bake-high-to-low/SKILL.md · Cage-bake high-poly surface detail onto a low-poly target as a tangent-space normal map with bpy.ops.object.bake…
git:20261007.4636c25 · audit B · 17 stars
bl-info-migration SKILL.md skill
tmhsdigital/blender-developer-tools · skills/bl-info-migration/SKILL.md · Migrate a legacy bl_info add-on to the Extensions Platform in three steps, with a before/after diff and the dual-format…
git:20261012.96b6076 · audit B · 17 stars
custom-properties SKILL.md skill
tmhsdigital/blender-developer-tools · skills/custom-properties/SKILL.md · Define and bind custom properties with bpy.props annotations, PropertyGroup and PointerProperty, and choose where to…
git:20261012.96b6076 · audit B · 17 stars
depsgraph-and-evaluated-data SKILL.md skill
tmhsdigital/blender-developer-tools · skills/depsgraph-and-evaluated-data/SKILL.md · Read the evaluated geometry the user actually sees through the dependency graph instead of raw obj.data…
git:20261007.4636c25 · audit B · 17 stars
drivers-and-app-handlers SKILL.md skill
tmhsdigital/blender-developer-tools · skills/drivers-and-app-handlers/SKILL.md · Drive properties from expressions with the Driver API (driver_add, driver_namespace for custom Python functions) and…
git:20261007.4636c25 · audit B · 17 stars

Every file in tmhsdigital/blender-developer-tools

Browse by kind, by grade B, or by owner.