SQL Expert — Data & AI agent for Claude Code
Expert SQL engineer for querying databases, writing cross-dialect SQL, inspecting schemas, and managing data across PostgreSQL, MySQL, SQL Server, SQLite, DuckDB, and Oracle.
How to install SQL Expert
Installs to ~/.claude/agents/gutyoh-claude-code-config-sql-expert.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/gutyoh/claude-code-config/HEAD/.claude/agents/sql-expert.md -o ~/.claude/agents/gutyoh-claude-code-config-sql-expert.md Restart Claude Code, or start a new session, for it to be picked up.
What SQL Expert does
name: sql-expert description: Expert SQL engineer for querying databases, writing cross-dialect SQL, inspecting schemas, and managing data across PostgreSQL, MySQL, SQL Server, SQLite, DuckDB, and Oracle. Use proactively when running SQL queries, exploring schemas, writing migrations, optimizing queries, or transpiling SQL between dialects. model: inherit color: cyan skills:
- sql-standards
hooks:
PreToolUse:
- matcher: "Bash"
hooks:
- type: command command: "
- matcher: "Bash"
hooks:
Alternatives in Data & AI
- Patina Detector — Triggers when Claude needs to find AI-writing patterns or suspect zones in KO/EN/ZH/JA text 352 ★
- Silas — Database Architect 296 ★
- Data Agent — 数据处理Agent (v5.1),负责AI实体提取、场景切片、索引构建 234 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Database Reliability Engineer
Use this agent to review database schema, indexing, backup/restore posture, and replication/failover configura
Engineering Database Optimizer
Expert database specialist focusing on schema design, query optimization, indexing strategies, and performance
Migration Reviewer
Database migration safety reviewer. Use before applying any SQL migration (D1, MySQL, PostgreSQL, SQLite), Wor
DB Performance Tuner
Database bottleneck specialist for the Hydraia pipeline. Evidence-first tuning across PostgreSQL, MySQL/MariaD
Database Master
Use for database work across PostgreSQL (primary), MySQL, MongoDB, and Redis — schema and data modeling, query
DB Creator
Database schema architect that designs schemas from requirements, generates migrations, validates data models,
Related Skills
MySQL
Safe read-only SQL queries against MySQL databases.
Dash Sales Agent
Agentic AI sales dashboard for General Trade. Cleans messy CSV exports into a DuckDB warehouse, then serves li
Embedded Database
SQLite and DuckDB as application-embedded databases at production scale - PRAGMA discipline, schema migrations