joecp17/llm-dot-files/mysql-read

Claude Code and agent skill by joecp17/llm-dot-files

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Run read-only MySQL queries against the Thomas local Docker MySQL or the dev Aurora hmmall/thomas databases. Use when the user wants quick schema inspection, SQL lookups, NATION/STATE mapping checks, or direct read-only validation without relying on MCP.

Install

npx vskill@latest install joecp17/llm-dot-files/mysql-read

SKILL.md

The same SKILL.md was published earlier as joecp17/llm-dot-files/mysql-read.

MySQL Read

Use the bundled shell script for read-only MySQL access.

Default targets:

  • local: Docker MySQL started by the Thomas repo (compose.yml)
  • dev: Aurora read endpoint using AWS CLI + Secrets Manager

Workflow

  1. Decide the target:
  • Use local for Docker data seeded by the repo.
  • Use dev for shared Aurora data after aws sso login.
  1. Keep queries read-only.
  2. Run the script instead of hand-assembling credentials inline.
  3. Summarize the result briefly and include the important rows or counts in the reply.

Commands

bash
~/.codex/skills/mysql-read/scripts/mysql-read.sh --target local --database hmmall --sql "SELECT 1"
bash
~/.codex/skills/mysql-read/scripts/mysql-read.sh --target dev --database hmmall --sql "SELECT NATION_NO, COUNTRY_ID, DEF_NATION_NM FROM NATION WHERE COUNTRY_ID IN ('US','CA')"

Behavior

  • Only SELECT, SHOW, DESCRIBE, DESC, EXPLAIN, and WITH ... SELECT queries are allowed.
  • local uses a running Docker MySQL container and defaults to:
  • container auto-detected from docker ps
  • user user
  • password pass
  • dev defaults to:
  • AWS profile default
  • region ap-northeast-2
  • host from MYSQL_READ_DEV_HOST
  • secret ARN from MYSQL_READ_DEV_SECRET_ARN
  • Override defaults with flags or env vars when needed.

Common Cases

  • Find a nation number:
  • --sql "SELECT NATION_NO, COUNTRY_ID, DEF_NATION_NM FROM NATION WHERE COUNTRY_ID = 'US'"
  • Check state code mapping:
  • --sql "SELECT NATION_NO, STATE_NM, STATE_CD FROM STATE WHERE STATE_NM = 'New York'"
  • Inspect schema:
  • --sql "SHOW COLUMNS FROM STATE"

Prerequisites

  • docker
  • aws

If local is used, the Thomas MySQL container must be running. If dev is used, run aws sso login first and set MYSQL_READ_DEV_HOST plus MYSQL_READ_DEV_SECRET_ARN.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/joecp17/llm-dot-files/mysql-read/badge)](https://verified-skill.com/skills/joecp17/llm-dot-files/mysql-read)

Something wrong with this skill or its page? Tell us.