bailian-sandbox

bailian-sandbox is a skill for Claude Code, Codex from modelstudioai/cli. It costs 177 tokens per session (2,101 once invoked), scanned A, original, Apache-2.0.

A command-line interface for creating, inspecting, connecting to, pausing, resuming, and deleting Alibaba Cloud Bailian sandbox environments. A sandbox is an isolated workspace for running tools or code.

In plain words
What is it for?
It helps manage sandbox instances, connect to their shell or browser view, and create or maintain reusable sandbox templates.
Why use it?
It provides one way to manage these remote workspaces and their templates without using separate manual control steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit It helps manage sandbox instances, connect to their shell or browser view, and create or maintain reusable sandbox templates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/modelstudioai/cli/bailian-sandbox
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.

Any agent
npx skills add modelstudioai/cli --skill bailian-sandbox
Clone the repo
git clone --depth 1 https://github.com/modelstudioai/cli

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 bailian-sandbox

README.md
[![agentmods](https://agentmods.dev/badge/skills/modelstudioai/cli/bailian-sandbox/github.svg)](https://agentmods.dev/skills/modelstudioai/cli/bailian-sandbox)
Your own site
<a href="https://agentmods.dev/skills/modelstudioai/cli/bailian-sandbox"><img src="https://agentmods.dev/badge/skills/modelstudioai/cli/bailian-sandbox/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bailian-sandbox

Your own site · 80×15
<a href="https://agentmods.dev/skills/modelstudioai/cli/bailian-sandbox"><img src="https://agentmods.dev/badge/skills/modelstudioai/cli/bailian-sandbox.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 177 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,101 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 4 Nov 2026
  • Snyk pass 7 Nov 2026
How audits are shown
Origin original 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.1 $0.00177 $0.02101
Opus 5.5 $0.00071 $0.00840
Sonnet 5.5 $0.00035 $0.00420
Haiku 4.5 $0.00018 $0.00210

Measured today against content hash 748ea310d60a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bailian-sandbox scanned grade A with 0 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 today.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/bailian-sandbox/SKILL.md · 82 lines

How it starts

The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bailian Sandbox (bl sandbox)

Before running bl, read the shared bailian-protocol for consent, high-risk confirmation, version checks, call attribution, authentication, and error handling. If it is missing, stop execution and prompt the user to install the full family with bl skill init. Examples in reference/ stay bare; wrap with Call attribution when running.

Call attribution: Examples below and in reference/ stay bare bl …. When running a command, wrap it with bailian-protocol → Call attribution (bash or PowerShell). One sample for this skill (BAILIAN_SKILL_NAME=bailian-sandbox; replace codex with this host). bl auth / bl config are owned by bailian-cli.

BAILIAN_CALLER_TYPE=agent BAILIAN_CALLER_NAME=codex BAILIAN_SKILL_NAME=bailian-sandbox BAILIAN_SKILL_VERSION=2.5.0 bl sandbox list

Scope and setup

  • Manage Sandbox instances and templates through Bailian's E2B-compatible REST control plane. No E2B SDK or E2B API key is required; authentication uses the Bailian API Key as an Authorization Bearer token.
  • Resolve Base URL through the same CLI chain as Managed Agent: --base-url > DASHSCOPE_BASE_URL > login/profile base_url. Use an origin such as https://workspace.cn-beijing.maas.aliyuncs.com; the CLI strips URL paths/query/fragment and appends /api/v1/agentstudio/sandbox for lifecycle operations, or /api/v1/agentstudio/files for template file uploads. The saved API Key is reused. Profile capability fallback follows the shared protocol for both the key and Base URL.
  • If no Base URL is configured, resolve the workspace from --workspace-id, then BAILIAN_WORKSPACE_ID, then configured workspace_id, and use https://{workspace_id}.cn-beijing.maas.aliyuncs.com/api/v1/agentstudio/sandbox. With a configured Base URL, the workspace flag is optional. The service currently supports cn-beijing and requires prior Sandbox SLR authorization.
  • No agents.yaml or local IaC state is required. get / connect return instance connection information; neither opens an interactive shell or browser. For WebShell, CDP, or VNC, use that information with the runtime APIs described below. Do not invent bl sandbox exec, webshell, or browser subcommands.

Read the full file on GitHub · 82 lines

Files

What ships with it

3 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. today Changed 748ea310d60a
  2. 2d ago Changed b4fa400609f9
  3. 3d ago Changed 14294e920cf7
  4. 5d ago Changed 08b7c33a8d19
  5. 7d ago Changed d978583bf9fa
  6. 8d ago Changed ef49db7b12b4
  7. 9d ago Changed 3f40f7ae4ae7
  8. 10d ago Changed c05b00fe690b
  9. 15d ago Changed · +6 lines 3a325c900829
  10. 16d ago First seen · 76 lines · 177 tokens per session scan A 029cd48dc1f3

Subscribe to this mod's changes

bailian-sandbox is a skill published in the GitHub repository modelstudioai/cli (369 stars, last pushed today), licensed Apache-2.0. It adds 177 tokens to every session and 2,101 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.

Related

bailian-sandbox compared with skills from other repositories

bailian-sandbox next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bailian-sandboxmodelstudioai/cliSkill369todayApache-2.0A177Claude Code, Codex
clawteam.system.setupjavimosch/supercliSkill575d agoMITA21Claude Code, Codex
zeabur-cluster-scalezeabur/agent-skillsSkill382mo agononeB110Claude Code
zeabur-server-sshzeabur/agent-skillsSkill382mo agononeB104Claude Code
zeabur-dockerfilezeabur/agent-skillsSkill382mo agononeC68Claude Code
build-mcpbanthropics/claude-plugins-officialSkill46ktodayApache-2.0A98Claude Code
obsidian-baseskepano/obsidian-skillsSkill51k1mo agoMITA63Claude Code