postgres-dba

Diagnose PostgreSQL databases via REST API health checks.

11|8|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/tallclub/matimo --skill postgres-dba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: postgres-dba
Source: https://github.com/tallclub/matimo/tree/main/typescript/examples/mcp/matimo-tools/skills/postgres-dba
Command: npx skills add https://github.com/tallclub/matimo --skill postgres-dba

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

DBAs and platform teams often struggle to quickly diagnose PostgreSQL health issues, identify performance bottlenecks, and plan maintenance across multiple databases and schemas.

Core Features & Use Cases

  • Guided workflows covering active connections, slow queries, vacuum status, and index health.
  • Standardized tooling set that delegates query execution to a REST API wrapper using tools like pg_run_query, pg_table_stats, pg_slow_queries, pg_index_health, pg_active_connections, and pg_vacuum_status.
  • Real-world use cases include health validation after deployment, incident response for slow databases, and proactive maintenance planning.

Quick Start

Ask me to run a health check on your PostgreSQL database to receive a prioritized diagnostic report.

Frequently Asked Questions about postgres-dba

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

FAQPage Schema
How do I diagnose slow queries and high dead tuples in PostgreSQL?

Diagnose slow queries and high dead tuples in PostgreSQL by running automated health checks that analyze slow queries, table bloat, and vacuum status to produce a prioritized diagnostic report.

Can I run a PostgreSQL health check across multiple databases and schemas?

Yes, you can run a PostgreSQL health check across multiple databases and schemas, executing targeted queries to monitor active connections, index health, and table stats for production deployments.

What's the best way to automate index health and vacuum status monitoring for PostgreSQL?

Automate index health and vacuum status monitoring for PostgreSQL by using guided DBA workflows that query pg_index_health and pg_vacuum_status to identify maintenance needs and performance bottlenecks.

Do I need a REST API wrapper to check active connections and table bloat in PostgreSQL?

Yes, checking active connections and table bloat requires a REST API wrapper with a POST /query endpoint, using PG_API_URL and PG_API_KEY to authenticate and execute queries against pg_active_connections and pg_table_stats.

When should I run a PostgreSQL health check for deployment validation or incident response?

Run a PostgreSQL health check for deployment validation, incident response to slow databases, or proactive maintenance planning to detect table bloat, dead tuples, and connection saturation early.

Why does my PostgreSQL database still perform poorly after checking slow queries?

PostgreSQL performance issues may persist beyond slow queries if index health is degraded, table bloat is high, or vacuum status is lagging, requiring a comprehensive diagnostic workflow covering all these areas.