跳到正文
TakoAPI
返回技能列表

astra-docker

由 walniek 提供

Web & Frontend Development
429下载量由 clawskills.sh 提供
0浏览量
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接