Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

astra-docker

bởi walniek

Web & Frontend Development
429Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

Script output from the container printed to the user

Cài đặt

clawhub install walniek/astra-docker

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết