smalltalk
Interact with live Smalltalk image (Cuis or Squeak). Use for evaluating Smalltalk code, browsing classes, viewing method source, defining classes/methods, querying hierarchy and categories.
Why use this skill?
Enhance your AI agent with live Smalltalk interaction. Evaluate code, browse classes, and manage Smalltalk images with the OpenClaw Smalltalk MCP skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/johnmci/smalltalkWhat This Skill Does
The Smalltalk skill empowers OpenClaw to communicate directly with a live Cuis or Squeak Smalltalk environment via the MCP protocol. It acts as an bridge, allowing the AI to introspect, modify, and execute code within a persistent Smalltalk image. Whether you are debugging, exploring existing system hierarchies, or defining new classes and methods, this skill provides a full-featured interface to the Smalltalk programming environment. It supports both ephemeral "Playground" mode for testing and "Dev Mode" for long-term project persistence, ensuring that your architectural changes and code refinements are saved across sessions.
Installation
To install this skill, use the command: clawhub install openclaw/skills/skills/johnmci/smalltalk. After installation, you must ensure the ClaudeSmalltalk repository is cloned from GitHub. Follow the setup documentation provided in the repository, specifically SQUEAK-SETUP.md for image configuration and CLAWDBOT-SETUP.md to finalize the agent-side configuration. Ensure the MCP server is correctly identified by the daemon to enable code execution.
Use Cases
This skill is perfect for Smalltalk developers and researchers who want to automate system exploration. You can use it to map complex class hierarchies, verify method implementations, or perform refactoring tasks. It is particularly useful for automated testing, where the agent can programmatically define methods, execute specific logic, and query the system state to validate expected behavior.
Example Prompts
- "Load the Smalltalk skill and list all subclasses of the Collection class to help me understand the hierarchy."
- "Define a new class named 'DataProcessor' in the 'Tools' category and add a 'processData' method that returns a confirmation string."
- "View the source code for the 'asUppercase' method in the String class and tell me if it uses any primitive calls."
Tips & Limitations
Always ensure that the .changes file is in the same directory as your image when running in Dev Mode to prevent data loss. For complex refactoring, perform actions one at a time to allow the agent to verify the system state after each step. Note that this skill involves direct code execution; be mindful of the impact of the commands being evaluated in your live environment.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-johnmci-smalltalk": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution