python-executor
تنفيذ كود Python في بيئة سحابية معزولة
متاح أيضًا من: inference-sh
تشغيل برامج Python النصية دون إعداد محلي أو إدارة تبعيات. الوصول إلى أكثر من 100 مكتبة مثبتة مسبقاً لتحليل البيانات وكشط الويب ومعالجة الصور والأتمتة من خلال استدعاء API بسيط.
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "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)
عوامل الخطر
⚙️ الأوامر الخارجية (10)
🌐 الوصول إلى الشبكة (7)
درجة الجودة
ماذا يمكنك بناءه
تحليل البيانات والتصور
معالجة ملفات CSV أو Excel باستخدام Pandas وإنشاء مخططات باستخدام Matplotlib وتوليد تقارير دون تثبيت أي مكتبات محلياً.
كشط الويب الآلي
استخراج البيانات من المواقع باستخدام BeautifulSoup للصفحات الثابتة أو Selenium للمحتوى المعروض بـ JavaScript ثم التصدير إلى تنسيقات منظمة.
خط أنابيب معالجة الوسائط
إنشاء محتوى فيديو باستخدام MoviePy ومعالجة الصور باستخدام Pillow وOpenCV أو معالجة النماذج ثلاثية الأبعاد باستخدام trimesh في سير عمل آلي.
جرّب هذه الموجهات
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