Skip to content

marselo-4/TotAuto / .claude/skills/blender-web-pipeline

blender-web-pipeline

Verified

Blender to web export workflows for 3D models and animations. Use this skill when exporting Blender models to glTF for web, optimizing 3D assets for Three.js or Babylon.js, batch processing models with Python scripts, automating Blender workflows, or creating web-ready 3D pipelines. Triggers on tasks involving Blender glTF export, bpy scripting, 3D asset optimization, model compression, texture baking, or Blender automation. Exports models for threejs-webgl, react-three-fiber, and babylonjs-engine skills.

FileKindSize
SKILL.mdskill md16.4 KB
assets/README.mdmarkdown841 B
references/bpy_api_reference.mdmarkdown1.8 KB
references/gltf_export_guide.mdmarkdown3.7 KB
references/optimization_strategies.mdmarkdown1.5 KB
scripts/batch_export.pyexecutablescript967 B
scripts/generate_lods.pyexecutablescript913 B
scripts/optimize_model.pyexecutablescript720 B

scripts/generate_lods.py

View on GitHub
#!/usr/bin/env python3
"""
Generate LOD (Level of Detail) Copies

Usage:
    blender --background model.blend --python generate_lods.py
"""

import bpy

def generate_lods(obj, levels=[0.75, 0.5, 0.25]):
    """Create LOD copies with decreasing detail."""
    for i, ratio in enumerate(levels):
        lod_obj = obj.copy()
        lod_obj.data = obj.data.copy()
        lod_obj.name = f"{obj.name}_LOD{i}"

        bpy.context.collection.objects.link(lod_obj)

        decimate = lod_obj.modifiers.new(name='Decimate', type='DECIMATE')
        decimate.ratio = ratio

        bpy.context.view_layer.objects.active = lod_obj
        bpy.ops.object.modifier_apply(modifier='Decimate')

        print(f"Created {lod_obj.name}: {len(lod_obj.data.polygons)} polygons")

# Generate LODs for all meshes
for obj in bpy.data.objects:
    if obj.type == 'MESH':
        generate_lods(obj)

print("LOD generation complete")
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall