db-tool

Query and manage SQLite, PostgreSQL, and MySQL databases via a unified CLI.

1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/winsorllc/upgraded-carnival --skill db-tool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-tool
Source: https://github.com/winsorllc/upgraded-carnival/tree/main/.pi/skills/db-tool
Command: npx skills add https://github.com/winsorllc/upgraded-carnival --skill db-tool

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires better-sqlite3, pg, mysql2, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies database interactions by allowing users to query, manage, and explore data across different database systems without needing to write complex SQL commands directly.

Core Features & Use Cases

  • Cross-Database Support: Works with SQLite, PostgreSQL, and MySQL.
  • Query Execution: Run SELECT queries and execute data modification statements (INSERT, UPDATE, DELETE).
  • Schema Exploration: List tables and describe table schemas.
  • Use Case: Quickly check the number of active users in a PostgreSQL database by listing tables and then describing the user table to understand its structure before running a query.

Quick Start

Use the db-tool skill to list all tables in the connected database.

Frequently Asked Questions about db-tool

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute SQL queries across SQLite, PostgreSQL, and MySQL without switching CLI tools?

To execute SQL queries across SQLite, PostgreSQL, and MySQL, use a unified command-line interface that supports all three systems. This lets you run arbitrary SELECT statements and data modifications without switching tools.

What is the best way to list tables and describe schemas in a PostgreSQL or MySQL database?

The best way to list tables and describe schemas is through a unified database management CLI. It provides commands to list tables and describe table schemas for PostgreSQL, MySQL, and SQLite directly.

Do I need specific database drivers installed to manage SQLite, PostgreSQL, and MySQL databases?

Yes, you need specific database drivers installed to manage SQLite, PostgreSQL, and MySQL. You must have the appropriate drivers, such as better-sqlite3, pg, and mysql2, installed to enable full querying functionality.

Can I run data modification statements like INSERT, UPDATE, and DELETE through a unified database CLI?

Yes, you can run data modification statements like INSERT, UPDATE, and DELETE through the unified database CLI. It supports executing these arbitrary SQL commands alongside standard SELECT queries for administration.

How do I explore active user data in a SQLite database before writing complex queries?

To explore active user data in a SQLite database, first list all available tables, then describe the user table schema to understand its structure. This helps you identify columns before running targeted SELECT queries.