Install
openclaw skills install agentbox-sandboxanswer questions about agentbox cloud sandboxes using the official docs. use when the user wants help with agentbox quickstart, sandbox lifecycle, timeout, commands, filesystem read-write, environment variables, cli install or auth, python sdk usage, or custom sandbox templates.
openclaw skills install agentbox-sandboxProvide reliable AgentBox guidance based on the bundled summary of the official documentation.
references/agentbox-official.md.agentbox.cloud/docs as the source of truth for this skill.Sandbox(...).commands.run(...) unless they specifically want another interface.Use this structure:
Use this structure:
set_timeoutget_infoUse this structure:
files.readfiles.writeUse this structure:
run_codecommands.runUse this structure:
agentbox template initagentbox.Dockerfileagentbox template build --platform linux_x86 -p YOUR_WORKPATHfrom agentbox import Sandbox
sandbox = Sandbox(
api_key="ab_xxxxxxxxxxxxxxxxxxxxxxxxx",
template="<YOUR_TEMPLATE_ID>",
timeout=120,
)
result = sandbox.commands.run("ls -l")
print(result.stdout)
from agentbox import Sandbox
sandbox = Sandbox(
api_key="ab_xxxxxxxxxxxxxxxxxxxxxxxxx",
template="<YOUR_TEMPLATE_ID>",
timeout=60,
envs={"MY_VAR": "my_value"},
)
result = sandbox.commands.run("echo $MY_VAR")
print(result.stdout)
result = sandbox.commands.run(
"echo $MY_VAR",
envs={"MY_VAR": "123"},
)
references/agentbox-official.mdREADME.md