astra-docker
bởi walniek
Web & Frontend DevelopmentTó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ụ
User asks: Run the script at /workspace/analyze.py
- 1
Verify the file exists using docker exec ls
- 2
Execute the script with python3 inside astra-env
- 3
Capture stdout and stderr from the container
- 4
Return the output to the user
Script output from the container printed to the user
Cài đặt
clawhub install walniek/astra-dockerChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.