alibabacloud-rds-copilot — Claude Code skill: RDS Copilot in chat
This skill wires the Anthropic RDS Copilot assistant into your coding agent: database questions, SQL rewrites, instance operations and troubleshooting.
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-rds-copilot -a claude-codeWhat alibabacloud-rds-copilot 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.
What it helps with
- 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 for the agent
- RDS Copilot, why is this query slow?
- diagnose this error from the log and tell me what to fix
- SQL optimization: rewrite this query
How to install alibabacloud-rds-copilot
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-rds-copilot -a claude-code2Manually: put the files in place
~/.claude/skills/alibabacloud-rds-copilot/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/alibabacloud-rds-copilot/
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-rds-copilot -a codex2Manually: put the files in place
.agents/skills/alibabacloud-rds-copilot/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-rds-copilot -a cursor2Manually: put the files in place
.cursor/skills/alibabacloud-rds-copilot/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aliyun/alibabacloud-aiops-skills alibabacloud-rds-copilot2Manually: put the files in place
.github/skills/alibabacloud-rds-copilot/SKILL.md1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-rds-copilot -a gemini-cli2Platform CLI
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/database/rds/alibabacloud-rds-copilotManually: put the files in place
.devin/skills/alibabacloud-rds-copilot/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-rds-copilot -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about alibabacloud-rds-copilot
How do I install Anthropic-rds-copilot in Claude?
Run npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-rds-copilot -a claude-code. The skill lands in ~/.claude/skills/alibabacloud-rds-copilot/SKILL.md.
What does alibabacloud-rds-copilot do?
It answers Alibaba Cloud RDS questions and helps with SQL optimization, instance operations and troubleshooting. Requests go to the RdsAi OpenAPI through Alibaba Cloud CLI.
What do I need before the first query?
Anthropic CLI version 3.3.3 or higher, plugin auto-install enabled, and a configured profile with an AccessKey. Without valid credentials the agent stops before the API call.