What problem does it solve? Running ad-hoc SQL against a PostgreSQL database is risky when destructive statements, missing transaction control, or silent failures can corrupt data. This Skill wraps SQL execution in safety checks, transaction modes, and clear execution summaries. ## Core Features & Use Cases - Flexible Input: Accepts either a SQL file path or an inline SQL statement and detects the mode automatically. - Destructive Operation Detection: Warns and requires explicit confirmation before running DROP TABLE, TRUNCATE, or unbounded UPDATE/DELETE statements. - Transaction Modes: Supports auto (BEGIN/COMMIT wrapper with rollback on error), manual (script-controlled), and read-only transactions. - Use Case: Run a migration file like supabase/migrations/20240101_add_users.sql with automatic transaction wrapping, then review rows affected and execution time in the summary output. ## Quick Start Ask the agent to run your SQL file or inline query against the database, for example: run the migration file supabase/migrations/20240101_add_users.sql with automatic transaction mode.