A comprehensive optimization guide and toolkit for improving PostgreSQL query speed, schema efficiency, and connection management.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install postgres-perf
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install postgres-perf using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The PostgreSQL Performance Optimizer is a specialized skill designed to streamline database management within Openclaw Skills workflows. It focuses on identifying and resolving performance bottlenecks by applying industry-standard best practices for SQL writing, indexing, and schema architecture. Whether you are dealing with slow queries or complex Row Level Security (RLS) implementations, this skill provides the technical framework to ensure your database remains performant.
By synthesizing expert-level knowledge from Supabase and general PostgreSQL optimization principles, the skill helps developers move beyond basic CRUD operations. It emphasizes the use of execution plans, efficient connection pooling, and strategic data structuring to build scalable backend systems that handle high concurrency with ease.
To integrate this performance toolkit into your development environment, ensure you have the Openclaw Skills framework initialized.
# Install the postgres-perf skill into your local agent configuration
openclaw add postgres-perf
# Enable slow query logging in your PostgreSQL configuration
# edit postgresql.conf
log_min_duration_statement = 250
Configure your database client to use pgBouncer for connection pooling, especially when working in serverless or high-concurrency environments.
The skill organizes optimization data into several key areas to provide clear technical oversight:
| Component | Description |
|---|---|
| Execution Metadata | Results from EXPLAIN (ANALYZE, BUFFERS) documenting query costs. |
| Index Registry | Definitions for B-tree, GIN, and partial indexes categorized by table. |
| Connection Stats | Logs regarding idle connections and pool usage via pgBouncer. |
| RLS Policies | Performance-mapped security policies utilizing auth.uid() or specific roles. |
| Migration Scripts | Asynchronous ALTER TABLE commands and batch processing logic. |
Loading
An automated testing skill for verifying web applications and games using headless Playwright on remote MiniPC nodes.

A specialized local LLM orchestrator for Apple Silicon designed to execute Qwen2.5 models efficiently via the MLX framework.

A specialized tool for auditing web UI code against professional interface guidelines and accessibility standards.

Automate the entire lifecycle of creating, building, and deploying professional static websites to GitHub Pages.

A specialized technical skill for optimizing React and Next.js performance through battle-tested coding patterns.

A programmatic video production skill that uses React to create high-quality animations, motion graphics, and automated video content.








































