Logotipo de Live Blender Session

Live Blender Session

Comunidad
TMHSDigital
live-blender-session

Work against the user's running Blender through the Blender Lab MCP server (the blender tools): read the scene with the summary, screenshot and docs tools before touching anything, save before any execute_blender_code call that mutates, prototype live, then hand back a script proven with blender --background. Use when the user has Blender open and asks about or wants changes to their current scene, file, selection or viewport, or when the blender MCP tools are available and a task needs real scene data rather than guesses. Needs Blender 5.1+ with the MCP add-on; on 4.5 LTS fall back to headless scripts.

Descripción general

EditorTMHSDigital
RepositorioBlender-Developer-Tools
Nombre de la habilidadlive-blender-session
Estrellas
20
Forks
5
Archivos incluidos
Solo instrucciones
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por TMHSDigital en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Live Blender Session en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/TMHSDigital/Blender-Developer-Tools/tree/main/live-session/skills/live-blender-session
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TMHSDigital/Blender-Developer-Tools.git /tmp/Blender-Developer-Tools
mkdir -p .claude/skills
cp -r /tmp/Blender-Developer-Tools/live-session/skills/live-blender-session .claude/skills/live-blender-session
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Live Blender Session en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Live Blender Session automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Live Blender Session no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Live Blender Session (MCP)

Trigger

Use this skill when:

  • The blender MCP tools are available (get_objects_summary, execute_blender_code, ...) and the user refers to "my scene", "this file", "the selected object", or what is on screen
  • A task needs facts only the open file has: object names, modifier stacks, material slots, units, what the viewport shows
  • The user wants a change made in their open Blender, not a script to run later

Do not use it for work that must be reproducible (CI, batch jobs, anything another person will rerun). That is headless work; see headless-batch-scripting.

What the server is

The plugin blender-live-session registers the official Blender Lab MCP server, pinned to a reviewed commit. It talks to an add-on inside a running Blender (5.1 or newer) over localhost:9876. execute_blender_code runs whatever Python it is given in that session, with no sandbox and no confirmation. Treat it like typing into the user's Python console.

If a tool reports it cannot connect, the add-on is not running: ask the user to start it (Edit > Preferences > Add-ons > Blender MCP, or its auto-start option). Do not retry in a loop.

Order of operations

  1. Read before you write. Start with the tools that only read:

    • get_objects_summary, get_object_detail_summary: names, types, transforms, modifiers, materials
    • get_blendfile_summary_datablocks, ..._path_info, ..._missing_files, ..._of_linked_libraries, ..._usage_guess: what the file is and what it depends on
    • get_screenshot_of_window_as_image, get_screenshot_of_area_as_image, render_viewport_to_path, render_thumbnail_to_path: what the user is looking at
    • search_api_docs, get_python_api_docs, search_manual_docs: the API for the version actually running

    Never assume an object, collection or material name. Read it.

  2. Check the version before choosing an API path. bpy.app.version decides between, for example, .sequences and .strips, or action.fcurves and the slotted-action channelbag (see vse-python, slotted-actions-animation). Branch on the tuple, never on version_string.

  3. Save before mutating. If bpy.data.is_dirty is true or bpy.data.filepath is empty, stop and ask the user to save, or offer to save a copy with bpy.ops.wm.save_as_mainfile(filepath=..., copy=True). A live mutation can only be undone with the user's own Ctrl+Z, and some operations (purges, bpy.data.*.remove) are not undoable at all.

  4. Mutate in small, inspectable steps. One execute_blender_code call per logical change, each returning a result dict that states what changed (names, counts, before/after values). Prefer bpy.data edits over bpy.ops (see prefer-data-over-ops-in-loops); operators in the live session act on whatever the user has selected and in whatever editor has focus.

  5. Show the result. Screenshot or render the viewport after a visible change so the user can judge it.

  6. Hand back a script. Anything worth keeping becomes a standalone script that runs with blender --background file.blend --python fix.py --python-exit-code 1 and asserts its own outcome. The live session found the fix; the headless run proves it.

Returning data from execute_blender_code

Assign a JSON-serialisable dict to result; printed output is not a reliable channel.

python
import bpy

obj = bpy.data.objects.get("Chair")
if obj is None:
    result = {"error": "no object named Chair", "objects": [o.name for o in bpy.data.objects]}
else:
    result = {
        "type": obj.type,
        "modifiers": [(m.name, m.type) for m in obj.modifiers],
        "materials": [s.material.name if s.material else None for s in obj.material_slots],
        "dimensions": tuple(round(v, 4) for v in obj.dimensions),
    }

Return names and numbers, not Blender objects: an Object comes back as its repr, which is useless to reason about.

Live findings are not verification

A behaviour observed in the live session can depend on things a fresh process does not have: the user's preferences and add-ons, the current selection and active object, an evaluated depsgraph that has not been refreshed, or state left over from earlier calls. Before telling the user something works:

  • Re-run it headless with --factory-startup on a saved copy of the file, or
  • Use the *_for_cli variants (execute_blender_code_for_cli, get_blendfile_summary_datablocks_for_cli, ...), which open the file in a separate blender --background process. They use BLENDER_PATH when blender is not on PATH.

Say which one you did. "Worked in the live session" is a prototype result, not a test.

Common AI mistakes

MistakeConsequenceDo instead
Calling execute_blender_code first to "look around" with bpy.opsChanges selection, mode or active object as a side effectUse the summary tools, or read bpy.data without operators
Mutating an unsaved fileNothing to go back to if the change is wrongAsk the user to save, or save a copy first
Looping bpy.ops over many objects liveSlow, and each call acts on the current selectionbpy.data / bmesh / foreach_set (see mesh-editing-and-bmesh)
Assuming the 4.5 API because the pack targets itWrong path on the 5.x the user is runningRead bpy.app.version first
Reporting a live result as proofIt may not reproduce in a clean processProve it headless or with a *_for_cli tool
Leaving the user in Edit Mode or a temp override stateTheir next action behaves unexpectedlyRestore the mode and selection you found

On Blender 4.5 LTS

The MCP add-on needs Blender 5.1 or newer, so a 4.5 LTS user has no live session. Work headless: ask for the .blend path and run blender --background scripts (see headless-batch-scripting), or have the user paste the output of a short read-only script you write for them.

References

Preguntas frecuentes

¿Qué hace la habilidad de IA Live Blender Session?

Work against the user's running Blender through the Blender Lab MCP server (the blender tools): read the scene with the summary, screenshot and docs tools before touching anything, save before any execute_blender_code call that mutates, prototype live, then hand back a script proven with blender --background. Use when the user has Blender open and asks about or wants changes to their current scene, file, selection or viewport, or when the blender MCP tools are available and a task needs real scene data rather than guesses. Needs Blender 5.1+ with the MCP add-on; on 4.5 LTS fall back to head...

¿Por qué usar Live Blender Session en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Live Blender Session está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Live Blender Session en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/TMHSDigital/Blender-Developer-Tools/tree/main/live-session/skills/live-blender-session. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Live Blender Session?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Live Blender Session?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Live Blender Session con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Live Blender Session?

TMHSDigital la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇