database

Manage PostgreSQL databases and execute SQL queries with safety checks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/l8yh1/sainxbot --skill database-l8yh1
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: database
Source: https://github.com/l8yh1/sainxbot/tree/main/.local/skills/database
Command: npx skills add https://github.com/l8yh1/sainxbot --skill database-l8yh1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create and manage Replit's built-in PostgreSQL databases, check status, execute SQL queries with safety checks, and run read-only queries against the production database. Use when the user wants to check prod data, debug database issues in production, or asks you to "check the prod db", "query production", "look at live data", or "see what's in the database on the deployed app".

Core Features & Use Cases

  • Provision new PostgreSQL databases for projects
  • Check provisioning status and read-only queries against production replicas for safe debugging
  • Execute parameterized SQL queries across development and production targets, including read-only warehouse queries when allowed
  • Query data warehouses (BigQuery, Databricks, Snowflake) with Databricks connector guidance

Quick Start

Check the database status or run a safe, read-only query against development or production.

Frequently Asked Questions about database

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

FAQPage Schema
How do I run read-only SQL queries against a production PostgreSQL database?▼

Run read-only SQL queries against production PostgreSQL replicas using environment isolation and safety checks to debug live data without risking accidental writes. This approach lets you inspect deployed database status safely.

Can I use this to manage PostgreSQL databases across development and production environments?▼

Manage PostgreSQL databases across development and production using environment isolation and safety checks. It supports provisioning new databases, checking status, and executing parameterized SQL queries tailored to each environment.

What's the best way to provision a new PostgreSQL database for my project?▼

Provision new PostgreSQL databases using built-in provisioning functions that create the instance and provide status checks. This lets you verify when your development or production database is ready for safe SQL execution.

Does this support querying data warehouses like BigQuery, Databricks, and Snowflake?▼

Query data warehouses including BigQuery, Databricks, and Snowflake using parameterized SQL execution with Databricks connector guidance. This extends safe query execution beyond PostgreSQL to warehouse environments when allowed.

What safety protections prevent accidental writes when querying production data?▼

Safety protections include environment isolation, safety checks, and read-only query enforcement against production replicas. These mechanisms prevent accidental writes while allowing you to inspect live data and debug database issues safely.