alibabacloud-adb-mysql-copilot

alibabacloud-adb-mysql-copilot is a skill for Claude Code, Codex from aliyun/alibabacloud-adb-mysql-mcp-server. It costs 143 tokens per session (2,920 once invoked), scanned A, original, Apache-2.0.

A diagnostic assistant for Alibaba Cloud AnalyticDB for MySQL, a managed database service designed for analyzing large amounts of data.

In plain words
What is it for?
Use it to inspect clusters, monitor performance, diagnose slow or problematic SQL, examine tables and settings, and receive modeling suggestions.
Why use it?
It helps locate slow queries, running SQL, storage problems, and database-design issues using cluster and performance information.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect clusters, monitor performance, diagnose slow or problematic SQL, examine tables and settings, and receive modeling suggestions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-mysql-copilot
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aliyun/alibabacloud-adb-mysql-mcp-server --skill alibabacloud-adb-mysql-copilot
Clone the repo
git clone --depth 1 https://github.com/aliyun/alibabacloud-adb-mysql-mcp-server

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for alibabacloud-adb-mysql-copilot

README.md
[![agentmods](https://agentmods.dev/badge/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-mysql-copilot/github.svg)](https://agentmods.dev/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-mysql-copilot)
Your own site
<a href="https://agentmods.dev/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-mysql-copilot"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-mysql-copilot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for alibabacloud-adb-mysql-copilot

Your own site · 80×15
<a href="https://agentmods.dev/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-mysql-copilot"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-mysql-copilot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,920 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00143 $0.02920
Opus 5 $0.00072 $0.01460
Sonnet 5 $0.00029 $0.00584
Haiku 4.5 $0.00014 $0.00292

Measured 13d ago against content hash 3836de87d756, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

alibabacloud-adb-mysql-copilot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/call_adb_api.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/alibabacloud-adb-mysql-copilot/SKILL.md · 174 lines

How it starts

The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.

一、Skill 概述

本 Skill 是 阿里云 AnalyticDB for MySQL (ADB MySQL) 运维诊断助手,通过调用内置脚本 scripts/call_adb_api.py 与 ADB MySQL OpenAPI 交互,获取实时数据并给出诊断建议。

核心能力:

  • 集群管理:查看集群列表、集群详情、存储空间、账号、网络信息
  • 性能监控:查询 CPU、QPS、RT、内存、连接数等性能指标
  • 慢查询诊断:检测 BadSQL、分析 SQL Pattern、定位慢查询根因
  • 运行中 SQL 分析:查看当前正在执行的 SQL,定位长时间未完成的查询
  • 空间诊断:实例空间巡检,涵盖分区合理性诊断、过大非分区表诊断、表数据倾斜诊断、复制表合理性诊断、主键合理性诊断、空闲索引与冷热表优化建议
  • SQL 执行:直连数据库执行诊断 SQL(需配置数据库连接信息)

二、场景路由

根据用户意图,阅读对应的 references/ 文件获取详细操作指南。

用户意图 参考文件 何时使用
查看实例列表、实例详情、集群配置、存储空间 references/cluster-info.md 用户想了解有哪些实例、实例规格或磁盘用量时
查询变慢、RT 升高、集群卡顿、BadSQL、运行中查询、SQL Pattern 分析 references/slow-query-diagnosis.md 用户反馈性能下降、查询异常、或需要从整体视角分析 SQL 执行分布时
执行诊断 SQL、查看系统表、Build 状态、冷热分层、查看配置项 references/sql-inspection.md OpenAPI 工具无法覆盖、需要直接执行 SQL 或查看实例配置时
执行实例空间诊断、表建模诊断 references/table-modeling-diagnosis.md 用户想执行指定实例的空间诊断、表建模诊断
执行过大非分区表诊断 references/oversize-non-partition-table-diagnosis.md 用户想了解指定实例下有哪些过大的非分区表
执行表分区合理性诊断 references/table-partition-diagnosis.md 用户想了解指定实例下有哪些分区字段设计不合理的表
执行表主键字段合理性诊断 references/excessive-primary-key-diagnosis.md 用户想了解指定实例下有哪些主键设计不合理的表
执行表数据倾斜诊断 references/table-skew-diagnosis.md 用户想了解指定实例下有哪些数据倾斜的表
执行复制表合理性诊断 references/dimension-table-diagnosis.md 用户想了解指定实例下有哪些不合理的复制表
查看空闲索引优化建议 references/index-advice.md 用户想了解指定实例下有哪些空闲索引优化建议
查看冷热表优化建议 references/tiering-advice.md 用户想了解指定实例下有哪些冷热表优化建议

路由规则

  1. 识别用户意图,从上表中找到匹配的场景
  2. 读取对应的 references/*.md 文件,按其中的步骤执行
  3. 如果用户意图不属于以上场景,直接使用下方"命令参考"中的子命令即可
  4. 多个场景可以组合使用——例如先通过集群信息确认目标实例,再通过慢查询诊断定位问题 SQL

三、时间参数处理

很多 OpenAPI 接口需要 --start-time--end-time 参数,格式为 ISO 8601 UTC(如 2026-03-09T00:00Z)。

当用户描述相对时间(如"最近 3 小时"、"过去 24 小时")时,需要先获取当前 UTC 时间,再计算出具体的起止时间:

# 获取当前 UTC 时间
uv run ./scripts/call_adb_api.py get_current_utc_time

返回示例:

{
  "utc_now": "2026-03-09T08:30:00Z",
  "utc_now_short": "2026-03-09T08:30Z"
}

Read the full file on GitHub · 174 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 174 lines · 143 tokens per session scan A 3836de87d756

Subscribe to this mod's changes

alibabacloud-adb-mysql-copilot is a skill published in the GitHub repository aliyun/alibabacloud-adb-mysql-mcp-server (32 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 143 tokens to every session and 2,920 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

create-pr

Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.

prisma/orm · 48 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

nornicdb-cypher-queries

Pick fast, predictable Cypher query shapes in NornicDB — point lookups, batch retrieval, pagination, search, traversal, batched UNWIND/MERGE writes, cleanup, multi-tenant isolation. Use when writing or reviewing Cypher whose latency or throughput matters; maps user intent to the executor's hot-path query templates.

orneryd/NornicDB · 79 tokens

supabase

Supabase / PostgREST Row-Level-Security playbook — pull the anon (or leaked servicerole) key out of the frontend JS, map tables from the auto-generated OpenAPI spec, test anonymous RLS READ disclosures (PII/secret leaks), and anonymous RLS WRITE abuse (insert/update/delete — e.g. forging…

PentesterFlow/agent · 120 tokens

volcengine-rds-postgresql

A tool for operating PostgreSQL databases hosted by Volcano Engine's managed database service. PostgreSQL is a relational database used to store structured application data.

bytedance/agentkit-samples · 63 tokens