Mysh — Data skill for Claude Code
A safer MySQL CLI for AI coding agents: connection profiles, SSH tunnels, and automatic sensitive-data masking before query output reaches Claude Code, Cursor, scripts, or MCP clients.
How to install Mysh
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open atani/mysh and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mysh does
A safer MySQL CLI for AI coding agents: connection profiles, SSH tunnels, and automatic sensitive-data masking before query output reaches Claude Code, Cursor, scripts, or MCP clients.
Alternatives in Data
- Portaljs Add Dcat — Make a PortalJS portal harvestable by national/EU/US open-data portals — emit standards-compliant DCAT catalog 2.3k ★
- Sdd DB Reverse Full — Reverse engineering de TOUS les objets SQL exécutables d'une base (lecture seule) — procédures stockées, fonct 193 ★
- MySQL — Safe read-only SQL queries against MySQL databases 159 ★
README
mysh
[](https://github.com/atani/mysh/actions/workflows/ci.yml) [](https://codecov.io/gh/atani/mysh) [](https://goreportcard.com/report/github.com/atani/mysh) [](https://pkg.go.dev/github.com/atani/mysh) [](https://opensource.org/licenses/MIT)
English | 日本語
**Stop leaking production data to AI coding agents.**
mysh is a safer MySQL CLI for the AI coding era: it manages connection profiles, SSH tunnels, and query output so Claude Code, Cursor, shell scripts, and MCP clients can work with production-like databases without accidentally seeing raw sensitive data.
*Pronounced "my-sh" (/maɪʃ/), like "my shell".*

**New to mysh?** See the [Getting Started guide for non-engineers](docs/getting-started.md) — set up in 5 minutes and start querying with Claude Code.
If you believe AI agents should never receive raw production PII, consider starring the repo to help more teams find it.
Why mysh?
Traditional MySQL clients are great for humans, but risky in AI-assisted workflows: query results can be copied into prompts, captured by scripts, or returned to agents without a final privacy check.
mysh is built for that gap:
- AI-safe by default: automatically masks configured sensitive fields in production and non-TTY contexts
- One command for secure access: handles MySQL connection profiles and SSH tunnels together
- Team-friendly onboarding: export shared connection configs without passwords, then let each teammate enter their own
Related Skills
Claude Guard Hook
A global Claude Code hook that intercepts sensitive data before it reaches the LLM — secrets, API keys, PII, a
AI Coding Exercises
Hands-on practice for AI engineering interviews: build LLM evals from scratch with the Claude API, plus drills
Agent Tool Register
Register the scripts AI coding agents wrote for non-engineers and flag when one needs an owner: a second user,
Doublecast
Keep your business data home. Doublecast swaps the real names of customers, people and companies, plus emails,
Hutchdb
A database for AI agents. No schema, SQL, or structure required. Claude Code, Codex, Cursor, Hermes, Claw, Gro
Privacy Filter
Skill for stripping sensitive data from content before it enters the wiki — API keys, tokens, passwords, PII
Related Agents
Npl SQL Architect
Database proxy domain expertise specialist for MySQL/PostgreSQL protocol handling, connection pooling, and que
Database Master
Use for database work across PostgreSQL (primary), MySQL, MongoDB, and Redis — schema and data modeling, query
Supabase Migrator
Migrate or extend a Drizzle + Supabase Postgres backend. Use for MySQL→Postgres migrations, adding tables/colu