An AI-powered utility for visualizing, analyzing, and explaining Scratch projects through specialized ASCII block rendering.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install scratch-blocks
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install scratch-blocks using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Scratch Code Assistant is a technical extension designed for the Openclaw Skills ecosystem that enables AI agents to interact deeply with Scratch projects. By processing .sb3 and .sprite3 files, it allows for the analysis of visual code scripts without requiring a GUI. The skill converts complex, nested Scratch JSON into a simplified internal format for reasoning and then renders it back into human-readable ASCII blocks.
This skill is particularly valuable for developers building educational tools or automated coding agents that need to interpret or generate Scratch logic. It ensures that the AI's understanding of block-based programming is grounded in the actual Scratch engine specifications, providing a reliable bridge between visual logic and text-based analysis within Openclaw Skills.
To integrate this capability into your Openclaw Skills environment, ensure the script assets are correctly pathed within your agent's directory.
# Example: Extracting data from a raw Scratch project file
python3 scripts/extract.py project.json > internal_blocks.json
# Example: Rendering ASCII blocks for the user
python3 scripts/render_ascii.py "/tmp/scratchcode/blocks.json" --targets Sprite1
The skill utilizes a flattened JSON structure to manage Scratch project state efficiently. This schema is optimized for Openclaw Skills to ensure fast reasoning over block hierarchies.
| Object Type | Key Components | Description |
|---|---|---|
| script | blocks, opcode, params | Represents a sequence of connected Scratch blocks. |
| variable | name, value | Tracks current state for global or sprite-local variables. |
| list | name, items | Manages arrays and collections within the project. |
| block | opcode, params, blocks | The atomic unit of logic, including inputs and sub-branches. |
Loading
A comprehensive, step-by-step guide for AI agents to assist in building and launching a professional Shopify store from scratch.

A browser-based cloud editing skill that allows users to trim footage, add text, and export videos without installing local software.

An advanced AI-driven video editing agent that automates the transformation of raw footage into polished content using professional cloud-based processing.

A high-performance analytical tool that interfaces with the Midu API to provide structured sentiment and trend insights for specific subjects.

A comprehensive toolkit for Walmart Marketplace sellers to automate product research, listing optimization, and inventory management.

A comprehensive toolkit for designing, launching, and optimizing subscription-based e-commerce businesses.








































