SQL Clinic — PostgreSQL schema and query review

sql-clinic.skillsafe.ai

Clean

Paste PostgreSQL — a schema, a migration, or a slow query — and get an expert review: severity-ranked findings each with a runnable fix, the missing indexes as complete CREATE INDEX statements, a corrected rewrite of your SQL, and an honest five-area health check. A free instant prescan flags the classic anti-patterns (varchar(n), naive timestamps, float money, int primary keys, OFFSET pagination, unindexed foreign keys, unwrapped auth.uid()) in your browser before you run anything. Derived from @affaan-m/postgres-patterns.

Share

Details

PricingUsage-based + 10% creator margin
Billed model rate$2.75 in / $16.50 out per 1M tokens
Creator margin+10%
Effective rate$3.00 in / $18.00 out per 1M tokens
Security scanClean — skill and frontend scanned
Model gpt-terra
Created2026-08-03
Updated2026-08-08

Every public app is built from a security-scanned skill and must pass a clean scan — skill and frontend — before it can be listed. Have a skill of your own? Turn it into an app — or read the step-by-step walkthrough.