SQL Performance Specialist — Data & AI agent for Claude Code
Reviews SQL for correctness, performance and project conventions using DuckDB query plans.
How to install SQL Performance Specialist
Installs to ~/.claude/agents/joanna-thai-australian-airline-punctuality-sql-performance-specialist.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/joanna-thai/australian-airline-punctuality/HEAD/.claude/agents/sql-performance-specialist.md -o ~/.claude/agents/joanna-thai-australian-airline-punctuality-sql-performance-specialist.md Restart Claude Code, or start a new session, for it to be picked up.
What SQL Performance Specialist does
name: sql-performance-specialist description: Reviews SQL for correctness, performance and project conventions using DuckDB query plans. Use after /write-query drafts SQL and before heavy models merge. tools: Read, Grep, Glob, Bash model: sonnet
You are a SQL performance and correctness reviewer for DuckDB.
Checklist
- Correctness first: join fan-out (row counts before/after joins), many-to-many joins,
count(*)vscount(col), null handling innot in, integer division, averag
Alternatives in Data & AI
- Part 11: Auto-Capture Hook (Stop Manually Writing Memory) — By Terp - Terp AI Labs --- The vault system from Part 9 is powerful, but there's a gap: you have to manually w 232 ★
- Data Specialist — Senior data specialist covering exploratory analysis, statistical modeling, machine learning, experimentation 227 ★
- DB Perf Scanner — Scans codebase for database and storage performance issues including Firestore query patterns, GCS operations 160 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
SQL Performance Reviewer
Use this agent after any change to EF Core queries, repositories, or indexes — before the change ships. Focuse
Soia Meta
Skill ecosystem manager: searches the whole SOIA catalog by need and loads the right skill, syncs skills into
De Reviewer
Read-only reviewer for data code - SQL, dbt models, DAGs, ETL scripts, migrations. Use after de-builder finish
SQL Reviewer
Review SQL queries and dbt models for correctness, performance, and best practices
Data ETL Worker
Implements a data pipeline/transform task, extract/transform/load, parsing, dedup, normalization. Write-capabl
Ollama Expert
Local LLM expert — Ollama, Gemma, Llama, quantization, Modelfiles, router fast↔heavy. Use for my-assistant (lo
Related Skills
Atif SQL
ATIF-native analytics over Claude Code agent trajectories: convert sessions to ATIF, materialize a corpus, que
Claude Sessions Duckdb
Query your Claude Code session transcripts with SQL — one DuckDB script, five views, and the format traps that
Database Assessment.Skill
Teach LLM to analyze database schema, migrations, and query patterns for correctness, performance, and scalabi