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 abdullahkhawer/devops-skills --skill mysql-cligit clone --depth 1 https://github.com/abdullahkhawer/devops-skillsWrote 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/abdullahkhawer/devops-skills/mysql-cli)<a href="https://agentmods.dev/skills/abdullahkhawer/devops-skills/mysql-cli"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/mysql-cli/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/abdullahkhawer/devops-skills/mysql-cli"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/mysql-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00028 | $0.00926 |
| Opus 5.5 | $0.00011 | $0.00370 |
| Sonnet 5.5 | $0.00006 | $0.00185 |
| Haiku 4.5 | $0.00003 | $0.00093 |
Grade B, and why
mysql-cli scanned grade B 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 2mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
Configure `~/.my.cnf` with a named `[<group>]` section per environment (`host`, `port`, `database`, `user`, `password`), and `chmod 600 ~/.my.cnf`. Never share credential file contents with the assistant. How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MySQL CLI Skill
Use the connection table and rules below when constructing all mysql commands.
Configuration
Update the table below with your connection details before using this skill:
| Environment | Config Group Name (in ~/.my.cnf) |
|---|---|
| Production | <your-prod-group> |
| Staging / Non-Prod | <your-nonprod-group> |
If the target environment is unclear, ask the user before running any command.
Prerequisites (one-time setup by user)
If mysql is not installed or no connection group is configured, inform the user that setup is required and ask them to complete the following steps manually. Do not perform these steps yourself.
brew install mysql-client && brew link --force mysql-client
Configure ~/.my.cnf with a named [<group>] section per environment (host, port, database, user, password), and chmod 600 ~/.my.cnf. Never share credential file contents with the assistant.
Command Format
Always use --defaults-group-suffix or --login-path from ~/.my.cnf — never pass raw host/user/password on the command line, where they could leak into shell history or process listings:
mysql --defaults-group-suffix=<group> -e "<SQL>"
Examples
# Non-Prod — list tables
mysql --defaults-group-suffix=<your-nonprod-group> -e "SHOW TABLES;"
# Non-Prod — describe a table
mysql --defaults-group-suffix=<your-nonprod-group> -e "DESCRIBE <table_name>;"
Available Commands
Read-only (safe, no confirmation needed)
| Command | Description |
|---|---|
SHOW DATABASES; |
List databases |
SHOW TABLES; |
List tables |
DESCRIBE <table>; |
Describe a table's schema |
SHOW INDEX FROM <table>; |
List indexes for a table |
SHOW GRANTS FOR <user>; |
Show a user's grants (informational, not a mutation) |
SELECT ... |
Any read-only query |
EXPLAIN <query>; |
Show a query plan without executing it |
SHOW PROCESSLIST; |
List currently running queries |
Mutating operations (confirm with user before running)
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.
- 2mo ago First seen · 89 lines · 28 tokens per session scan B b014e5be1233
mysql-cli is a skill published in the GitHub repository abdullahkhawer/devops-skills (11 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 926 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.
mysql-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mysql-cliabdullahkhawer/devops-skills | Skill | 11 | 2mo ago | Apache-2.0 | B | 28 | Claude Code, Codex |
| mongodb-query-optimizerfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 98 | Claude Code |
| solr-querygriddynamics/rosetta | Skill | 382 | 5d ago | Apache-2.0 | A | 27 | Claude Code, Codex |
| proposal-troubleshoothutzelmann/thesis-proposal-skills | Skill | 10 | 6d ago | MIT | A | 66 | Claude Code |
| epistemic-graph-troubleshootingKnuckles-Team/epistemic-graph | Skill | 11 | 1mo ago | MIT | A | 82 | Claude Code, Codex |
| remote-serveranatolykoptev/dozor | Skill | 6 | 24d ago | MIT | A | 45 | Claude Code, Codex |
| db-migration-helperwu529778790/shenzjd-skills | Skill | 4 | 2mo ago | MIT | A | 32 | Claude Code, Codex |