database-discovery

Discover and query Docker-contained PostgreSQL and Redis databases with read-only commands.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/mkrlabs/specflow --skill database-discovery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-discovery
Source: https://github.com/mkrlabs/specflow/tree/main/examples/.claude/skills/database-discovery
Command: npx skills add https://github.com/mkrlabs/specflow --skill database-discovery

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node, and includes scripts (resource) components.

What problem does it solve?

Enables AI agents to map the topology of databases running inside Docker containers and safely run read-only queries against Postgres and Redis to inspect contents and schemas.

Core Features & Use Cases

  • Topology discovery of Dockerized databases (Postgres and Redis)
  • Safe, container-scoped querying via helper scripts
  • Schema awareness through schema.ts mapping

Quick Start

Run the provided run_postgres_query.sh script with a sample SELECT to verify access to the Postgres container.

Frequently Asked Questions about database-discovery

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

FAQPage Schema
How do I discover the schema of a PostgreSQL database running inside a Docker container?

Yes, you can inspect Redis databases running in named Docker containers. The Skill enforces container-scoped access to safely discover topology and run read-only queries against your Redis data stores.

Can I safely inspect Redis data stores in Dockerized development environments?

Yes, you can inspect Redis databases running in named Docker containers. The Skill enforces container-scoped access to safely discover topology and run read-only queries against your Redis data stores.

Does this database discovery approach work without modifying the host environment?

To validate database migrations in development, run the provided shell script with a sample SELECT query against your PostgreSQL container. This allows you to safely inspect schema changes and verify data integrity.

How do I validate database migrations in Dockerized PostgreSQL containers?

To validate database migrations in development, run the provided shell script with a sample SELECT query against your PostgreSQL container. This allows you to safely inspect schema changes and verify data integrity.

What do I need to run read-only queries against Docker-contained databases?

You should not use this approach for write operations or host-level mutations. It is strictly designed for read-only queries and topology discovery to ensure safe debugging of containerized PostgreSQL and Redis data stores.

When should I avoid using scripts to query containerized databases?

You should not use this approach for write operations or host-level mutations. It is strictly designed for read-only queries and topology discovery to ensure safe debugging of containerized PostgreSQL and Redis data stores.