Skip to content

EL4CTEO/blender-skills / skills/blender-core

blender-core

Verified

Foundation for any Blender 5.2+ task an agent drives - running bpy via MCP (live) or headless CLI, context overrides, locale-safe node lookup, enum discovery, 5.x API changes, verification. Use first for any Blender, bpy, .blend or 3D-asset request; routes to the specialized blender-* skills.

FileKindSize
SKILL.mdskill md7.8 KB
references/api-changes-5x.mdmarkdown9.1 KB
references/bpy-patterns.mdmarkdown7.6 KB
scripts/_bpyx.pyscript4.4 KB
scripts/env_report.pyscript2.0 KB
scripts/run_in_blender.pyscript3.2 KB

scripts/env_report.py

View on GitHub
"""Report Blender version, engines, GPU, add-ons, units and scene stats as JSON.

Usage:
  blender -b [file.blend] -P env_report.py
  MCP: import env_report; print(env_report.run())
"""
import os
import sys

import addon_utils
import bpy

sys.path.insert(0, os.path.dirname(__file__))
import _bpyx as bx  # noqa: E402


def _gpu():
    try:
        prefs = bpy.context.preferences.addons["cycles"].preferences
        prefs.refresh_devices()
        return {"backend": prefs.compute_device_type,
                "devices": sorted({d.name for d in prefs.devices if d.type != "CPU"})}
    except Exception as e:
        return {"error": str(e)}


def run():
    sc = bpy.context.scene
    try:
        sc.render.engine = "__probe__"
    except TypeError as e:
        engines = str(e).split("in (")[-1].rstrip(")").replace("'", "").split(", ")
    us = sc.unit_settings
    kinds = {}
    for o in sc.objects:
        kinds[o.type] = kinds.get(o.type, 0) + 1
    enabled = sorted(bpy.context.preferences.addons.keys())
    return {
        "ok": True,
        "blender": bpy.app.version_string,
        "python": sys.version.split()[0],
        "background": bpy.app.background,
        "file": bpy.data.filepath or None,
        "engines": engines,
        "engine": sc.render.engine,
        "gpu": _gpu(),
        "addons_enabled": enabled,
        "rigify_available": any(m.__name__ == "rigify" for m in addon_utils.modules()),
        "units": {"system": us.system, "scale_length": us.scale_length, "length": us.length_unit},
        "color": {"view": sc.view_settings.view_transform, "look": sc.view_settings.look,
                  "display": sc.display_settings.display_device},
        "frame_range": [sc.frame_start, sc.frame_end, sc.render.fps],
        "objects": kinds,
        "data": {k: len(getattr(bpy.data, k)) for k in
                 ("meshes", "materials", "images", "actions", "node_groups", "collections")},
    }


if __name__ == "__main__":
    bx.cli(lambda **k: run(), bx.parser(__doc__))
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall