cinience/alicloud-skills/alicloud-acs-agent-sandbox
Claude Code and agent skill by cinience/alicloud-skills
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Bootstrap, create, connect to, operate, secure, scale, upgrade, troubleshoot, inspect, and tear down Alibaba Cloud Container Compute Service (ACS) Agent Sandbox environments. Use for zero-to-Sandbox deployments from VPC and ACS cluster creation, Sandbox, SandboxSet, SandboxClaim, Checkpoint, SandboxUpdateOps, E2B SDK integration, tenant API keys and quotas, OSS or NAS CSI mounts, TrafficPolicy and SecurityProfile controls, SandboxGateway routing, Prometheus monitoring, ACK-based deployments, or ACK One multi-cluster fleet operations.
Install
npx vskill@latest install cinience/alicloud-skills/alicloud-acs-agent-sandboxSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as cinience/alicloud-skills/alicloud-acs-agent-sandbox.
Manage ACS Agent Sandbox
Operate ACS Agent Sandbox through Kubernetes custom resources and the E2B-compatible API. Treat the sandbox workload as untrusted and preserve a reproducible evidence trail under output/alicloud-acs-agent-sandbox/.
Start here
- Confirm whether the target is an ACS cluster, an ACK cluster using ACS compute, or an ACK One fleet.
- Confirm kubeconfig context, namespace, region, desired image, resource size, network boundary, and requested lifecycle action.
- Run the read-only inspection before changing an existing environment:
- Read the reference that matches the task:
- Start from an empty account/network or release the complete stack: references/bootstrap-and-teardown.md
- Create, connect, pause, resume, checkpoint, clone, upgrade, restart, or delete: references/creation-lifecycle.md
- Manage teams, API keys, quotas, or MySQL key storage: references/tenancy-storage.md
- Mount and validate OSS or NAS storage: references/storage-mounts.md
- Configure gateway routing, TrafficPolicy, L7 egress policy, credential injection, or network expansion: references/networking-security.md
- Monitor, inspect, alert, or diagnose: references/observability-inspection.md
- Look up CRDs, phases, conditions, labels, and annotations: references/crd-reference.md
- Deploy OpenClaw or operate through ACK One: references/platform-patterns.md
- Verify currency or follow an upstream procedure: references/sources.md
- State the planned mutation and its blast radius. Obtain confirmation before delete, destructive replacement, fleet-wide policy, credential-store migration, gateway cutover, or upgrade operations.
- Apply the smallest scoped change, wait for the documented terminal condition, rerun inspection, and save sanitized outputs.
Non-negotiable safety rules
- Never print, log, commit, or place API keys, runtime tokens, JWTs, AccessKeys, DSNs,
hashPepper, kubeconfigs, or generated migration SQL in evidence. - Do not use
kubectl describe podor dump Deployment/Pod arguments for Sandbox Manager: some addon versions place the admin API key in container arguments. Use the redacting inspector and bounded JSONPath queries; rotate the key immediately if it is exposed. - Keep
automountServiceAccountToken: falseunless the workload explicitly needs Kubernetes API access. - Use a dedicated sandbox vSwitch and enterprise security group. Deny metadata service
100.100.100.200/32and private networks except for explicitly required endpoints. - Do not rely on TrafficPolicy alone when a container has root, privileged mode,
NET_ADMIN,SYS_ADMIN,CAP_SETUID, orCAP_SETGID; these privileges can bypass in-namespace ACLs. - Treat the public
code-interpreter:v1.6and OpenClaw examples as validation images, not production-hardened images. - Require HTTPS for E2B production access. Prefer the native protocol with a wildcard domain and certificate; use the private protocol for simplified test integration.
- Treat China mainland ICP filing as a public-ALB preflight gate. A domain can work briefly before delayed enforcement returns HTTP 403 or resets TLS.
- Do not assume paused sandboxes can always resume. Capacity shortage and account arrears can prevent wake-up; WebSocket, SSE, and gRPC connections must reconnect.
- Do not upgrade a claimed sandbox without a data plan.
SandboxUpdateOpsrebuilds the Pod and does not retain rootfs, memory, or IP. - Do not change a live PV authentication mode in place. Relevant
volumeAttributesare immutable; recreating a PV can interrupt OSS access. - Enable the
csiruntime only on storage-enabled SandboxSets. It injects a privileged container and a/var/run/csihostPath, which changes the isolation boundary. - Keep NAS mount targets in the Sandbox VPC, use NFSv3, and never delete a NAS mount target while a Sandbox still has it mounted.
- Quota enforcement fails open when Redis is unavailable. Alert on this condition and do not describe quota as a hard security boundary during Redis failure.
Core creation path
For an empty-account deployment, use $aliyun-vpc-manage and $alicloud-acs-cluster as described in bootstrap-and-teardown.md. Then use this sequence for the Agent Sandbox layer:
- Enable Agent Sandbox for the cluster and verify component prerequisites from
creation-lifecycle.md. Confirmmanaged-corednsis active before creating any component or Sandbox that needs cluster service discovery. - Enable RRSA before Agent Identity, then install a supported Ingress Controller,
ack-agent-identitywhen required,ack-agent-sandbox-controller, andack-sandbox-manager. GrantAliyunCSManagedAgentSandboxRoleonly through the documented authorization flow. - Configure the manager domain, admin API key, TLS, and the Ingress listener. Keep the admin key in a secret manager or protected component configuration.
- Create a
SandboxSetwarm pool with explicit requests and limits, ACS labels,automountServiceAccountToken: false, and only required runtimes. - Wait until
status.availableReplicas == spec.replicas. - Allocate with E2B
Sandbox.create()or aSandboxClaim. Prefer claims for declarative Kubernetes workflows. - Verify Sandbox
status.phase=Running,Ready=True, the claimed label, runtime API operations, and network policy behavior. - Set an explicit timeout, pause policy, or shutdown time. Never leave temporary sandboxes without a lifecycle owner.
Minimal warm-pool shape:
E2B client path
The official ACS documentation currently requires E2B Python SDK versions below 2.25.0; its validated example pins e2b-code-interpreter==2.7.0 and e2b==2.24.0. Recheck the official page before changing these versions.
Set E2B_DOMAIN and E2B_API_KEY outside source code. Exercise run_code, files.write/read, and commands.run, then explicitly pause or kill the test sandbox.
For private acceptance, port-forward service/sandbox-manager on port 7788, install the OpenKruise customized E2B patch package, set E2B_DOMAIN=localhost:7788, and pass --private-protocol. This uses HTTP only on the local tunnel and is not a production ingress design.
Run the bundled smoke test for a repeatable acceptance and guaranteed cleanup attempt:
For an existing OSS or NAS PV, enable the csi runtime on the target SandboxSet and pass the mount as E2B metadata:
For OSS Agent Identity, also pass --credential-provider and --agent-name. See storage-mounts.md; the script never accepts or records AccessKeys.
Inspection workflow
Run inspection before and after a change. For manual follow-up, use bounded queries:
Classify findings as:
- Critical: credential exposure, metadata/private-network access without justification, missing isolation, destructive operation in progress without backup, or an admin path exposed without authentication.
- High: component not ready, failed lifecycle operation, unavailable warm pool, quota Redis fail-open, gateway errors, or repeated reconciliation failures.
- Medium: version prerequisite not met, missing monitoring, insufficient vSwitch/security-group capacity, or policy gaps.
- Info: capacity, phase distribution, claim utilization, configured policies, and current topology.
Output And Evidence
Save the inspection JSON, redacted manifests, command transcript, and final verification beneath output/alicloud-acs-agent-sandbox/<operation>/. A task is complete only when:
- the requested resource reaches its documented terminal state;
- readiness, lifecycle, network, storage, and authentication checks relevant to the task pass;
- secrets are absent from evidence;
- rollback or cleanup ownership is explicit;
- the final report lists resource names, namespaces, observed versions, changes, risks, and evidence paths.
Validation
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/compute/acs/alicloud-acs-agent-sandbox/SKILL.md
Popularity
- Repository stars
- 396
- Repository forks
- 35
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cinience/alicloud-skills/alicloud-acs-agent-sandbox)