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 jiushiwon/wg-skills --skill mysql-install-skillgit clone --depth 1 https://github.com/jiushiwon/wg-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/jiushiwon/wg-skills/mysql-install-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/mysql-install-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/mysql-install-skill/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/jiushiwon/wg-skills/mysql-install-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/mysql-install-skill.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.00052 | $0.00682 |
| Opus 5.5 | $0.00021 | $0.00273 |
| Sonnet 5.5 | $0.00010 | $0.00136 |
| Haiku 4.5 | $0.00005 | $0.00068 |
Grade B, and why
mysql-install-skill 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.
- [ ] 启动服务: sudo systemctl start mysql What it actually says
MySQL Install Skill
Overview
本技能负责在目标服务器上安装 MySQL。支持多种安装方式,强制获取密码,幂等检测。
When to Use
触发词:
- 安装 MySQL
- 装 MySQL
- install mysql
交互流程
1. 检测当前系统(OS + 版本 + 包管理器)
2. 询问安装方式(包管理器 / Docker)
3. 询问版本(8.0 / 5.7)
4. [强制] 获取数据库 root 密码 → 不输入则拒绝
5. 执行安装(幂等)
6. 不执行初始化,输出初始化清单
7. 输出修改密码和重置密码脚本
安装方式
包管理器安装
| OS | 安装命令 |
|---|---|
| Ubuntu/Debian | apt install mysql-server |
| CentOS/RHEL | dnf install mysql-server |
| macOS | brew install mysql |
| Windows | winget install Oracle.MySQL |
Docker 安装
docker pull mysql:8.0
版本选择
- MySQL 8.0(推荐)
- MySQL 5.7
密码安全
- 强制获取密码:不输入密码则直接拒绝安装
- 不显示输入:交互式输入时不显示密码
- 不记录密码:不将密码写入脚本或日志
输出
# MySQL 安装完成
## 系统信息
- OS: Ubuntu 22.04 LTS
- 包管理器: apt
## 安装结果
- 版本: MySQL 8.0.35
- 安装方式: apt
- 状态: ✅ 已安装
## 下一步(手动执行)
- [ ] 启动服务: sudo systemctl start mysql
- [ ] 运行安全配置: sudo mysql_secure_installation
## 初始化清单
- [ ] 1. 启动 MySQL 服务
- [ ] 2. 运行 mysql_secure_installation
- [ ] 3. 创建业务数据库
- [ ] 4. 创建业务用户并授权
## 修改密码脚本
sudo mysql -u root -e "ALTER USER 'root'@'localhost' IDENTIFIED BY '你的密码';"
## 忘记密码急救脚本
sudo systemctl stop mysql
sudo mysqld_safe --skip-grant-tables &
mysql -u root
FLUSH PRIVILEGES;
ALTER USER 'root'@'localhost' IDENTIFIED BY '新密码';
Resources
- references/install-commands.md — 各 OS 安装命令
- references/password-scripts.md — 密码相关脚本
What ships with it
3 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.
- 2mo ago First seen · 99 lines · 52 tokens per session scan B 33679e5a5831
mysql-install-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 52 tokens to every session and 682 once invoked, about $0.0002 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-30.
mysql-install-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mysql-install-skilljiushiwon/wg-skills | Skill | 154 | 7d ago | Apache-2.0 | B | 52 | Claude Code, Codex |
| create-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| schema-explorationlangchain-ai/deepagents | Skill | 32k | today | MIT | A | 57 | Claude Code, Codex |
| atlas-mssqlariga/atlas | Skill | 8.9k | 5d ago | Apache-2.0 | A | 163 | Claude Code |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |
| pentesting-mysqlxalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 65 | Claude Code, Codex |
| nornicdb-cypher-queriesorneryd/NornicDB | Skill | 937 | today | MIT | A | 79 | Claude Code, Codex |