Use this skill when the user wants a terminal UI to browse databases, run SQL, and edit records — connect to MySQL, PostgreSQL, SQLite, MSSQL, or MongoDB without a GUI client.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Quickstart?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/javimosch-quickstart-463c8361)
---
name: lazysql
description: Use this skill when the user wants a terminal UI to browse databases, run SQL, and edit records — connect to MySQL, PostgreSQL, SQLite, MSSQL, or MongoDB without a GUI client.
---
# lazysql Plugin
Cross-platform TUI database client. Browse schemas, run queries, edit rows, and switch connections — works over SSH with no desktop app required.
## Commands
- `lazysql <resource> <action>` — Execute lazysql commands
- `lazysql connection open` — Open lazysql TUI with optional connection URL
- `lazysql self version` — Show lazysql version
- `lazysql _ _` — Passthrough to lazysql CLI
## Installation
```bash
brew install lazysql
# or
go install github.com/jorgerojas26/lazysql@latest
```
## Basic Usage
```bash
# Open TUI (configure connections interactively)
lazysql
# Connect directly via URL
lazysql postgres://user:pass@localhost/mydb
lazysql mysql://root@localhost:3306/app
# Read-only mode (no edits)
lazysql --read-only postgres://user@localhost/db
```
## Supported Databases
- PostgreSQL
- MySQL / MariaDB
- SQLite
- Microsoft SQL Server
- MongoDB
## Key Bindings (in TUI)
- Navigate tables and schemas with arrow keys
- Run SQL in the query pane
- Edit cells inline where supported
- `q` — Quit
## Usage Examples
- "Browse my local Postgres database in the terminal"
- "Run a quick SQL query without installing DBeaver"
- "Connect to production DB in read-only mode"
## SuperCLI
```bash
sc lazysql connection open postgres://user@localhost/db
sc plugins learn lazysql
```