python-executor
Execute Python code in a sandboxed cloud environment
也可从以下获取: qu-skills,skillssh,inference-sh-skills,inferen-sh,infsh-skills,inference-skills,inference-sh
Run Python scripts without local setup or dependency management. Access 100+ pre-installed libraries for data analysis, web scraping, image processing, and automation through a simple API call.
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“python-executor”。 Execute Python code to create a gradient image
预期结果:
- Code executed successfully in 2.3 seconds
- Output files: outputs/gradient.png (256x256 grayscale image)
- Memory used: 45 MB
正在使用“python-executor”。 Scrape weather data from a weather API and display current temperature
预期结果:
- Code executed successfully in 1.8 seconds
- API Response: Temperature is 72°F, Conditions: Partly Cloudy
- Location: San Francisco, CA
安全审计
低风险Static analysis flagged 72 patterns but most are false positives. The 'external_commands' detections are bash code examples in markdown documentation, not actual shell execution. Network URLs point to the legitimate inference.sh service. The skill executes code on a remote sandboxed service, not locally. Low risk assigned due to third-party service dependency and ability to run arbitrary user code remotely.
中风险问题 (1)
低风险问题 (2)
风险因素
质量评分
你能构建什么
Data Analysis and Visualization
Process CSV or Excel files with Pandas, create charts with Matplotlib, and generate reports without installing any libraries locally.
Automated Web Scraping
Extract data from websites using BeautifulSoup for static pages or Selenium for JavaScript-rendered content, then export to structured formats.
Media Processing Pipeline
Create video content with MoviePy, manipulate images with Pillow and OpenCV, or process 3D models with trimesh in automated workflows.
试试这些提示
Run this Python code and show me the output: print('Hello World')Create a Pandas DataFrame with sample sales data, calculate summary statistics, and generate a bar chart saved as outputs/sales.png
Scrape the article titles from https://example.com/news and return them as a JSON list. Use BeautifulSoup for parsing.
Create a 10-second video with a blue background, add animated text that fades in, include a background music track, and export as outputs/promo.mp4 with 120 second timeout
最佳实践
- Always save output files to the outputs/ directory to ensure they are returned in the response
- Set appropriate timeout values for long-running tasks like video processing or large data operations
- Use plt.savefig() instead of plt.show() for matplotlib visualizations since the environment is non-interactive
避免
- Do not attempt to install additional packages at runtime - use only the pre-installed libraries
- Avoid infinite loops or excessively long computations that will hit the timeout limit
- Do not use interactive input functions like input() or plt.show() that require user interaction