alibabacloud-agentbay-aio-skills
Installation
SKILL.md
AgentBay AIO Skill
How It Works
This skill runs user code in a remote sandbox (not locally) via AgentBay SDK. The entry script scripts/run_code.py handles sandbox creation, code execution, and result parsing automatically.
# Basic execution
python scripts/run_code.py --code "<user_code>" --language python
# Execute from file
python scripts/run_code.py --code-file /path/to/file.py --language python
# Structured JSON output (use this when writing results to files)
python scripts/run_code.py --code "<user_code>" --language python --json
Supported languages: python, javascript, r, java (case-insensitive). Timeout: 60 seconds max (--timeout-s).
Related skills