Agentbay Aio Skills logo

Agentbay Aio Skills

Organization
agentbay-ai
agentbay-aio-skills

用于任何「运行/执行/评估代码」的请求(如 run this code、execute script、用 Python 画图、跑代码/画图/执行脚本)。通过 AgentBay SDK 创建 code_latest 沙箱,调用 run_code 执行并返回结果。支持 Python、JavaScript、R、Java。

Overview

Publisheragentbay-ai
Repositoryagentbay-skills
Skill nameagentbay-aio-skills
Stars
50
Forks
5
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by agentbay-ai on GitHub. Read the source before you install it.

Installation

Install the Agentbay Aio Skills AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/agentbay-ai/agentbay-skills/tree/main/agentbay-aio-skills
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/agentbay-ai/agentbay-skills.git /tmp/agentbay-skills
mkdir -p .claude/skills
cp -r /tmp/agentbay-skills/agentbay-aio-skills .claude/skills/agentbay-aio-skills
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Agentbay Aio Skills in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Agentbay Aio Skills on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Agentbay Aio Skills is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

AgentBay AIO 技能

触发条件:何时使用本技能

当用户意图运行或执行代码时即应使用本技能,即使用户没有说「沙箱」。典型表述(遇到即触发):

  • 英文:run this code、execute this script、run the code、execute the script、plot with Python、draw a graph、evaluate this snippet、what's the output of this code、can you run this
  • 中文:帮我跑一下这段代码、运行这段代码、执行这个脚本、用 Python 画个图、跑一下、看下运行结果、执行一下、帮我运行

依赖与环境

本技能依赖 wuying-agentbay-sdk 包。

最佳实践(Agent 必读):

为避免污染用户当前项目的环境,请务必使用技能目录下的独立虚拟环境:

  1. 检查/创建虚拟环境:

    bash
    # 检查是否存在 .venv,不存在则创建
    if [ ! -d ".venv" ]; then python3 -m venv .venv; fi
  2. 激活并安装依赖(仅首次或缺失时安装,使用阿里云镜像):

    bash
    source .venv/bin/activate
    pip show wuying-agentbay-sdk >/dev/null 2>&1 || pip install wuying-agentbay-sdk -i https://mirrors.aliyun.com/pypi/simple/
  3. 运行脚本(在虚拟环境中):

    bash
    # 确保在 venv 下运行
    python scripts/run_code.py --code "..." --language python

(若用户明确要求在全局环境运行,或当前已在特定环境中,可跳过创建 venv,但仍建议使用镜像源安装。)

API Key(仅报错时引导)

默认先直接执行脚本,不要每次运行前都提醒用户配置 API Key。 仅当脚本报错「Missing API key」或类似信息时,再引导用户配置:

  1. 到 AgentBay 控制台 申请 API Key。
  2. 在本地创建配置文件(脚本会从该路径读取):
    • macOS / Linux:~/.config/agentbay/api_key(或 $XDG_CONFIG_HOME/agentbay/api_key)
    • Windows:%USERPROFILE%\.config\agentbay\api_key
  3. 示例(macOS/Linux):mkdir -p ~/.config/agentbay,再将密钥写入 ~/.config/agentbay/api_key。Windows:在 %USERPROFILE%\.config\agentbay 下创建名为 api_key 的无扩展名文件。
  4. 告知用户完成后重试,不要只复述报错。

使用场景

所有代码执行类请求均默认使用本技能。 只要用户要求运行代码、执行脚本、评估片段或查看代码输出(Python、JavaScript、R 或 Java),即使用本技能——即使用户未提「沙箱」。使用 code_latest 创建 AgentBay 沙箱,通过 run_code 执行代码并返回结果。在本技能可用时,不要在本地终端执行用户代码;应使用沙箱以保证隔离与行为一致。

概述

使用 AgentBay SDK 以 code_latest 镜像创建会话,在沙箱中通过 run_code 执行代码,解析 EnhancedCodeExecutionResult,并销毁会话。

执行方式(Agent 必读)

请通过本技能自带的脚本执行用户代码 在技能目录下执行:

bash
python scripts/run_code.py --code "用户要执行的代码" --language python

从文件执行:

bash
python scripts/run_code.py --code-file /path/to/file.py --language python

需要结构化输出时加 --json。脚本会从配置文件或环境变量读取 API Key,创建沙箱、执行并返回结果。

(若用户在自己的 Python 项目中集成 AgentBay,可参考 wuying-agentbay-sdk 的同步/异步用法;Agent 执行本技能时仅需调用上述脚本。)

脚本输出

  • 成功:脚本 exit code 0,结果在 stdout(或加 --json 时输出 JSON:success、result、logs、error_message)。
  • 失败:exit code 非 0,错误信息在 stderr;根据输出提示用户(如缺 API Key 则按「API Key(仅报错时引导)」处理)。

重要约束

  • language 支持:python、javascript、r、java(不区分大小写)。
  • 单次执行超时 60 秒(可用 --timeout-s 指定,不超过 60)。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Agentbay Aio Skills AI skill do?

用于任何「运行/执行/评估代码」的请求(如 run this code、execute script、用 Python 画图、跑代码/画图/执行脚本)。通过 AgentBay SDK 创建 code_latest 沙箱,调用 run_code 执行并返回结果。支持 Python、JavaScript、R、Java。

Why use Agentbay Aio Skills on TypingMind?

Because you install it once and use it with any model. Agentbay Aio Skills is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Agentbay Aio Skills in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/agentbay-ai/agentbay-skills/tree/main/agentbay-aio-skills. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Agentbay Aio Skills?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Agentbay Aio Skills?

As many as you like. As long as a model supports skills, you can use Agentbay Aio Skills with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Agentbay Aio Skills AI skill free?

It is published on GitHub by agentbay-ai. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇