postgres
Skill1.9k starsChanged 3 months agoApache-2.0View on GitHub
Use this skill for any PostgreSQL database work — table design, indexing, data types, constraints, extensions (pgvector, PostGIS, TimescaleDB), search, and migrations.
15 other projects use a version of this.
Trending
Steady talk.about the whole repository
Most recently taken up by
- fworks-tech/agenthoodtheir own version, first seen Sep 28, 2026
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
- chenwei791129/agent-skillstheir own version, first seen Aug 29, 2026
- LDKTC/Agent-P-FullStacktheir own version, first seen Jul 31, 2026
- magnus919/agent-skillstheir own version, first seen Jul 21, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Jul 14, 2026
Who's talking about timescale/pg-aiguide
- A Hacker News story“Show HN: Pg-aiguide – Write better PostgreSQL code with AI”Hacker News · Nov 24, 2025 · 3 points
- @fred.camblor.fr“A nice MCP for opinionated best (/recent) postgres practices for schema design, indexing and constraint …”Bluesky · Dec 30, 2025 · 2 likes
- sudosubin/agents.nix“claude-code-plugins.github.timescale.pg-aiguide: init at 0.6.1”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.timescale.pg-aiguide: init at 0.6.1”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.timescale.pg-aiguide: init at 0.6.1”GitHub · Oct 3, 2026
The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 15
Talked about on GitHub, Hacker News and Bluesky (15 times).
On GitHub · 13
- Oct 4, 2026claude-code-plugins.github.timescale.pg-aiguide: init at 0.6.1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.timescale.pg-aiguide: init at 0.6.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.timescale.pg-aiguide: init at 0.6.1 — sudosubin/agents.nix0 reactions
- Jun 16, 2026chore(skills): add timescale/pg-aiguide Postgres/PostGIS skills — digitie/kor-travel-geo0 reactions
- Jun 6, 2026content(mcp): add pg-aiguide MCP Server — JSONbored/awesome-claude0 reactions · 3 comments
8 more on GitHub
- Jun 3, 2026Try a third-party PostgreSQL MCP — jabrena/plinth0 reactions · 2 comments
- Apr 13, 2026Audit candidate: timescale/pg-aiguide — xiaolai/nlpm0 reactions · 4 comments
- Apr 6, 2026Audit candidate: timescale/pg-aiguide — xiaolai/nlpm0 reactions · 3 comments
- Jan 23, 2026Add MCP section — mgramin/awesome-db-tools0 reactions · 2 comments
- Jan 4, 2026[MCP Catalog] New MCP server candidate: io.github.timescale/pg-aiguide — obot-platform/mcp-catalog0 reactions
- Jan 3, 2026Weekly Journal Sources - Week of 2026-01-06 — beijaflor/gen-ai-journal0 reactions · 1 comment
- Dec 12, 2025dec 2025 jan 2026 — kimtth/azure-openai-llm-notes0 reactions
- Nov 26, 2025Add Postgres documentation MCP and schema-design skill — davila7/claude-code-templates0 reactions · 1 comment
On Hacker News · 1
- Nov 24, 2025Show HN: Pg-aiguide – Write better PostgreSQL code with AI3 points
On Bluesky · 1
- Dec 30, 2025A nice MCP for opinionated best (/recent) postgres practices for schema design, indexing and constraint Avoids the 35y history of old SQL… — @fred.camblor.fr2 likes and reposts
Used with
Projects with it also use mysql, sentry and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
planetscaleSkillmysql
Plan and review MySQL/InnoDB schema, indexing, query tuning, transactions, and operations. Use when creating or modifying MySQL tables, indexes, or queries; diagnosing slow/locking behavior; planning migrations; or troubleshooting replication and connection issues. Load when using a MySQL database.
Also in 4 projects that use this
OpenAISkillsentry
Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry CLI; perform read-only queries using the `sentry` command.
Also in 3 projects that use this
OpenAISkilllinear
Manage issues, projects & team workflows in Linear. Use when the user wants to read, create or updates tickets in Linear.
Also in 3 projects that use this
NVIDIASkilldeep-research
Queue deep, multi-step research and analysis tasks to the DeepAgents worker. Supports execution depth presets, request-specific rubrics, SubAgent delegation, and RubricMiddleware cross-validation.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- planetscale/database-skills★ 692same name
- sanjay3290/ai-skills★ 429same name
- magnus919/agent-skills★ 109same name
- damusix/skills★ 62same name
- nahid-sparktales/agent-dispatcher★ 59same name
- digitalocean-labs/do-app-platform-skills★ 36same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- mamamou/ai-coding-skills★ 16same name
- qhkm/zeptoclaw-skills★ 4same name
- fworks-tech/agenthood★ 3same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
The file
Files
PostgreSQL Expert Skills
This skill provides comprehensive PostgreSQL expertise through specialized references. Load the appropriate reference based on the task.
Available References
Existing Databases
- schema-exploration — Read-only, question-driven exploration of schemas, tables, views, routines, triggers, RLS, and extensions using
pg_catalog. Use to understand an existing database before designing changes or writing queries.
Table Design
- design-postgres-tables — Data types, constraints, indexes, JSONB patterns, partitioning, and PostgreSQL best practices. Use for any general table/schema design task.
- design-postgis-tables — PostGIS spatial table design: geometry vs geography types, SRIDs, spatial indexing, and location-based query patterns. Use when the task involves geographic or spatial data.
Search
- pgvector-semantic-search — Vector similarity search with pgvector: HNSW/IVFFlat indexes, halfvec storage, quantization, filtered search, and tuning. Use for embeddings, RAG, or semantic search.
- postgres-hybrid-text-search — Hybrid search combining BM25 keyword search with pgvector semantic search using RRF. Use when combining keyword and meaning-based search.
TimescaleDB
- setup-timescaledb-hypertables — Hypertable creation, compression, retention policies, continuous aggregates, and indexes. Use when setting up TimescaleDB from scratch.
- find-hypertable-candidates — SQL queries to analyze existing tables and score them for hypertable conversion. Use when evaluating which tables to migrate.
- migrate-postgres-tables-to-hypertables — Step-by-step migration: partition column selection, in-place vs blue-green, validation. Use when executing a migration.
Migrations
- postgres-database-migration — DDL lock reference, safe migration patterns, timeout strategies, rollback planning, and fork-based testing. Use when planning or executing schema changes on production databases.
How to Use
- Identify which reference matches the user's task from the descriptions above.
- Load the reference file to get detailed instructions and SQL patterns.
- For tasks spanning multiple areas (e.g., "design a table with vector search"), load multiple references as needed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

