blockbench-plugins

blockbench-plugins is a skill for Claude Code, Codex from jasonjgardner/blockbench-mcp-project. It costs 87 tokens per session (2,827 once invoked), scanned A, original, Apache-2.0.

A guide and toolkit for writing JavaScript extensions for Blockbench, a 3D modeling application. It covers adding commands and panels, changing models, and importing or exporting formats.

In plain words
What is it for?
Use it to create or debug Blockbench plugins, including actions, dialogs, panels, toolbars, model edits, animations, and custom file formats.
Why use it?
It gives an agent the documented patterns needed to connect a custom extension to Blockbench's menus, interface, model data, and events.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jasonjgardner/blockbench-mcp-project/blockbench-development
Any agent
npx skills add jasonjgardner/blockbench-mcp-project --skill blockbench-development
Clone the repo
git clone --depth 1 https://github.com/jasonjgardner/blockbench-mcp-project

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for blockbench-plugins

README.md
[![agentmods](https://agentmods.dev/badge/skills/jasonjgardner/blockbench-mcp-project/blockbench-development.svg)](https://agentmods.dev/skills/jasonjgardner/blockbench-mcp-project/blockbench-development)
Your own site
<a href="https://agentmods.dev/skills/jasonjgardner/blockbench-mcp-project/blockbench-development"><img src="https://agentmods.dev/badge/skills/jasonjgardner/blockbench-mcp-project/blockbench-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,827 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.02827
Opus 5 $0.00044 $0.01413
Sonnet 5 $0.00017 $0.00565
Haiku 4.5 $0.00009 $0.00283

Measured 6d ago against content hash 4181fb1b2fbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

blockbench-plugins scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (assets/format_plugin.js, assets/plugin_template.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/blockbench-development/SKILL.md · 447 lines

How it starts

The opening of the file, as written. The whole thing — 447 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Blockbench Plugin Development

Overview

Blockbench runs on Electron (desktop) and as a web PWA, using THREE.js for 3D rendering and Vue 2 for reactive UI. Plugins have full access to global APIs within an isolated execution context.

Quick Reference

Task Approach
Create clickable command new Action() - add to menus/toolbars
Show form/dialog new Dialog() with form fields
Add sidebar panel new Panel() with Vue component
Modify model elements Use Undo.initEdit() → modify → Undo.finishEdit()
Custom import/export new Codec() + new ModelFormat()
React to changes Blockbench.on('event_name', callback)

Plugin File Structure

plugins/
└── my_plugin/
    ├── my_plugin.js      # Main file (required, ID must match filename)
    ├── about.md          # Extended docs (optional)
    └── icon.png          # 48x48 icon (optional)

Plugin Registration Template

(function() {
    // Store references for cleanup
    let myAction, myPanel, myDialog, eventCallback;
    
    Plugin.register('my_plugin', {
        title: 'My Plugin',
        author: 'Author Name',
        description: 'Short description',
        icon: 'extension',            // Material icon name
        version: '1.0.0',
        variant: 'both',              // 'desktop', 'web', or 'both'
        min_version: '4.8.0',
        tags: ['Utility'],
        
        onload() {
            // Initialize all components here
        },
        
        onunload() {
            // CRITICAL: Delete ALL components here
        },
        
        oninstall() {
            Blockbench.showQuickMessage('Installed!');
        }
    });
})();

Actions

Actions are clickable commands for menus, toolbars, and keybindings.

myAction = new Action('my_action_id', {
    name: 'Action Name',
    description: 'Tooltip text',
    icon: 'star',
    category: 'edit',                 // For keybind settings
    
    condition: () => Cube.selected.length > 0,
    
    keybind: new Keybind({ key: 'k', ctrl: true }),
    
    click(event) {
        // Action logic
    }
});

MenuBar.addAction(myAction, 'filter');  // Add to Filter menu

// Cleanup
myAction.delete();

Read the full file on GitHub · 447 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 447 lines · 87 tokens per session scan A 4181fb1b2fbd

Subscribe to this mod's changes

blockbench-plugins is a skill published in the GitHub repository jasonjgardner/blockbench-mcp-project (15 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 87 tokens to every session and 2,827 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ashfox

Create, edit, review, animate, and export game-ready low-poly assets in the ashfox web workbench through an AI agent. Use for low-poly modeling, deterministic textures and UVs, rigs, idle or motion animation, GLB, Bedrock, or GeckoLib exports, and Blockbench-free asset production.

sigee-min/ashfox · 67 tokens

img2blockbench

Reconstruct a Minecraft-style creature, character, prop, or vehicle concept as a native Blockbench model using an optional provider-selected 3D mesh, agent vision, and deterministic compilation. Use when Codex should turn PNG, JPEG, or WebP artwork, optionally accompanied by a textured GLB or GLTF from any image-to-3D…

orca-gamedev/img2blockbench · 106 tokens

blockbench-mcp-modeling

Build high-quality Minecraft / GeckoLib / Bedrock models, textures and animations in Blockbench through the BlockbenchMCP server (the mcpblockbench tools). Use whenever the user asks to create, model, texture, rig, retexture or animate a creature, character, mob or item in Blockbench, wants to match a reference image…

sosadly/blockbench-mcp · 117 tokens

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

playtest-report

Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

Donchitos/Claude-Code-Game-Studios · 35 tokens