{"id":"a76884c4-39e0-45a9-a263-93ca4d80bacb","shortId":"pZjt4u","kind":"skill","title":"PostgreSQL Performance Diagnostics","tagline":"Analyzes PostgreSQL query performance using pg_stat_statements, pg_stat_user_tables, and EXPLAIN ANALYZE output. Identifies missing indexes via pg_stat_user_indexes and detects lock contention through pg_locks and pg_stat_activity.","description":"# PostgreSQL Performance Diagnostics\n\nAnalyzes PostgreSQL query performance using pg_stat_statements, pg_stat_user_tables, and EXPLAIN ANALYZE output. Identifies missing indexes via pg_stat_user_indexes and detects lock contention through pg_locks and pg_stat_activity.\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- npm install pg\n- From your workspace root run yarn and then yarn lerna bootstrap\n- Run yarn test to run all the tests.\n\nRequirements and caveats from upstream:\n- # node-postgres\n- ![Build Status](https://github.com/brianc/node-postgres/actions/workflows/ci.yml/badge.svg)\n- Non-blocking PostgreSQL client for Node.js. Pure JavaScript and optional native libpq bindings.\n\nBasic usage or getting-started notes:\n- ## Documentation\n- Each package in this repo should have its own readme more focused on how to develop/contribute. For overall documentation on the project and the related modules managed by this repo please see:\n- ### Features\n\n- Source: https://github.com/brianc/node-postgres\n- Extracted from upstream docs: https://raw.githubusercontent.com/brianc/node-postgres/HEAD/README.md\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/postgresql-performance-diagnostics/)","tags":["postgresql","performance","diagnostics","skills","agentskillexchange","agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor"],"capabilities":["skill","source-agentskillexchange","skill-postgresql-performance-diagnostics","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/postgresql-performance-diagnostics","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,263 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:11:49.613Z","embedding":null,"createdAt":"2026-05-18T13:18:28.412Z","updatedAt":"2026-05-18T19:11:49.613Z","lastSeenAt":"2026-05-18T19:11:49.613Z","tsv":"'/brianc/node-postgres':182 '/brianc/node-postgres/actions/workflows/ci.yml/badge.svg)':123 '/brianc/node-postgres/head/readme.md':189 '/skills/postgresql-performance-diagnostics/)':196 'activ':38,76 'agent':191 'agentskillexchange.com':195 'agentskillexchange.com/skills/postgresql-performance-diagnostics/)':194 'analyz':4,18,42,56 'basic':138 'bind':137 'block':126 'bootstrap':102 'build':119 'caveat':113 'client':128 'content':31,69 'detect':29,67 'develop/contribute':161 'diagnost':3,41 'doc':186 'document':145,164 'environ':88 'exchang':193 'explain':17,55 'extract':183 'featur':178 'focus':157 'get':142 'getting-start':141 'github.com':122,181 'github.com/brianc/node-postgres':180 'github.com/brianc/node-postgres/actions/workflows/ci.yml/badge.svg)':121 'identifi':20,58 'index':22,27,60,65 'instal':77,81,90 'javascript':132 'lerna':101 'libpq':136 'lock':30,34,68,72 'manag':172 'match':86 'miss':21,59 'modul':171 'nativ':135 'node':117 'node-postgr':116 'node.js':130 'non':125 'non-block':124 'note':144 'npm':89 'option':134 'output':19,57 'overal':163 'packag':147 'path':84 'perform':2,7,40,45 'pg':9,12,24,33,36,47,50,62,71,74,91 'pleas':176 'postgr':118 'postgresql':1,5,39,43,127 'project':167 'pure':131 'queri':6,44 'raw.githubusercontent.com':188 'raw.githubusercontent.com/brianc/node-postgres/head/readme.md':187 'readm':155 'relat':170 'repo':150,175 'requir':111 'root':95 'run':96,103,107 'see':177 'setup':83 'skill':192 'skill-postgresql-performance-diagnostics' 'sourc':179,190 'source-agentskillexchange' 'start':143 'stat':10,13,25,37,48,51,63,75 'statement':11,49 'status':120 'tabl':15,53 'test':105,110 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'upstream':80,115,185 'usag':139 'use':8,46,78 'user':14,26,52,64 'via':23,61 'workspac':94 'yarn':97,100,104","prices":[{"id":"51b2bd79-1508-4cd2-80a5-5fb177050be7","listingId":"a76884c4-39e0-45a9-a263-93ca4d80bacb","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:18:28.412Z"}],"sources":[{"listingId":"a76884c4-39e0-45a9-a263-93ca4d80bacb","source":"github","sourceId":"agentskillexchange/skills/postgresql-performance-diagnostics","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/postgresql-performance-diagnostics","isPrimary":false,"firstSeenAt":"2026-05-18T13:18:28.412Z","lastSeenAt":"2026-05-18T19:11:49.613Z"}],"details":{"listingId":"a76884c4-39e0-45a9-a263-93ca4d80bacb","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"postgresql-performance-diagnostics","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"70baaa51400fe7482fe5b9a201fd7d1b2e8f388b","skill_md_path":"skills/postgresql-performance-diagnostics/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/postgresql-performance-diagnostics"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"PostgreSQL Performance Diagnostics","description":"Analyzes PostgreSQL query performance using pg_stat_statements, pg_stat_user_tables, and EXPLAIN ANALYZE output. Identifies missing indexes via pg_stat_user_indexes and detects lock contention through pg_locks and pg_stat_activity."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/postgresql-performance-diagnostics"},"updatedAt":"2026-05-18T19:11:49.613Z"}}