Manage MySQL databases via the mysql CLI. An agent skill from olasunkanmi-SE/codebuddy.

MITAuto-check passedDatabases

Install Mysql

skills CLI
$ npx skills add olasunkanmi-SE/codebuddy --skill mysql -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install olasunkanmi-SE/codebuddy mysql --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/olasunkanmi-SE/codebuddy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mysql .claude/skills/mysql && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mysql
GitHub stars
141
Token cost
~399 tokens
SKILL.md length
113 words
Files
2
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Manage MySQL databases via the mysql CLI. An agent skill from olasunkanmi-SE/codebuddy.

  • Databases work in your project
  • SKILL.md covers Setup, Common Commands and Notes
  • Runs Shell scripts from its folder; calls mysql

What it does

Mysql is an agent skill from olasunkanmi-SE/codebuddy. Manage MySQL databases via the mysql CLI.

Its SKILL.md is about 400 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `install.sh`).

It sits in Databases. It works with MySQL. The repository describes itself as: An Autonomous AI Software Engineer. The licence is MIT.

When your agent uses it

  • Databases work in your project

Example prompts

  • “/mysql”

Requirements

  • A Bash shell
  • Docker

What it can do on your machine

Read from SKILL.md and the folder at commit a9b8cd0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • mysql

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mysql loads about 399 tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 113 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~12
When it runs · the whole SKILL.md, loaded when a task matches
~399

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from olasunkanmi-SE/codebuddy at commit a9b8cd0, republished under its MIT licence (© olasunkanmi-SE). 113 words, ~399 tokens.

Download SKILL.mdSave it as .claude/skills/mysql/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
mysql
description
Manage MySQL databases via the mysql CLI.
metadata.displayName
MySQL
metadata.icon
database
metadata.category
databases
metadata.version
1.0.0

mysql

Use mysql to interact with MySQL databases.

Setup

The mysql client is installed in .codebuddy/bin/. You can execute it directly or add it to your PATH.

Common Commands

Connection
  • Connect: .codebuddy/bin/mysql -h <host> -P <port> -u <user> -p
  • Connect (Docker example): .codebuddy/bin/mysql -h 127.0.0.1 -P 3306 -u root -p
Quick Alias

To make it easier to run, you can alias it in your shell: alias mysql="./.codebuddy/bin/mysql"

Operations
  • Show databases: SHOW DATABASES;
  • Use database: USE <dbname>;
  • Show tables: SHOW TABLES;
  • Describe table: DESCRIBE <table_name>;
  • Execute query: SELECT * FROM table LIMIT 10;
  • Quit: exit

Notes

  • The binary is located at: .codebuddy/bin/mysql
  • Password can be supplied via MYSQL_PWD environment variable (careful!) or typically prompted interactively.

© olasunkanmi-SE, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/mysql of olasunkanmi-SE/codebuddy.

  • SKILL.md
  • install.sh

Open the folder on GitHubat commit a9b8cd0

Compare with similar skills

Mysql next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mysql compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mysql this skillolasunkanmi-SE/codebuddy141—~399Automated safety check: PassMIT
Mysql Deadlock Analyzeropenocta/openocta_skills166—~2.2kAutomated safety check: PassMIT
Mysql Replication Lag Resolveropenocta/openocta_skills166—~2.6kAutomated safety check: PassMIT
Mysql Slow Query Diagnoseopenocta/openocta_skills166—~2.7kAutomated safety check: PassMIT
Write Script Mysqlwindmill-labs/windmill18k—~2.2kAutomated safety check: PassCustom licence
How To Communicatedatabasus/databasus8.8k—~3.9kAutomated safety check: PassMIT

Similar skills

  • Mysql Deadlock Analyzer

    openocta/openocta_skills

    Full-chain MySQL deadlock analysis. An agent skill from openocta/openocta_skills.

    166 GitHub stars~2.2k tokensUpdated 3 mo ago
    DatabasesAuto-check passed
  • Mysql Replication Lag Resolver

    openocta/openocta_skills

    Replication lag root cause analysis with automated resolution workflow.

    166 GitHub stars~2.6k tokensUpdated 3 mo ago
    DatabasesAuto-check passed
  • Mysql Slow Query Diagnose

    openocta/openocta_skills

    Slow query diagnosis with root cause analysis and index optimization recommendations.

    166 GitHub stars~2.7k tokensUpdated 3 mo ago
    DatabasesAuto-check passed
  • Write Script Mysql

    windmill-labs/windmill

    MUST use when writing MySQL queries.

    18k GitHub stars~2.2k tokensUpdated today
    DatabasesAuto-check passed
  • How To Communicate

    databasus/databasus

    Communicate clearly in every response, progress update and agent-authored document.

    8.8k GitHub stars~3.9k tokensUpdated 17 days ago
    DatabasesAuto-check passed
  • Tgf Server Dev

    thkhxm/tgf

    基于 tgf v2(github.com/thkhxm/tgf/v2)用确定性的 tgfctl 工作流创建、验证和维护 Go 游戏服务器项目。

    128 GitHub stars~1.3k tokensUpdated 2 mo ago
    DatabasesAuto-check: notes

More from olasunkanmi-SE/codebuddy

All 10 skills in this repo
  • Datadog

    olasunkanmi-SE/codebuddy

    Query metrics, manage monitors, post events, and interact with Datadog via the dogshell CLI.

    141 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Telegram

    olasunkanmi-SE/codebuddy

    Send Telegram messages, files, and interact with Telegram bots via the telegram-send CLI tool.

    141 GitHub stars~817 tokensUpdated 1 mo ago
    Auto-check passed
  • Elasticsearch

    olasunkanmi-SE/codebuddy

    Interact with Elasticsearch clusters via the API. An agent skill from olasunkanmi-SE/codebuddy.

    141 GitHub stars~425 tokensUpdated 1 mo ago
    Auto-check passed
  • Gmail

    olasunkanmi-SE/codebuddy

    Read, send, and manage Gmail emails via the gmail-cli tool. An agent skill from olasunkanmi-SE/codebuddy.

    141 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check: warnings
  • GitHub

    olasunkanmi-SE/codebuddy

    Manage GitHub repositories, issues, and pull requests via the gh CLI.

    141 GitHub stars~611 tokensUpdated 1 mo ago
    Auto-check: notes
  • GitLab

    olasunkanmi-SE/codebuddy

    Manage GitLab issues and merge requests via the glab CLI. An agent skill from olasunkanmi-SE/codebuddy.

    141 GitHub stars~476 tokensUpdated 1 mo ago
    Auto-check: notes

Works with

Categories

Questions about Mysql

What does Mysql do?

Manage MySQL databases via the mysql CLI. An agent skill from olasunkanmi-SE/codebuddy. Mysql is an agent skill from olasunkanmi-SE/codebuddy. Manage MySQL databases via the mysql CLI.

When should I use Mysql?

Mysql fits situations like: databases work in your project.

How do I install Mysql in Claude Code?

Run `npx skills add olasunkanmi-SE/codebuddy --skill mysql -a claude-code`. Or copy the skill folder (skills/mysql in olasunkanmi-SE/codebuddy) into .claude/skills/mysql in your project. Claude Code loads it when a task matches its description.

How do I install Mysql in Codex?

Run `npx skills add olasunkanmi-SE/codebuddy --skill mysql -a codex`. Or copy the skill folder (skills/mysql in olasunkanmi-SE/codebuddy) into .agents/skills/mysql in your project. Codex loads it when a task matches its description.

Can I use Mysql in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add olasunkanmi-SE/codebuddy --skill mysql -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mysql, .gemini/skills/mysql, .github/skills/mysql and .opencode/skills/mysql in your project.

What does Mysql need to run?

Going by SKILL.md and its folder, Mysql needs a shell for the scripts in its folder and the command-line tools its instructions call (mysql). Our summary lists: A Bash shell; Docker.

Does Mysql access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mysql safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mysql use?

Mysql is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mysql use?

About 399 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mysql?

Skills that share tags, products or a category with Mysql: Mysql Deadlock Analyzer (openocta/openocta_skills, 166 stars), Mysql Replication Lag Resolver (openocta/openocta_skills, 166 stars), Mysql Slow Query Diagnose (openocta/openocta_skills, 166 stars) and Write Script Mysql (windmill-labs/windmill, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mysql?

olasunkanmi-SE (a GitHub user) maintains it in olasunkanmi-SE/codebuddy, which has 141 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on August 28, 2026.

Source: olasunkanmi-SE/codebuddy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.