astra-docker
由 walniek 提供
Web & Frontend Development简介
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
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
安装
clawhub install walniek/astra-docker运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。