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.
npx skills add aliyun/alibabacloud-adb-mysql-mcp-server --skill alibabacloud-adb-mysql-copilotgit clone --depth 1 https://github.com/aliyun/alibabacloud-adb-mysql-mcp-serverWrote 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.
[](https://agentmods.dev/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-mysql-copilot)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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.
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 |
用户想了解指定实例下有哪些冷热表优化建议 |
路由规则:
- 识别用户意图,从上表中找到匹配的场景
- 读取对应的
references/*.md文件,按其中的步骤执行 - 如果用户意图不属于以上场景,直接使用下方"命令参考"中的子命令即可
- 多个场景可以组合使用——例如先通过集群信息确认目标实例,再通过慢查询诊断定位问题 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"
}
What ships with it
15 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/cluster-info.md 3.1 KB
- references/dimension-table-diagnosis.md 2.6 KB
- references/excessive-primary-key-diagnosis.md 2.6 KB
- references/index-advice.md 2.3 KB
- references/oversize-non-partition-table-diagnosis.md 2.7 KB
- references/slow-query-diagnosis.md 7.7 KB
- references/sql-inspection.md 8.3 KB
- references/table-modeling-diagnosis.md 4.3 KB
- references/table-partition-diagnosis.md 2.8 KB
- references/table-skew-diagnosis.md 2.7 KB
- references/tiering-advice.md 2.2 KB
- requirements.txt 236 B
- scripts/call_adb_api.py 31 KB runs code
- skill_readme_cn.md 7.4 KB
- skill_readme.md 8.0 KB
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.
- 13d ago First seen · 174 lines · 143 tokens per session scan A 3836de87d756
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.
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.
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.
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…
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.
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…
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.