Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

atlas-mysql

Skill by ariga

Gives AI assistants MySQL and MariaDB rules for managing schemas with Atlas. It is for developers who run Atlas migrations or schema changes on MySQL or MariaDB. It works alongside the atlas skill.

  • Score 86
  • 8.9k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install atlas-mysql

Built from the published package, never by AI.

git clone --depth 1 https://github.com/ariga/atlas /tmp/atlas && mkdir -p ~/.claude/skills && cp -r /tmp/atlas/skills/atlas-mysql ~/.claude/skills/atlas-mysql

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install atlas-mysql in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill adds MySQL and MariaDB specifics to the atlas skill, which covers general Atlas workflows and commands. It lists rules and edge cases that differ on MySQL, such as dev database URL scope, character sets and collations, users and grants, enum and set columns, foreign-key indexes, and triggers. It also covers migration risks, including MySQL having no transactional DDL, and the lint findings that copy or rebuild tables.

The skill is a SKILL.md file plus seven reference files that the assistant reads when a task needs them. It also covers schema and migration tests, managed services such as RDS, Aurora, Cloud SQL, and Azure, and custom lint rules written in the HCL rule language. It is for people who use Atlas to manage a MySQL or MariaDB database. MySQL-compatible engines such as TiDB, PlanetScale, and SingleStore are not covered.

Written from the project's SKILL.md and checked against it.

What it can do

  • Dev database and URL scopeExplains schema scope versus server scope and how to set the dev database to match the target.
  • Character sets and collationsCovers declaring charset and collate on schema blocks to avoid unexpected plan changes.
  • Users, roles and grantsCovers managing accounts and roles at server scope and activating granted roles.
  • Objects and indexesCovers enum and set columns, generated columns, foreign-key indexes, prefix indexes, and triggers.
  • Migration safetyCovers partial migration failures, recovery steps, and MY1* lint findings that rebuild tables.
  • TestingCovers schema tests and migration tests with seeded rows, run with atlas schema test and atlas migrate test.
  • Custom lint rulesCovers writing lint rules in the HCL rule language when no built-in analyzer covers a check.

What you need

  • The atlas skill installed next to this skill
  • An Atlas login, with atlas login
  • Docker, for the dev database
  • A MySQL or MariaDB database managed by Atlas

Try asking

  • Set up a MySQL dev database for my Atlas schema migrations
  • Check my MySQL migration for lint findings that rebuild a table
  • Add schema tests for a new trigger in my MySQL schema

Good to know

  • MySQL-compatible engines such as TiDB, PlanetScale, and SingleStore are not covered
  • MySQL and MariaDB have no transactional DDL, so a failed migration can stay partly applied
  • When logged out of Atlas, views, triggers, stored procedures, functions, partitions, users, and grants are missed

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/atlas-mysql/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • references/custom-rules.md8 KB
  • references/dev-database.md16 KB
  • references/hcl.md10 KB
  • references/migrations.md10 KB
Show all 8 files
  • references/objects.md8 KB
  • references/security.md5 KB
  • references/testing.md4 KB

Alternatives to atlas-mysql

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

atlas-mysql: common questions

Does this skill work with MariaDB?

MariaDB is covered where it differs from MySQL. The source says to use a MariaDB dev database for MariaDB.

Does it cover TiDB or PlanetScale?

No. The source says MySQL-compatible engines such as TiDB, PlanetScale, and SingleStore are not covered.

Is an Atlas account needed?

The source says to check the login with atlas whoami and to run atlas login if it is missing. A user without an account can start a free trial with atlas login.

How do I install atlas-mysql?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is atlas-mysql free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is atlas-mysql safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to atlas-mysql?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

atlas-mysql Install

Add to stack

Loading.