algorithmic-art
Generate deterministic SVG algorithmic artwork. Invoke when the user asks for geometric,…
使用火山引擎 RDS MySQL MCP Server,帮助用户完成 RDS MySQL 相关的实例管理、数据库操作、账号管理和运维任务,可直接调用 uv run ./scripts/call_rds_mysql.py 脚本获取实时结果。
$ npx -y skills add bytedance/agentkit-samples --skill volcengine-rds-mysql --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/volcengine-rds-mysqlContext preview
The summary Claude sees to decide when to auto-load this skill.
使用火山引擎 RDS MySQL MCP Server,帮助用户完成 RDS MySQL 相关的实例管理、数据库操作、账号管理和运维任务,可直接调用 uv run ./scripts/call_rds_mysql.py 脚本获取实时结果。
name: volcengine-rds-mysql
description: 使用火山引擎 RDS MySQL MCP Server,帮助用户完成 RDS MySQL 相关的实例管理、数据库操作、账号管理和运维任务,可直接调用 uv run ./scripts/call_rds_mysql.py 脚本获取实时结果。
metadata: {"clawdbot":{"emoji":"🗄️","homepage":"https://www.volcengine.com/product/rds-mysql","requires":{"bins":["uv"],"env":["VOLCENGINE_ACCESS_KEY","VOLCENGINE_SECRET_KEY"]},"os":["darwin","linux"]},"openclaw":{"emoji":"🗄️","homepage":"https://www.volcengine.com/product/rds-mysql","requires":{"bins":["uv"],"env":["VOLCENGINE_ACCESS_KEY","VOLCENGINE_SECRET_KEY"]},"os":["darwin","linux"]},"moltbot":{"emoji":"🗄️","homepage":"https://www.volcengine.com/product/rds-mysql","requires":{"bins":["uv"],"env":["VOLCENGINE_ACCESS_KEY","VOLCENGINE_SECRET_KEY"]},"os":["darwin","linux"]}}本 Skill 用于在对话中充当 **火山引擎 RDS MySQL 的智能运维代理**:
**工作模式**:
**运行方式**: 脚本支持两种运行方式:
# 方式 1: 使用 uv (推荐,自动管理依赖) uv run ./scripts/call_rds_mysql.py [action] [options] # 方式 2: 使用 python (需要预先安装依赖) python ./scripts/call_rds_mysql.py [action] [options]
1. **确认任务类型与参数**
2. **构造查询并调用脚本**
# 查询实例列表
uv run ./scripts/call_rds_mysql.py list-instances
# 或
python ./scripts/call_rds_mysql.py list-instances
# 查询指定实例详情
uv run ./scripts/call_rds_mysql.py describe-instance --instance-id mysql-xxx
# 或
python ./scripts/call_rds_mysql.py describe-instance --instance-id mysql-xxx
# 查询实例的数据库列表
uv run ./scripts/call_rds_mysql.py list-databases --instance-id mysql-xxx
# 或
python ./scripts/call_rds_mysql.py list-databases --instance-id mysql-xxx
# 查询实例的账号列表
uv run ./scripts/call_rds_mysql.py list-accounts --instance-id mysql-xxx
# 或
python ./scripts/call_rds_mysql.py list-accounts --instance-id mysql-xxx
# 查询实例参数
uv run ./scripts/call_rds_mysql.py list-parameters --instance-id mysql-xxx
# 或
python ./scripts/call_rds_mysql.py list-parameters --instance-id mysql-xxx
# 查询 VPC 列表(用于创建实例)
uv run ./scripts/call_rds_mysql.py list-vpcs
# 或
python ./scripts/call_rds_mysql.py list-vpcs
# 查询子网列表
uv run ./scripts/call_rds_mysql.py list-subnets --vpc-id vpc-xxx --zone-id cn-beijing-a
# 或
python ./scripts/call_rds_mysql.py list-subnets --vpc-id vpc-xxx --zone-id cn-beijing-a3. **解析结果并后续处理**
| 操作 | 说明 | 必需参数 | |------|------|----------| | `list-instances` | 查询 RDS MySQL 实例列表 | 无 | | `describe-instance` | 查询指定实例详情 | `--instance-id` | | `list-databases` | 查询实例的数据库列表 | `--instance-id` | | `list-accounts` | 查询实例的账号列表 | `--instance-id` | | `list-parameters` | 查询实例的参数配置 | `--instance-id` | | `list-parameter-templates` | 查询参数模板列表 | 无 | | `describe-parameter-template` | 查询参数模板详情 | `--template-id` | | `list-vpcs` | 查询 VPC 列表 | 无 | | `list-subnets` | 查询子网列表 | `--vpc-id` | | `get-price` | 查询实例价格 | 多个配置参数 |
| 参数 | 说明 | 默认值 | |------|------|--------| | `action` | 操作类型(必需) | - | | `--region` / `-r` | 火山引擎地域 ID | `cn-beijing` | | `--instance-id` / `-i` | 实例 ID | 无 | | `--page-number` | 分页页码 | `1` | | `--page-size` | 每页记录数 | `10` | | `--output` / `-o` | 输出格式(json/table) | `json` |
脚本会将查询信息输出到 `stderr`,将结果输出到 `stdout`,便于分离日志和结果:
[操作] list-instances [地域] cn-beijing ============================================================ [查询结果] <实际结果内容>
uv run ./scripts/call_rds_mysql.py list-instances
uv run ./scripts/call_rds_mysql.py describe-instance --instance-id mysql-xxx
uv run ./scripts/call_rds_mysql.py list-databases --instance-id mysql-xxx
uv run ./scripts/call_rds_mysql.py list-accounts --instance-id mysql-xxx
uv run ./scripts/call_rds_mysql.py list-parameters --instance-id mysql-xxx
# 先查询 VPC uv run ./scripts/call_rds_mysql.py list-vpcs # 再查询子网 uv run ./scripts/call_rds_mysql.py list-subnets --vpc-id vpc-xxx --zone-id cn-beijing-a
1. 获取火山引擎访问凭证:参考 [用户指南](https://www.volcengine.com/docs/6291/65568?lang=zh) 获取 AK/SK
2. 配置以下环境变量:
export VOLCENGINE_ACCESS_KEY="your-access-key" export VOLCENGINE_SECRET_KEY="your-secret-key" export VOLCENGINE_REGION="cn-beijing" # 可选,默认 cn-beijing
欢迎来到 AgentKit 代码工坊(Samples)仓库! AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛。 本代码库包含了一系列示例和教程,帮助您理解、实现和集成 AgentKit 的各项功能到您的应用中。
Generate deterministic SVG algorithmic artwork. Invoke when the user asks for geometric,…
Optimize code performance through iterative improvements (max 2 rounds). Benchmark execution…
根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此…
Manage AgentKit skills, SkillHub/skillhub, skill centers, and skill spaces. Use this skill…
Upload files or directories to TOS-compatible object storage for Volcano Engine or BytePlus…
根据用户的功能需求,完成与 VeADK-Go 相关的功能; 包括:直接根据需求生成 Agent;将Enio Agent转换为VeADK-Go Agent。