تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

astra-docker

بواسطة walniek

Web & Frontend Development
429التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

cat <<'EOF' > ~/.openclaw/workspace/skills/astra-docker/SKILL.md.

الوصف

ما الذي تفعله هذه المهارة

Provides shell access to a persistent Docker container called astra-env, with a workspace mounted at /workspace. Supports executing commands, reading files, and writing files inside the container.

Using a persistent container keeps files and installed packages available across sessions, unlike ephemeral shells or running commands directly on the host.

متى تستخدمها

  • Running build scripts in an isolated workspace
  • Executing test suites without affecting the host system
  • Writing output files to a persistent container directory
  • Installing dependencies in a sandboxed environment
  • Running background processes inside the container

مثال على سير العمل

الإدخال

User asks: Run the script at /workspace/analyze.py

الوكيل
  1. 1

    Verify the file exists using docker exec ls

  2. 2

    Execute the script with python3 inside astra-env

  3. 3

    Capture stdout and stderr from the container

  4. 4

    Return the output to the user

الإخراج

Script output from the container printed to the user

التثبيت

clawhub install walniek/astra-docker

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط