LogoClawIndex
CasesSkillsAbout
LogoClawIndex

postgresql - Design and optimize PostgreSQL queries and schemas

Write advanced PostgreSQL queries, analyze execution plans, design indexes, handle concurrent writes, and plan safe schema migrations.

Tags

Updated: 2026-09-30

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Write window function queries
  • Build recursive CTEs
  • Query and update JSONB
  • Design PostgreSQL indexes
  • Interpret EXPLAIN ANALYZE output
  • Handle concurrent writes
  • Write upsert statements
  • Plan schema migrations

Inputs

  • SQL query requirements
  • Database schema
  • Table and column statistics
  • Migration requirements
  • Concurrency requirements

Outputs

  • SQL queries
  • Index definitions
  • Execution plan analysis
  • Migration plans
  • Concurrency control statements

Requirements

  • PostgreSQL 14 or later
  • PostgreSQL query support

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
PostgreSQL
SQL
query optimization
database indexing
JSONB
transactions
schema migration
Write window function queries
Build recursive CTEs
Query and update JSONB
Design PostgreSQL indexes
SQL query requirements
Database schema
Table and column statistics
SQL queries
Index definitions
Execution plan analysis