Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
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.
When to use it
- 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
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Run the script at /workspace/analyze.py
- 1Verify the file exists using docker exec ls
- 2Execute the script with python3 inside astra-env
- 3Capture stdout and stderr from the container
- 4Return the output to the user
Script output from the container printed to the user