← 返回 Skills 市场
guoygang

AgentBox Sandbox

作者 Mr.Guo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
149
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install agentbox-sandbox
功能描述
answer questions about agentbox cloud sandboxes using the official docs. use when the user wants help with agentbox quickstart, sandbox lifecycle, timeout, c...
使用说明 (SKILL.md)

AgentBox ClawHub

Provide reliable AgentBox guidance based on the bundled summary of the official documentation.

Response workflow

  1. Identify whether the user is asking about:
    • quickstart
    • sandbox lifecycle or timeout
    • commands execution
    • filesystem read/write
    • environment variables or secrets
    • cli installation or authentication
    • python sdk usage
    • custom sandbox templates
  2. Answer from references/agentbox-official.md.
  3. Keep CLI and Python SDK paths separate. Do not mix them unless the user asks for both.
  4. Prefer short, runnable examples.
  5. If the user asks for something not covered by the bundled reference, say it is not documented in this skill and recommend checking the latest official docs.

Core rules

  • Do not invent undocumented methods, flags, or endpoints.
  • Treat agentbox.cloud/docs as the source of truth for this skill.
  • State units explicitly when talking about timeout values: seconds.
  • Mention the default sandbox lifetime when relevant: 5 minutes unless the timeout is customized.
  • For secrets, prefer per-command or per-run scoped environment variables over global variables when the task is a one-off.
  • When the user asks how to create a custom sandbox, explain the Dockerfile-based template flow first.
  • When the user asks how to run code or shell inside AgentBox, show Sandbox(...).commands.run(...) unless they specifically want another interface.

Common answer patterns

Quickstart

Use this structure:

  • what to install
  • how to authenticate or set API key
  • minimal example
  • one common next step

Timeout or lifecycle

Use this structure:

  • default behavior
  • how to set timeout at creation
  • how to extend or reset timeout later with set_timeout
  • how to inspect start and end time with get_info

Filesystem

Use this structure:

  • read single file with files.read
  • write single file with files.write
  • warn that write overwrites existing content

Environment variables

Use this structure:

  • global envs at sandbox creation
  • scoped envs for run_code
  • scoped envs for commands.run
  • recommend scoped envs for secrets

Template creation

Use this structure:

  • install CLI
  • authenticate
  • agentbox template init
  • edit agentbox.Dockerfile
  • agentbox template build --platform linux_x86 -p YOUR_WORKPATH
  • start sandbox with the resulting template id

Ready-to-adapt snippets

Python SDK quickstart

from agentbox import Sandbox

sandbox = Sandbox(
    api_key="ab_xxxxxxxxxxxxxxxxxxxxxxxxx",
    template="\x3CYOUR_TEMPLATE_ID>",
    timeout=120,
)

result = sandbox.commands.run("ls -l")
print(result.stdout)

Global environment variables

from agentbox import Sandbox

sandbox = Sandbox(
    api_key="ab_xxxxxxxxxxxxxxxxxxxxxxxxx",
    template="\x3CYOUR_TEMPLATE_ID>",
    timeout=60,
    envs={"MY_VAR": "my_value"},
)

result = sandbox.commands.run("echo $MY_VAR")
print(result.stdout)

Scoped command environment variables

result = sandbox.commands.run(
    "echo $MY_VAR",
    envs={"MY_VAR": "123"},
)

Resources

  • Official reference summary: references/agentbox-official.md
  • ClawHub publish notes: README.md
安全使用建议
This skill is low-risk: it’s a text-only, bundled summary of AgentBox docs and does not install software or request secrets. Before installing, verify the bundled reference matches the live official docs if you need the latest behavior. Be cautious when following CLI examples that show login with email/password — prefer API keys or other secure auth methods when possible, and never paste real secrets into chat prompts when asking for examples or debugging help.
功能分析
Type: OpenClaw Skill Name: agentbox-sandbox Version: 1.0.0 The skill bundle is a documentation assistant for AgentBox cloud sandboxes, providing instructions and code snippets for the CLI and Python SDK. All content, including the instructions in SKILL.md and the reference documentation in references/agentbox-official.md, aligns with the stated purpose of helping users manage sandbox lifecycles, execute commands, and handle files/environment variables without any signs of malicious intent or suspicious behavior.
能力评估
Purpose & Capability
The skill's name, description, SKILL.md, and bundled reference all align: it's a documentation/quickstart helper for AgentBox sandboxes. It does not declare unrelated binaries, env vars, or config paths.
Instruction Scope
The runtime instructions direct the agent to answer from the included reference file and explicitly forbid inventing undocumented features. They don't instruct reading arbitrary host files, calling external endpoints, or exfiltrating data.
Install Mechanism
No install spec, no downloads, and no code files — this is instruction-only, which minimizes filesystem and network risk.
Credentials
The skill requires no environment variables or credentials and the reference only shows example usage of AgentBox API keys or CLI auth for the user (typical for docs). Nothing in requires.env or the SKILL.md asks for unrelated secrets.
Persistence & Privilege
always is false (not force-included). Model invocation is allowed (default) but that is expected for a user-invocable docs skill and there is no request for elevated persistence or cross-skill config changes.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agentbox-sandbox
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agentbox-sandbox 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
AgentBox ClawHub 1.0.0 – Initial Release - New skill providing concise, accurate answers about AgentBox cloud sandboxes, based on the official documentation. - Supports workflows for quickstart, sandbox lifecycle and timeout, commands, filesystem, environment variables/secrets, CLI install/auth, Python SDK, and custom templates. - Includes preferred code patterns, answer templates, and official example snippets. - Enforces clear distinctions between CLI and Python SDK usage. - Built-in safeguards against undocumented advice; recommends the official docs for anything unreferenced.
元数据
Slug agentbox-sandbox
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

AgentBox Sandbox 是什么?

answer questions about agentbox cloud sandboxes using the official docs. use when the user wants help with agentbox quickstart, sandbox lifecycle, timeout, c... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 149 次。

如何安装 AgentBox Sandbox?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agentbox-sandbox」即可一键安装,无需额外配置。

AgentBox Sandbox 是免费的吗?

是的,AgentBox Sandbox 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

AgentBox Sandbox 支持哪些平台?

AgentBox Sandbox 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 AgentBox Sandbox?

由 Mr.Guo(@guoygang)开发并维护,当前版本 v1.0.0。

💬 留言讨论