bailian-sandbox

bailian-sandbox is a skill for Claude Code, Codex from modelstudioai/cli. It costs 177 tokens per session (1,904 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.

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 1,904 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.
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.01904
Opus 5.5 $0.00071 $0.00762
Sonnet 5 $0.00035 $0.00381
Haiku 4.5 $0.00018 $0.00190

Measured today against content hash a0e92aafb99d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-23, 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 · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 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, authentication, and error handling. If it is missing, stop execution and prompt the user to install the full family with bl skill init.

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.

Choose the operation

User intent Command family
Discover built-in base image presets bl sandbox official-images (offline, no authentication)
Upload a local file for template mounts bl sandbox file upload
Inspect or create instances bl sandbox list / get / create
Connect, pause, or resume an instance bl sandbox connect / pause / resume
Release an instance bl sandbox delete
Inspect or build templates bl sandbox template list / get / create / update
Check a submitted template build bl sandbox template build-status
Delete a template bl sandbox template delete

Read the full file on GitHub · 76 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 a0e92aafb99d
  2. 2d ago Changed 0b8d1aa4441d
  3. 4d ago Changed 507e0f408762
  4. 5d ago Changed 70de08303d05
  5. 8d ago Changed 5ed38b87ff42
  6. 11d ago First seen · 76 lines · 177 tokens per session scan A f3f3b2d03067

Subscribe to this mod's changes

bailian-sandbox is a skill published in the GitHub repository modelstudioai/cli (335 stars, last pushed yesterday), licensed Apache-2.0. It adds 177 tokens to every session and 1,904 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

Other skills, from other repositories

zeabur-cluster-scale

A guide for changing the size of dedicated Kubernetes clusters on Zeabur. Kubernetes is software that runs containers across groups of servers.

zeabur/agent-skills · 110 tokens

zeabur-server-ssh

Use when debugging services on a user's dedicated server via SSH. Use when needing to run a command on the server, inspect pods, check container logs, view k8s resources, or run kubectl commands. Use when "service exec" is insufficient and you need server-level access. Use when user says "check my server", "run X on…

zeabur/agent-skills · 104 tokens

zeabur-dockerfile

Use when generating a Dockerfile for deploying a project to Zeabur. Use when the user needs help writing a Dockerfile for Node.js, Python, Go, Rust, PHP, Ruby, Java, .NET, or Elixir projects. Use when troubleshooting Dockerfile build failures on Zeabur.

zeabur/agent-skills · 68 tokens

build-mcpb

This skill should be used when the user wants to "package an MCP server", "bundle an MCP", "make an MCPB", "ship a local MCP server", "distribute a local MCP", discusses ".mcpb files", mentions bundling a Node or Python runtime with their MCP server, or needs an MCP server that interacts with the local filesystem…

anthropics/claude-plugins-official · 98 tokens

obsidian-bases

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

kepano/obsidian-skills · 63 tokens

officecli

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

iOfficeAI/OfficeCLI · 56 tokens