# alibabacloud-rds-copilot

This skill wires the Anthropic RDS Copilot assistant into your coding agent: database questions, SQL rewrites, instance operations and troubleshooting.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 438 installs · ★ 275
- 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/database/rds/alibabacloud-rds-copilot/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/alibabacloud-rds-copilot

## What it does

The skill turns a normal chat with your agent into a session with RDS Copilot. You describe the problem in plain Chinese or English, the agent recognises it as RDS-related and runs `aliyun rdsai chat-messages` itself. Answers come back from the RdsAi OpenAPI in real time. Paste an error message and the agent will explain it and suggest a fix.

The setup is Alibaba Cloud CLI plus the RdsAi OpenAPI. Before any call, the agent has to clear three checks: CLI version `3.3.3` or higher, plugin auto-install switched on, and a valid credential profile. The `rdsai` plugin installs with `aliyun plugin install --names rdsai`. Region defaults to `cn-hangzhou` unless you name another one.

Credentials are where this usually stalls. With no working profile the agent stops before the API call and asks you to run `aliyun configure`. It will not ask you to paste secrets into environment variables, so set the profile up before an incident, not during one.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aliyun/alibabacloud-aiops-skills alibabacloud-rds-copilot
```

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

### Gemini CLI

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

2. **Platform CLI**
```bash
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/database/rds/alibabacloud-rds-copilot
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-rds-copilot -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/database/rds/alibabacloud-rds-copilot/SKILL.md

## When to use it
- explain an RDS error message and its cause
- rewrite a slow SQL query
- list instances and check their status
- tune instance parameters for a workload
- ask a database question in plain language

## Example prompts
- RDS Copilot, why is this query slow?
- diagnose this error from the log and tell me what to fix
- SQL optimization: rewrite this query

## Similar
- [rds-db2](https://affpapa.org/en/nevibecode/skills/rds-db2.md) — skill · 4800 installs
- [rds-sqlserver](https://affpapa.org/en/nevibecode/skills/rds-sqlserver.md) — skill · 4600 installs
- [aws-rds](https://affpapa.org/en/nevibecode/skills/aws-rds.md) — skill · 331 installs
- [aws-rds-spring-boot-integration](https://affpapa.org/en/nevibecode/skills/aws-rds-spring-boot-integration.md) — skill · 3700 installs
- [aws-sdk-java-v2-rds](https://affpapa.org/en/nevibecode/skills/aws-sdk-java-v2-rds.md) — skill · 3700 installs
- [db](https://affpapa.org/en/nevibecode/skills/db.md) — skill · 2900 installs

From the same set: [aliyun/alibabacloud-aiops-skills](https://affpapa.org/en/nevibecode/by/aliyun/alibabacloud-aiops-skills.md) — 6 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
