Blender5 Code

Generate Python bpy scripts, add-ons, and Geometry Nodes code fully compatible with Blender 5.0's breaking API changes.

Install
cmdop skills install agensi-blender5-code

Blender5 Code is a skill that generates Python bpy code targeting Blender 5.0, with explicit knowledge of the breaking API changes introduced since 4.x. It covers several distinct authoring tasks in one capability.

For scripting, it can produce procedural modeling scripts, material setups, Geometry Nodes graphs, animation keyframe logic, and compositing node trees. For add-on development, it generates complete operator, panel, menu, and PropertyGroup implementations with correct register and unregister hooks — the scaffolding that Blender requires for add-ons to load cleanly.

Migration is a dedicated function: the skill detects deprecated 4.x API calls in existing code and rewrites them to their 5.0 equivalents automatically. This covers areas where Blender 5.0 introduced significant changes, including the new Action API (layers, strips, and channelbags), the volumes and SDF node system, the ACES and HDR color pipeline, and Annotations (the renamed Grease Pencil system).

Rendering domains covered include both Cycles and EEVEE. Compositing node generation is also supported.

This skill is appropriate when an agent needs to produce or update Blender Python code that must run on Blender 5.0 without manual API lookup. It is not a general-purpose Python skill, a Blender GUI automation tool, or a skill for Blender versions earlier than 5.0 where different API surfaces apply.

Use cases

  • Generate a procedural modeling script using bpy that targets Blender 5.0's current API
  • Create a complete Blender add-on with operators, panels, and correct register/unregister lifecycle
  • Migrate an existing Blender 4.x Python script to 5.0 by detecting and rewriting deprecated calls
  • Write Geometry Nodes setup code compatible with Blender 5.0's node API
  • Produce animation scripts using the new Blender 5.0 Action API with layers, strips, and channelbags
  • Generate compositing node tree code for the ACES/HDR color pipeline in Blender 5.0

When to use it

  • When generating Python bpy code that must be compatible specifically with Blender 5.0
  • When automating Blender add-on scaffolding with correct lifecycle hooks
  • When porting an existing Blender 4.x script and needing deprecated calls identified and rewritten
  • When working with Blender 5.0-specific systems such as SDF volumes, the new Action API, or Annotations

When not to use it

  • When targeting Blender versions earlier than 5.0, where the API differs
  • When the task requires general-purpose Python unrelated to the bpy API
  • When direct GUI interaction with a running Blender instance is needed rather than script generation