postgresql-sql-runner

Community

Run safe, read-only SQL on Patroni masters.

AuthorIldarMinaev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Run read-only SQL queries against PostgreSQL clusters managed by Patroni in Kubernetes.

Core Features & Use Cases

  • Read-only diagnostics: executes non-DDL SQL safely to diagnose replication status, connections, and configuration.
  • Master discovery & execution workflow: identifies the Patroni master pod and executes SQL via kubectl on the leader.
  • Common use cases: verify replication status, connection health, and memory/WAL configurations across Kubernetes deployments.

Quick Start

Run a read-only SQL query against the Patroni master using the provided SQL files and kubectl exec workflow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: postgresql-sql-runner
Download link: https://github.com/IldarMinaev/troubleshooting-skill/archive/main.zip#postgresql-sql-runner

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.