python-executor: Run Python code in a sandbox with 100+ libraries
python-executor runs Python code through the belt CLI in an isolated environment. It includes over 100 libraries, such as pandas, requests, Playwright, Pillow, OpenCV and trimesh. Files saved to outputs/ are returned with the result.
What problem this skill solves
You need to run a Python script for a task such as scraping a web page, processing a dataset, editing an image or video, or processing a 3D model. You do not want to set up the Python environment yourself.
With this skill, you send the code to the infsh/python-executor app. You get back the printed output and any files the script saved to outputs/. The environment is CPU-only with Python 3.10, with 8GB RAM by default or 16GB with the high_memory variant. Each run has a timeout from 1 to 300 seconds, with a default of 30.
Good for
- Web scraping and HTTP or API calls
- Data processing with pandas and charts with matplotlib
- Image, video or 3D model file processing
- PDF or report generation
Not for
- GPU or machine learning model workloads, which the skill says to run in dedicated AI apps
- Interactive scripts that depend on plt.show() or live input
Install this skill
python-executor only
npx skills add https://github.com/beltsh/superpowers --skill python-executorThe whole repository
npx skills add https://github.com/beltsh/superpowersHow this skill works
- 1Log in with `belt login`.
- 2Send Python code to `infsh/python-executor` with `belt app run` and a JSON input that has a `code` field.
- 3Optionally set `timeout` (1 to 300 seconds, default 30) or `working_dir`.
- 4The code runs in an isolated subprocess on a CPU-only Python 3.10 environment.
- 5Use the `high_memory` variant, with 16GB RAM, for large datasets.
- 6Files saved to `outputs/` are detected automatically and returned in the response.
Related skills in the same repository
| Skill | What it does | Total installs |
|---|---|---|
| ai-video-generation | Generate AI videos with Google Veo, Seedance 2.5, Kling, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Seedance 2.5, Kling v4, Runway Gen-4.5, FLUX 3 Video, HappyHorse 1.0, Wan 2.7, Grok Imagine Video 1.5, P-Video 2, OmniHuman, Fabric. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway, pika alternative, sora alternative, kling, seedance, happyhorse | 270,084 |
| ai-image-generation | Generate AI images with GPT-Image-2.6, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2.6 Flare, GPT-Image-2.6 Sunburst, FLUX Dev LoRA, FLUX.2 Klein LoRA, Nano Banana 2.1, Gemini 3 Pro Image, Grok Imagine 2.0, Seedream 5.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image | 269,955 |
| ai-avatar-video | Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc | 269,945 |
| twitter-automation | Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-create (text and media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet | 269,943 |
Are you the author of this skill? Add its rank to your GitHub repo
The badge updates every day and links back to this page.
[](https://linkly.ai/skills/s/beltsh/superpowers/python-executor)