What problem does it solve?
Moderators and engineers need direct access to Retool-era moderation data such as user notes and strikes, but manually connecting to the PostgreSQL database with the right credentials, timeouts, and safety guards is repetitive and error-prone.
Core Features & Use Cases
- Safe Query Execution: Runs SQL against the moderator database in read-only mode by default, blocking INSERT, UPDATE, DELETE, and other write operations unless explicitly confirmed with the --writable flag.
- Flexible Output and Input: Supports JSON output, quiet mode, file-based queries, and configurable statement timeouts for long-running lookups.
- Use Case: A moderator investigating a user report can run a single command to pull all UserNotes rows for a given userId, ordered by creation date, without opening a separate database client.
Quick Start
Ask the assistant to look up the moderation notes for user 12345 in the moderator database and show the ten most recent entries.