python-executor
Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh). Pre-installed: NumPy, Pandas, Matplotlib, requests, BeautifulSoup, Selenium, Playwright, MoviePy, Pillow, OpenCV, trimesh, and 100+ more libraries. Use for: data processing, web scraping, image manipulation, video creation, 3D model processing, PDF generation, API calls, automation scripts. Triggers: python, execute code, run script, web scraping, data analysis, image processing, video editing, 3D models, automation, pandas, matplotlib
Why use this skill?
Power your OpenClaw agent with the Python Executor. Run data analysis, web scraping, and image processing scripts securely in a cloud-based sandbox.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/okaris/python-executorWhat This Skill Does
The Python Executor is a robust, sandboxed environment designed for OpenClaw agents to execute arbitrary Python code. It acts as a powerful computational engine, allowing your AI agent to transition from simple conversation to executing complex logic, performing data crunching, and generating creative media assets. With over 100 pre-installed scientific and utility libraries, it functions as a cloud-based development environment that requires zero configuration on the local machine.
Installation
To integrate this skill, use the ClawKit CLI by running the command: clawhub install openclaw/skills/skills/okaris/python-executor. The installation verifies all dependencies and ensures the sandbox is configured for your specific architecture. Once installed, your agent automatically gains the ability to run scripts for data processing, web scraping, or file manipulation tasks. The underlying engine, inference.sh, ensures that every execution is isolated from your primary system, providing a secure bridge between your AI and your data.
Use Cases
This skill is highly versatile. It is ideal for data analysts who need to process CSV files or generate visualizations on the fly. Developers can leverage the browser automation stack—Playwright and Selenium—to scrape dynamic websites that block standard HTTP requests. For creative workflows, users can utilize OpenCV and MoviePy to manipulate video clips, add filters, or generate 3D models using Trimesh. It is also an essential tool for automating repetitive tasks, such as generating PDFs from data inputs or interacting with complex APIs.
Example Prompts
- "Analyze this sales CSV data and generate a trend line chart using matplotlib. Save it to the output folder."
- "Go to this URL, scrape the main article headlines, and return them as a bulleted list in the chat."
- "Take the video file I uploaded, trim the first five seconds, and apply a grayscale filter using the Python executor."
Tips & Limitations
To maximize performance, be mindful of the 30-second default timeout; for resource-heavy video processing, ensure you utilize the high_memory flag. Because the sandbox is isolated, always explicitly save assets to the /outputs directory to ensure they persist and remain accessible for download. Avoid attempting to access local system resources, as the environment is strictly sandboxed for safety.
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-okaris-python-executor": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api, code-execution
Related Skills
content-repurposing
Content atomization — turn one piece of content into many formats. Covers blog-to-thread, blog-to-carousel, podcast-to-blog, video-to-quotes, and more. Use for: content marketing, social media, multi-platform distribution, content strategy. Triggers: content repurposing, repurpose content, content atomization, content recycling, one to many content, multi platform content, cross post, adapt content, reformat content, blog to thread, blog to video, podcast to blog, content multiplication
product-changelog
Product changelog and release notes that users actually read. Covers categorization, user-facing language, visuals, and distribution. Use for: release notes, changelogs, product updates, feature announcements, versioning. Triggers: changelog, release notes, product update, version notes, what's new, feature announcement, product changelog, update log, release announcement, version release, product release, ship notes
logo-design-guide
Logo design principles and AI image generation best practices for creating logos. Covers logo types, prompting techniques, scalability rules, and iteration workflows. Use for: brand identity, startup logos, app icons, favicons, logo concepts. Triggers: logo design, create logo, brand logo, logo generation, ai logo, logo maker, icon design, brand mark, logo concept, startup logo, app icon logo
product-photography
AI product photography with studio lighting, lifestyle shots, and packshot conventions. Covers angles, backgrounds, shadow types, hero shots, and e-commerce image requirements. Use for: product photos, e-commerce images, Amazon listings, packshots, lifestyle photography. Triggers: product photography, product photo, packshot, e-commerce photography, product shot, product image, studio photography, lifestyle product, amazon product photo, product listing image, hero shot, product mockup, commercial photography
newsletter-curation
Newsletter curation with content sourcing, editorial structure, and subscriber growth strategies. Covers issue formatting, link roundups, commentary style, and sending cadence. Use for: email newsletters, link roundups, weekly digests, curated content, creator newsletters. Triggers: newsletter, email newsletter, newsletter curation, weekly digest, link roundup, curated newsletter, newsletter writing, newsletter format, subscriber growth, newsletter strategy, content curation, newsletter template