mysql

mysql is a skill for Claude Code, Codex from kubiyabot/skill. It costs 11 tokens per session (1,807 once invoked), scanned A, original, Apache-2.0.

A MySQL command-line client that runs inside Docker. MySQL is a database system for storing and querying structured data.

In plain words
What is it for?
Run SQL queries, manage schemas and tables, export results, monitor connections and status, and perform database administration.
Why use it?
It lets you query and manage MySQL databases without installing the MySQL client locally.

Skill for Claude CodeCodex

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

Good fit Run SQL queries, manage schemas and tables, export results, monitor connections and status, and perform database administration.

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

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

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

agentmods 80×15 button for mysql

Your own site · 80×15
<a href="https://agentmods.dev/skills/kubiyabot/skill/mysql-skill"><img src="https://agentmods.dev/badge/skills/kubiyabot/skill/mysql-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,807 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.00011 $0.01807
Opus 5.5 $0.00004 $0.00723
Sonnet 5.5 $0.00002 $0.00361
Haiku 4.5 $0.00001 $0.00181

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

Security

Grade A, and why

mysql 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 3mo 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.

examples/docker-runtime-skills/mysql-skill/SKILL.md · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MySQL Skill

Execute MySQL queries and manage databases through a containerized MySQL client.

Overview

This skill provides AI agents with MySQL database access through a Docker-based mysql CLI client. Run queries, manage schemas, export data, and monitor database health.

When to Use This Skill

  • Execute SQL queries against MySQL databases
  • Manage database schemas and tables
  • Export query results
  • Monitor database connections and status
  • Perform database administration tasks

Prerequisites

  • Docker installed and running
  • Network access to target MySQL server
  • MySQL user credentials with appropriate permissions

Configuration

Add to your .skill-engine.toml:

[skills.mysql]
source = "docker:mysql:8"
runtime = "docker"
description = "MySQL database client"

[skills.mysql.docker]
image = "mysql:8"
entrypoint = "mysql"
network = "bridge"
memory = "256m"
rm = true
environment = [
  "MYSQL_PWD=${MYSQL_PASSWORD}"
]

Configuration Explained

Setting Value Description
image mysql:8 Official MySQL 8 image with mysql client
entrypoint mysql Use the mysql command-line client
network bridge Bridge network to connect to external databases
memory 256m Memory limit for the container
rm true Auto-remove container after execution

Usage

Arguments after -- are passed directly to the mysql client:

skill run mysql -- [mysql options]

Common Operations

Connect and Run Query

# Simple query
skill run mysql -- -h localhost -u myuser -e "SELECT * FROM users LIMIT 10" mydb

# With explicit password (not recommended - use env var)
skill run mysql -- -h localhost -u myuser -p'password' -e "SHOW DATABASES"

# Using environment variable for password
MYSQL_PASSWORD=secret skill run mysql -- -h localhost -u myuser -e "SHOW TABLES" mydb

List Databases and Tables

# List all databases
skill run mysql -- -h localhost -u root -e "SHOW DATABASES"

# List tables in a database
skill run mysql -- -h localhost -u root -e "SHOW TABLES" mydb

# Describe table structure
skill run mysql -- -h localhost -u root -e "DESCRIBE users" mydb

Read the full file on GitHub · 269 lines

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. 3mo ago First seen · 269 lines · 11 tokens per session scan A c7ab96861fd1

Subscribe to this mod's changes

mysql is a skill published in the GitHub repository kubiyabot/skill (19 stars, last pushed 10d ago), licensed Apache-2.0. It adds 11 tokens to every session and 1,807 once invoked, about $0.0000 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-08-30.

Related

mysql compared with skills from other repositories

mysql next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mysqlkubiyabot/skillSkill1910d agoApache-2.0A11Claude Code, Codex
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill32ktodayMITA57Claude Code, Codex
atlas-mssqlariga/atlasSkill8.9k5d agoApache-2.0A163Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex
pentesting-mysqlxalgorix/xalgorixSkill1.5k2d agoApache-2.0A65Claude Code, Codex
nornicdb-cypher-queriesorneryd/NornicDBSkill937todayMITA79Claude Code, Codex