posterus-ltd/yarkr-public/pg-index-selection
Choose the right Postgres index (B-tree, composite, partial, covering, expression, GIN, GiST, BRIN) for a query or workload. Use when adding an index, a query does a slow Seq Scan or Sort, reviewing a migration that creates indexes, or pruning unused ones.
Agent skill · version 0.0.0-arks-library.1792108572.gbefeb5a · from posterus-ltd/yarkr-public
Install
npx yarkr-cli add skill:posterus-ltd/yarkr-public/pg-index-selectionWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:posterus-ltd/yarkr-public/pg-index-selection
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:posterus-ltd/yarkr-public/pg-index-selectionOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:posterus-ltd/yarkr-public/pg-index-selectionWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.