cube-sandbox

cube-sandbox is a skill for Claude Code, Codex from TencentCloud/CubeSandbox. It costs 202 tokens per session (2,926 once invoked), scanned B, original, no licence file.

A security-focused guide for running Python code and shell commands in Cube Sandbox, an isolated environment for executing code.

In plain words
What is it for?
Use it to run code in isolation, manage sandbox files, mount host directories, set network rules, or pause and resume sandbox environments.
Why use it?
It helps keep untrusted or potentially harmful code separate from the host system and control whether it can access the network or files.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/tencentcloud/cubesandbox/cube-sandbox
Any agent
npx skills add TencentCloud/CubeSandbox --skill cube-sandbox
Clone the repo
git clone --depth 1 https://github.com/TencentCloud/CubeSandbox

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cube-sandbox

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloud/cubesandbox/cube-sandbox.svg)](https://agentmods.dev/skills/tencentcloud/cubesandbox/cube-sandbox)
Your own site
<a href="https://agentmods.dev/skills/tencentcloud/cubesandbox/cube-sandbox"><img src="https://agentmods.dev/badge/skills/tencentcloud/cubesandbox/cube-sandbox.svg" alt="Measured on agentmods" height="20"></a>
Per session 202 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,926 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00202 $0.02926
Opus 5 $0.00101 $0.01463
Sonnet 5 $0.00040 $0.00585
Haiku 4.5 $0.00020 $0.00293

Measured 3d ago against content hash ceaf8e32f2f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

cube-sandbox scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt-get update && sudo apt-get install -y python3 python3-pip python3-venv

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run(["sudo", "tee", "-a", "/etc/hosts"],
examples/openclaw-integration/skills/cube-sandbox/SKILL.md · 306 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 306 lines · 202 tokens per session scan B ceaf8e32f2f8

Subscribe to this mod's changes

cube-sandbox is a skill published in the GitHub repository TencentCloud/CubeSandbox (11,391 stars, last pushed 6d ago), with no licence file. It adds 202 tokens to every session and 2,926 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

docker-sandbox

Create, manage, and execute agent tools (claude, codex) inside Docker sandboxes for isolated code execution. Use when running agent loops, spawning tool subprocesses, or any task requiring process isolation. Triggers on "sandbox", "isolated execution", "docker sandbox", "safe agent execution", or when working on agent…

joelhooks/joelclaw · 74 tokens

mcp-visual-output

Interactive MCP visual output via @json-render/mcp: upgrade plain JSON tool responses to dashboards rendered in sandboxed iframes inside MCP clients like Claude, Cursor, and ChatGPT. Use when a tool result would read better as a stat grid, data table, or status badge than as text. For the server itself (transport…

yonatangross/orchestkit · 88 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

haiku

When writing a haiku for this bot, follow these conventions.

agno-agi/agno · 0 tokens

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens