mysql-connection

mysql-connection is a skill for Claude Code, Codex from BuildrAI/Buildr. It costs 46 tokens per session (589 once invoked), scanned A, original, MIT.

A controlled method for managing MySQL connections, where MySQL is a database system. It finds a specifically bound instance, checks access, and performs limited read-only discovery without putting credentials in ordinary command input.

In plain words
What is it for?
Use it to identify the intended MySQL host and database, test the connection, inspect visible database structure, and support approved read-only queries.
Why use it?
It reduces the risk of using the wrong database or mixing credentials between environments. Read-only checks also avoid changing data while testing access.

Skill for Claude CodeCodex

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

Good fit Use it to identify the intended MySQL host and database, test the connection, inspect visible database structure, and support approved read-only queries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/buildrai/buildr/mysql-connection
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 BuildrAI/Buildr --skill mysql-connection
Clone the repo
git clone --depth 1 https://github.com/BuildrAI/Buildr

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 mysql-connection

README.md
[![agentmods](https://agentmods.dev/badge/skills/buildrai/buildr/mysql-connection/github.svg)](https://agentmods.dev/skills/buildrai/buildr/mysql-connection)
Your own site
<a href="https://agentmods.dev/skills/buildrai/buildr/mysql-connection"><img src="https://agentmods.dev/badge/skills/buildrai/buildr/mysql-connection/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 mysql-connection

Your own site · 80×15
<a href="https://agentmods.dev/skills/buildrai/buildr/mysql-connection"><img src="https://agentmods.dev/badge/skills/buildrai/buildr/mysql-connection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 589 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.
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.00046 $0.00589
Opus 5.5 $0.00018 $0.00236
Sonnet 5.5 $0.00009 $0.00118
Haiku 4.5 $0.00005 $0.00059

Measured 10d ago against content hash 53bb408eadbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mysql-connection 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 10d 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.

projects/product/services/buildr/resources/workspace/skills/connections/mysql-connection/SKILL.md · 21 lines

What it actually says

MySQL 连接

本技能(Skill)维护 MySQL 接入方法。Buildr 的查询工具是独立内置能力(Builtin),负责数据库展示偏好、表结构浏览和受限只读查询;这些内容不写入连接声明或连接配置。

先从用户目标、服务配置与已登记连接找到准确主机、端口、环境和数据库。执行 buildr connection-skill --help,再读取 definitions list --json 与 list --json;核对所选实例明确绑定 mysql-connection 的 mysql 定义,不按系统名称、类别或同名旧实例推断绑定。新建和认证录入使用当前管理入口及其已观察版本,不按同名接管实例,不自动搬运个人密码。

团队认证与个人认证均为包含用户名、密码的完整认证组(Authentication Group);个人组存在但失效时停止,不回退团队组。目标主机、端口、账号或程序接收方变化后重新配置完整认证。允许明确的空密码;不得把用户名保留为共享配置、只覆盖个人密码。

程序 buildr-mysql 随 Buildr 主包安装,以独立进程间通信(IPC)接收本次明确选中的连接上下文;认证不进入参数、普通环境或业务标准输入(Standard Input)。先执行通用 check 与 help 核对当前程序和版本;缺失时按声明的安装指引恢复,不绕过绑定调用其他程序。帮助与版本检查离线运行。具体命令及结果见 命令与结果。

只读测试执行受限版本查询,数据库发现只读取当前账号可见范围。它们不修改数据库或连接配置,也不证明用户业务目标完成。用户查询通过独立查询工具进行,并明确选择本次实例版本和数据库;查询工具保留每个实例独立的本机偏好(Preference)。测试失败时区分网络、认证、权限和版本问题,不打印远端认证回显,不自动更换认证或实例重试。

使用真实工作空间(Workspace)验收时,仅在用户授权的实例、环境和数据范围内执行。只读验证不能替代结构变更、数据修改或业务效果验证。本接入不提供数据写入命令;遇到写入目标应转交具有明确授权与结果核验的专业能力。

Files

What ships with it

2 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.

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. 10d ago First seen · 21 lines · 46 tokens per session scan A 53bb408eadbf

Subscribe to this mod's changes

mysql-connection is a skill published in the GitHub repository BuildrAI/Buildr (28 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 589 once invoked, about $0.0002 per session on Opus 5.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-10-16.

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

atlas-mssql

SQL Server specifics for Atlas (also Azure SQL and MSSQL): login, dev database and URL scope (mode=schema vs mode=database, the database query parameter), compatibility level and collation, system-generated constraint names, clustered index defaults and datetime2 precision in HCL, GO batches and the delimiter…

ariga/atlas · 147 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

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