agentleFS
FreedomIntelligenceFreedomIntelligence/BlenderLore/skills/blender-pipeline/generation/SKILL.md

blender-pipeline-generation

Skill97 starsChanged 2 months agoApache-2.0View on GitHub

Generate an editable Blender asset or animation from a blank scene, either by replaying verified tutorial-video evidence or by executing a model-direct generation task. Use for from-zero reconstruction; use the edit pipeline when an existing scene or asset must be modified.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 2 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use tutorial replay when a video or tutorial is the source of truth.

    line 14
  2. Very specific:

    Use model-direct generation when a structured task and reference preview are already available.

    line 17
  3. Distinctive:

    Do not use either route to edit an existing asset.

    line 20
  4. Very specific:

    Put the source video and any transcript under one video-dir.

    line 48
  5. Very specific:

    Read the sibling tutorial extraction skill and run its canonical extract_video_tutorial.py entrypoint.

    line 49
  6. Very specific:

    Run build_pipeline_specs.py after extraction.

    line 61
  7. Very specific:

    Add --render-html on the extractor (or --render-tutorial-html on the low-level replay orchestrator) only when a separate human-readable …

    line 64
  8. Very specific:

    Run run_video_replay_main.py --video-dir <dir>.

    line 68
  9. Very specific:

    Use model_direct_generation_v3_harness.py create-blank to establish the canonical blank scene, then validate the exact-50 release task …

    line 92

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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 Generation Pipeline

Produce an editable .blend as the primary artifact. Treat preview renders, six-view images, turntables, receipts, and traces as validation evidence rather than substitutes for the scene.

Choose a route

  • Use tutorial replay when a video or tutorial is the source of truth. Prepare timestamped evidence, retrieve relevant knowledge, generate the scene, then compare it with the verified visual references.
  • Use model-direct generation when a structured task and reference preview are already available. Begin from a canonical blank scene and run the bounded harness in scripts/model_direct_generation_v3_harness.py.
  • Do not use either route to edit an existing asset. Route that work to the sibling edit pipeline.

Configure the environment

Install requirements.txt; add requirements-knowledge.txt only when building or querying the semantic knowledge index. Blender supplies bpy, mathutils, and bpy_extras; never install those modules with pip. Install Blender and FFmpeg separately. OCR evidence additionally uses the optional tesseract executable.

Paths default below this skill's output/ directory. Override them with VIDEO2BLENDER_OUTPUT_ROOT and BLENDER_VIDEO_ROOT. Set BLENDER_PIPELINE_BLENDER to the Blender executable. Paid model calls require an owner-only secret file via BLENDER_PIPELINE_API_KEY_FILE and an explicit HTTPS endpoint via BLENDER_PIPELINE_API_ENDPOINT and VIDEO_REPLAY_APPROVED_PAID_API_ENDPOINT. Do not commit credentials, provider endpoints, machine mounts, or recovery authority files. Deprecated PAPER12_* options are accepted as lower-priority aliases; new integrations must use the BLENDER_PIPELINE_* prefix.

Replay verified tutorial evidence

Ordinary users should start with repository-root run_api.py or run_codex.py. These prepare one isolated workspace, default to a local manifest-only knowledge index, and invoke the following maintained stages. codex-cli supplies both tutorial extraction and downstream code-generation/visual-review calls without an API key. The low-level commands below are for existing prepared workspaces.

  1. Put the source video and any transcript under one video-dir.
  2. Read the sibling tutorial extraction skill and run its canonical extract_video_tutorial.py entrypoint. It performs the selected workflow. --tutorial-method visual uses the video-to-visual-tutorial workflow: coarse contact sheets, focused frame inspection, a compact evidence ledger, and a complete learner-facing procedure. Run the entrypoint with --workspace-mode to adapt that package to the existing replay files. Pass actual learner assets with repeatable --input-asset; do not classify the source video or acceptance preview as a learner asset. --tutorial-method legacy-rich uses the original complete 60-second rich windows and base64 Markdown through the same canonical entrypoint. Do not call those compatibility helpers as a competing public launcher. The visual method is recommended for videos up to ten minutes. Run build_pipeline_specs.py after extraction. tutorial.md and its derived steps_verified.json preserve the operational contract. The separate rubric is never supplied as task instructions. Add --render-html on the extractor (or --render-tutorial-html on the low-level replay orchestrator) only when a separate human-readable HTML view is useful; it is rendered from the same complete Markdown and never replaces the operational files.
  3. Run run_video_replay_main.py --video-dir <dir>. The orchestrator invokes the strict replay, version registry, render evidence, and candidate knowledge update stages.
  4. Require an editable scene, a successful fresh render, complete six-view evidence, and a turntable or validated animation delivery when motion is actually supported by evidence.

Tutorial text and timestamped frames outrank titles and stylistic hints. Never invent motion merely because a requested route says “dynamic”; downgrade to a static result unless subject animation is proved by keyframes, Actions/NLA, shape keys, time-dependent materials, simulations, or equivalent runtime evidence. Preserve the demonstrated asset family, silhouette, detail density, camera framing, lighting, and material response.

Two legacy route labels remain in receipts for compatibility. RW1 means source-project replay: preserve authored scene content and real subject motion, using bounded replacement framing only when the authored camera is unusable. RW2 means a multi-part tutorial-series reconstruction: the tutorial and verified steps are authoritative, and unrelated title-card or editor tail frames must not become final visual references. Neither label denotes the existing-asset edit pipeline.

Run model-direct generation

Use model_direct_generation_v3_harness.py create-blank to establish the canonical blank scene, then validate the exact-50 release task index. run-task selects one item from that release index. The current run-batch command rejects any other batch size and must not be presented as a general batch runner. Supply explicit call and token budgets. Generated generate.py must be self-contained Blender code: the contract rejects filesystem escape, network access, subprocesses, dynamic imports, external project loading, and private provenance. Each attempt is immutable and must reopen the saved blend, render fresh evidence, and pass both the generation rubric and visual judge.

Knowledge lifecycle

Build a portable manifest with build_blender_knowledge_index.py --manifest-only; install the optional knowledge dependencies to build Qdrant. Retrieve with retrieve_blender_knowledge.py --video-dir <dir>. New replay observations are successful candidate knowledge only and remain outside active retrieval. Admission requires five independent human-reviewed accepted assets, a disjoint human-reviewed accepted holdout with zero regression, artifact hashes, and explicit route/family/Blender-version scope. Failed runs are diagnostics, never active lessons. Production evidence is ingested only through an explicit, bounded --external-manifest; the builder never crawls local run outputs.

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.