What problem does it solve?
Exploring an unfamiliar database usually requires manual SQL work and risks accidental writes. This Skill provides safe, read-only inspection of SQLite and PostgreSQL databases so you can understand table structures and data without modifying anything.
Core Features & Use Cases
- Schema Inspection: List all tables and views with row counts, and describe columns, types, constraints, foreign keys, and indexes for any table.
- Data Preview & ER Diagrams: Preview the first N rows of a table and generate Mermaid erDiagram syntax ready to render in documentation.
- Safe Read-Only Queries: Execute SELECT/WITH/EXPLAIN queries with connection-level read-only mode, keyword blocking, and multi-statement rejection.
- Use Case: You inherit a legacy SQLite database with no documentation. Use this Skill to list tables, describe each schema, and generate an ER diagram to map out the data model in minutes.
Quick Start
Ask the agent to explore the database at data.db by listing its tables and generating an ER diagram of the schema.