A high-performance execution environment that allows AI agents to write and run code on the fly to solve any computational or system task.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install code-executor
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 code-executor using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Code Executor skill empowers your AI agent with the ability to generate and execute logic in real-time. Instead of being limited to pre-defined functions, the agent can synthesize scripts in Python, JavaScript, TypeScript, Bash, or SQL to handle unique problems. By leveraging this component of Openclaw Skills, you provide your agent with a flexible sandbox where it can calculate complex formulas, manipulate local files, or process data without manual intervention.
Built for developers who need maximum flexibility, this skill transforms the AI from a text generator into an active problem solver. It includes built-in safety features like sandboxing and confirmation prompts to ensure that code execution remains under user control while providing the 'infinite power' of a programmable environment.
To integrate this skill into your environment, ensure you have the required runtimes installed (Python 3, Node.js, etc.). Configure your security parameters in your environment settings:
# Enable the execution sandbox
export CODE_SANDBOX=true
# Set execution timeout in seconds
export CODE_TIMEOUT=30
# Require manual approval for all execution tasks
export CODE_REQUIRE_CONFIRM=true
The Code Executor organizes execution data and environment settings through a structured configuration. It tracks the runtime state and provides metadata for every execution event within the Openclaw Skills environment.
| Runtime | Command | Usage Case |
|---|---|---|
| Python | python3 | Data science, math, and general automation |
| JavaScript | node | Web-related logic and JSON processing |
| TypeScript | ts-node | Strongly typed script execution |
| Bash | bash/sh | System tasks and file management |
| SQL | sqlite3 | Local database queries and data filtering |
Loading
A comprehensive AI programming assistant designed to analyze, debug, optimize, and document your source code across multiple languages.

A centralized gateway to connect, manage, and automate interactions with any external REST or GraphQL API service.

A 24/7 digital mentor designed to help you set goals, receive feedback, and stay motivated through structured daily and weekly reflections.

A personalized AI-driven coaching assistant that helps users define goals, track progress, and maintain motivation through structured check-ins.

An advanced intelligence pipeline that synthesizes raw multi-source data into authoritative, high-density geopolitical briefings.

A systematic framework for AI agents to log errors, user corrections, and new insights to drive continuous performance improvement.








































