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-smart-analystgit 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-smart-analyst)<a href="https://agentmods.dev/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-smart-analyst"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-smart-analyst/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-smart-analyst"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-adb-mysql-mcp-server/alibabacloud-adb-smart-analyst.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.00106 | $0.06837 |
| Opus 5 | $0.00053 | $0.03419 |
| Sonnet 5 | $0.00021 | $0.01367 |
| Haiku 4.5 | $0.00011 | $0.00684 |
Grade A, and why
alibabacloud-adb-smart-analyst scanned grade A with 1 finding 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 12d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
/bin/bash -c "$(curl -fsSL https://aliyuncli.alicdn.com/install.sh)" How it starts
The opening of the file, as written. The whole thing — 512 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ADB MySQL 智能分析师 Skill
使用时机
- 用户提出数据分析问题(如 "帮我看看销售数据"、"查一下北京的订单"、"最近一周的发货量")
- 用户想创建、修改或删除语义视图
- 用户想探索数据库表结构或元数据
- 用户提到 ADB MySQL、AnalyticDB 或语义视图
前置条件
ADB 连接(所有方式必须)
- Python 3.6+,并已安装
pymysql包 - 安装依赖:
uv pip install pymysql - 可选依赖:
cryptography(仅在以下场景需要,按需安装uv pip install cryptography):- 服务端使用
caching_sha2_password(MySQL 8.0 默认)或sha256_password鉴权插件 - 连接走 TLS/SSL
- 默认的 ADB MySQL 多采用
mysql_native_password,通常无需安装;若连接时报RuntimeError: 'cryptography' package is required ...,再补装即可
- 服务端使用
- 必须设置以下环境变量(无论使用哪种方式都需要,因为最终 SQL 执行均通过 SQL 连接):
ADB_MYSQL_HOST- ADB MySQL 集群地址ADB_MYSQL_PORT- ADB MySQL 端口(默认:3306)ADB_MYSQL_DATABASE- 默认数据库名ADB_MYSQL_USER- 数据库用户名ADB_MYSQL_PASSWORD- 数据库密码
OpenAPI 方式附加条件(当语义层 SQL 方式不可用时)
当 SQL 方式的语义功能不可用(如缺少
semantic_views元数据表、SQL hint 语义操作失败)时,语义操作切换到 OpenAPI 方式。数据查询执行仍通过上述 SQL 连接完成。
- aliyun CLI 已安装
- adb CLI 插件已安装
- aliyun CLI 凭证已由用户配置完成。可通过
aliyun configure配置 AK/SK,但不建议 Agent 主动执行配置命令或代用户录入密钥;Agent 只做检测和使用。 - 必须设置:
ADB_CLUSTER_ID- ADB 集群 ID(必须,如am-bp1xxxxxxxx)ADB_REGION- 地域(可选,CLI profile 已含时可省略,如cn-hangzhou)
- 凭证检测优先使用
aliyun configure list或轻量级 OpenAPI 探测;不要仅依赖ALIBABA_CLOUD_*环境变量,因为默认 profile 也可提供有效凭证。 - RAM 权限要求(需为当前 AK/SK 对应的 RAM 用户或角色授权以下 Action):
adb:CreateSemanticViewadb:DeleteSemanticViewadb:ReplaceSemanticViewadb:GenerateSqlBySemanticSqladb:RenameSemanticViewadb:SearchSemanticViewsadb:GetSemanticView
架构
方式 A(主方式 - 全 SQL):
用户 → Agent → Skill → PyMySQL → ADB Engine
方式 B(OpenAPI 语义 + SQL 执行):
语义操作:用户 → Agent → Skill → aliyun CLI → OpenAPI Gateway → ADB Engine
数据执行:用户 → Agent → Skill → PyMySQL → ADB Engine
两种方式均通过 SQL 连接执行最终查询,区别仅在于语义操作的实现方式(SQL hint vs aliyun CLI)。Skill 优先 SQL 方式,SQL 语义功能不可用时自动切换 OpenAPI(详见下方「方式选择策略」)。
OpenAPI 方式下 alter_semantic_view --operation set_comment 不可用(计划补齐)。Skill 脚本自动添加 SQL hint,Agent 生成 SQL 时无需加 hint。
方式选择策略
What ships with it
5 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.
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.
- 12d ago First seen · 512 lines · 106 tokens per session scan A b45c1758bb10
alibabacloud-adb-smart-analyst 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 106 tokens to every session and 6,837 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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.