public-mysql-expert-base

public-mysql-expert-base is a skill for Claude Code, Codex from seed-forge/harness-ai-kit. It costs 56 tokens per session (1,014 once invoked), scanned A, original, Apache-2.0.

A reference guide to MySQL and InnoDB, the database engine commonly used for transactional applications. It covers database structure, indexes, queries, transactions, locks, partitioning, and operations.

In plain words
What is it for?
It supports designing tables and keys, choosing indexes, tuning queries, handling transactions and locks, planning partitions, and checking production changes with rollback guidance.
Why use it?
It helps developers choose database changes using workload information and evidence such as query plans and lock metrics, instead of relying on guesses.

Skill for Claude CodeCodex

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

Good fit It supports designing tables and keys, choosing indexes, tuning queries, handling transactions and locks, planning partitions, and checking production changes with rollback guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seed-forge/harness-ai-kit/public-mysql-expert-base
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 seed-forge/harness-ai-kit --skill public-mysql-expert-base
Clone the repo
git clone --depth 1 https://github.com/seed-forge/harness-ai-kit

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 public-mysql-expert-base

README.md
[![agentmods](https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/public-mysql-expert-base/github.svg)](https://agentmods.dev/skills/seed-forge/harness-ai-kit/public-mysql-expert-base)
Your own site
<a href="https://agentmods.dev/skills/seed-forge/harness-ai-kit/public-mysql-expert-base"><img src="https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/public-mysql-expert-base/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 public-mysql-expert-base

Your own site · 80×15
<a href="https://agentmods.dev/skills/seed-forge/harness-ai-kit/public-mysql-expert-base"><img src="https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/public-mysql-expert-base.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,014 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.00056 $0.01014
Opus 5 $0.00028 $0.00507
Sonnet 5 $0.00011 $0.00203
Haiku 4.5 $0.00006 $0.00101

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

Security

Grade A, and why

public-mysql-expert-base 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.

skills/public-mysql-expert-base/SKILL.md · 87 lines

How it starts

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

MySQL/InnoDB Knowledge Base

Use this skill to make safe, measurable MySQL/InnoDB changes.

Source: Adapted from planetscale/database-skills (MySQL skill). PlanetScale-specific content removed; only general MySQL/InnoDB knowledge retained.

Workflow

  1. Define workload and constraints (read/write mix, latency target, data volume, MySQL version).
  2. Read only the relevant reference files linked in each section below.
  3. Propose the smallest change that can solve the problem, including trade-offs.
  4. Validate with evidence (EXPLAIN, EXPLAIN ANALYZE, lock/connection metrics).
  5. For production changes, include rollback and post-deploy verification.

Schema Design

  • Prefer narrow, monotonic PKs (BIGINT UNSIGNED AUTO_INCREMENT) for write-heavy OLTP tables.
  • Avoid random UUID values as clustered PKs; if external IDs are required, keep UUID in a secondary unique column.
  • Always utf8mb4 / utf8mb4_0900_ai_ci. Prefer NOT NULL, DATETIME over TIMESTAMP.
  • Lookup tables over ENUM. Normalize to 3NF; denormalize only for measured hot paths.

References:

Indexing

  • Composite order: equality first, then range/sort (leftmost prefix rule).
  • Range predicates stop index usage for subsequent columns.
  • Secondary indexes include PK implicitly. Prefix indexes for long strings.
  • Audit via performance_schema — drop indexes with count_read = 0.

References:

Partitioning

  • Partition time-series (>50M rows) or large tables (>100M rows). Plan early — retrofit = full rebuild.
  • Include partition column in every unique/PK. Always add a MAXVALUE catch-all.

Read the full file on GitHub · 87 lines

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 · 87 lines · 56 tokens per session scan A 34472e01c5d8

Subscribe to this mod's changes

public-mysql-expert-base is a skill published in the GitHub repository seed-forge/harness-ai-kit (22 stars, last pushed 10d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,014 once invoked, about $0.0003 per session on Opus 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.