# alibabacloud-agentbay-aio-skills

alibabacloud-agentbay-aio-skills executes Python, JavaScript, R, and Java code in an isolated AgentBay cloud sandbox instead of your local machine. Useful for data analysis and plotting.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 112 installs · ★ 300 repo stars
- Author: aliyun
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aliyun/alibabacloud-aiops-skills/tree/HEAD/skills/aiml/agentbay/alibabacloud-agentbay-aio-skills/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/alibabacloud-agentbay-aio-skills

## What it does

The skill routes execution requests into an isolated Alibaba Cloud environment using `scripts/run_code.py` and the AgentBay SDK. It handles sandbox creation, transfers code, and returns execution outputs. The workflow forbids running user code on your local system, ensuring isolation even when the remote run fails.

Execution supports Python, JavaScript, R, and Java, capped at a 60-second timeout. Your local environment requires Python 3.8 or newer alongside the `wuying-agentbay-sdk` package. Without an API token stored inside `~/.config/agentbay/api_key`, all remote executions fail immediately.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-agentbay-aio-skills -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/alibabacloud-agentbay-aio-skills/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/alibabacloud-agentbay-aio-skills/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-agentbay-aio-skills -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/alibabacloud-agentbay-aio-skills/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-agentbay-aio-skills -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/alibabacloud-agentbay-aio-skills/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aliyun/alibabacloud-aiops-skills skills/aiml/agentbay/alibabacloud-agentbay-aio-skills
```

2. **Manually: put the files in place**
- File: `.github/skills/alibabacloud-agentbay-aio-skills/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-agentbay-aio-skills -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/aiml/agentbay/alibabacloud-agentbay-aio-skills
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/alibabacloud-agentbay-aio-skills/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-agentbay-aio-skills -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/aliyun/alibabacloud-aiops-skills/tree/HEAD/skills/aiml/agentbay/alibabacloud-agentbay-aio-skills/SKILL.md

## When to use it
- run untrusted scripts remotely across four supported runtimes
- generate chart images via matplotlib without local environment clutter
- evaluate data processing logic under an enforced 60-second limit
- capture execution outputs and exit codes as structured JSON

## Example prompts
- Run this Python code inside the AgentBay sandbox and return the result
- Plot these metrics with matplotlib in the remote sandbox and export the image
- Execute this JavaScript snippet via `scripts/run_code.py` using `--json` mode

## Similar
- [rivet-secure-exec](https://affpapa.org/en/nevibecode/skills/rivet-secure-exec.md) — skill · 1400 installs
- [zeroboot-vm-sandbox](https://affpapa.org/en/nevibecode/skills/zeroboot-vm-sandbox.md) — skill · 1300 installs
- [deno-sandbox](https://affpapa.org/en/nevibecode/skills/deno-sandbox.md) — skill · 367 installs
- [upstash-box-py](https://affpapa.org/en/nevibecode/skills/upstash-box-py.md) — skill · 1200 installs
- [bailian-cli](https://affpapa.org/en/nevibecode/skills/bailian-cli.md) — skill · 19000 installs
- [e2b-sandbox](https://affpapa.org/en/nevibecode/skills/e2b-sandbox.md) — skill · 2 installs

From the same set: [aliyun/alibabacloud-aiops-skills](https://affpapa.org/en/nevibecode/by/aliyun/alibabacloud-aiops-skills.md) — 66 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
