Registry / posterus-ltd

posterus-ltd/yarkr-public/pg-planner-statistics

Fix bad Postgres query plans caused by wrong row estimates, using ANALYZE, per-column statistics targets, extended statistics (CREATE STATISTICS) and planner cost settings. Use when EXPLAIN shows estimates far off actual rows, plans flip after data loads, or correlated columns mislead the planner.

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-planner-statistics

Without 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-planner-statistics
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:posterus-ltd/yarkr-public/pg-planner-statistics

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:posterus-ltd/yarkr-public/pg-planner-statistics

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.