Pg Aiguide skill for Codex
MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.
How to install Pg Aiguide in Codex
In Codex, ask the built-in skill installer for it:
$skill-installer install https://github.com/timescale/pg-aiguide/tree/main/skills/<skill>Type this in Codex and replace <skill> with a folder name from 'What it contains'. $skill-installer is the skill installer built into Codex, and it downloads the skill from GitHub. Restart Codex if the skill doesn't show up. Check the repo README for any setup it needs. Source: Codex skills docs.
Or copy the skill folder (the one with SKILL.md) into ~/.agents/skills to use it in every project, or into .agents/skills in a repo to share it with that repo. Codex picks up new skills automatically. (where Codex loads skills)
New Codex plugins every Tuesday, install line ready to copy.
Stacks Weekly is one short email from GrokStacks and CodexStacks. Subscribe and get the free starter list: 20 Codex plugins worth installing first.
Confirmation email first. Unsubscribe anytime.
What it contains
Skills (11)
design-postgis-tables— Comprehensive PostGIS spatial table design reference covering geometry types, coordinate systems, spatial indexing, and performance patterns for location-based applicationsdesign-postgres-tables— Use this skill for general PostgreSQL table design. **Trigger when user asks to:** - Design PostgreSQL tables, schemas, or data models when creating new tables and when modifying existing ones. - Choose data types, constraints, or indexes for PostgreSQL …find-hypertable-candidates— Use this skill to analyze an existing PostgreSQL database and identify which tables should be converted to Timescale/TimescaleDB hypertables. **Trigger when user asks to:** - Analyze database tables for hypertable conversion potential - Identify time-series…migrate-postgres-tables-to-hypertables— Use this skill to migrate identified PostgreSQL tables to Timescale/TimescaleDB hypertables with optimal configuration and validation. **Trigger when user asks to:** - Migrate or convert PostgreSQL tables to hypertables - Execute hypertable migration with…pgvector-semantic-search— Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. **Trigger when user asks to:** - Store or search vector embeddings in PostgreSQL - Set up semantic search, similarity search, or…postgres-database-migration— Use this skill for planning, testing, and safely executing PostgreSQL schema migrations — especially when working with production data or shared databases. **Trigger when user asks to:** - Test a schema migration before applying it to production - Add…postgres-hybrid-text-search— Use this skill to implement hybrid search combining BM25 keyword search with semantic vector search using Reciprocal Rank Fusion (RRF). **Trigger when user asks to:** - Combine keyword and semantic search - Implement hybrid search or multi-modal retrieval …postgres— Use this skill for any PostgreSQL database work — table design, indexing, data types, constraints, extensions (pgvector, PostGIS, TimescaleDB), search, and migrations. **Trigger when user asks to:** - Explore an existing PostgreSQL database to understand its…schema-exploration— Explore an existing PostgreSQL database before answering questions about its data or writing SQL. Use this skill whenever a user asks for a query or a data-backed answer against an unfamiliar schema (counts, missing or failed records, recent changes), asks…setup-timescaledb-hypertables— Use this skill when creating database schemas or tables for Timescale, TimescaleDB, TigerData, or Tiger Cloud, especially for time-series, IoT, metrics, events, or log data. Use this to improve the performance of any insert-heavy table. **Trigger when user…timescaledb-hyperfunctions— Use this skill when writing analytical SQL over time-series data with the TimescaleDB Toolkit (timescaledb_toolkit extension) hyperfunctions: approximate percentiles, statistical summaries, time-weighted averages, counter/gauge rates, uptime/heartbeat…
About this listing
Pg Aiguide is a community collection of agent skills on GitHub by timescale: folders with a SKILL.md file, the format Codex loads skills from. Its README mentions Codex. It passed the CodexStacks quality filter for skills (at least 100 stars, pushed in the last 90 days, not a fork or a list, and at least one SKILL.md with a name and description). OpenAI hasn't reviewed it, but it passed our Codex install check on Oct 29, 2026 (an install and load check, not a code review). From its files we found 11 skills. It's one of 32 listings in the Data & Analytics category (category assigned by CodexStacks from the repo's topics and description). It also appears in best Codex plugins for data and databases.
Pg Aiguide FAQ
How do I install Pg Aiguide in Codex?
In Codex, type $skill-installer install https://github.com/timescale/pg-aiguide/tree/main/skills/<skill>. $skill-installer is the skill installer built into Codex (Codex skills docs). Or copy the skill folder (the one with SKILL.md) into ~/.agents/skills to use it in every project, or into .agents/skills in a repo to share it with that repo. Codex picks up new skills automatically.
Is Pg Aiguide an official Codex skill?
No. Pg Aiguide is a community repo on GitHub by timescale. It passed the CodexStacks quality filter, but OpenAI hasn't reviewed it, but it passed our Codex install check on Oct 29, 2026 (an install and load check, not a code review), so read the code before you install it.
What does Pg Aiguide include?
From its manifest and repo files, Pg Aiguide includes 11 skills: design-postgis-tables, design-postgres-tables, find-hypertable-candidates, migrate-postgres-tables-to-hypertables, pgvector-semantic-search, postgres-database-migration….
Details
- Type
- Skill
- Category
- Data & Analytics (assigned by us)
- Source
- Community
- Author
- timescale
- License
- Apache-2.0
- GitHub stars
- 1,879 (at last sync)
- Last push
- 2026-10-28
- GitHub topics
- ai, ai-agents, ai-coding, claude-code-plugin, claude-code-plugins, claude-code-plugins-marketplace, claude-marketplace, claude-plugin, claude-skills, docs, documentation, mcp
- Source
- https://github.com/timescale/pg-aiguide
- Listed via
- GitHub search: Codex skills (SKILL.md)
- Install check by CodexStacks
- Passed on Oct 29, 2026 with Codex CLI 0.163.0: Codex loaded its skills. proof · how we check
Something wrong or missing? Submit or improve this listing. Listings also refresh automatically every night.
For maintainers: badge and embeds
Maintain Pg Aiguide? Add the badge; it links to this page.
Markdown
[](https://codexstacks.com/p/pg-aiguide/)HTML
<a href="https://codexstacks.com/p/pg-aiguide/"><img src="https://codexstacks.com/badge.svg" alt="Listed on CodexStacks" width="172" height="28"></a>Embed card (static HTML and inline CSS, no JavaScript). Preview:
<a href="https://codexstacks.com/p/pg-aiguide/" style="display:block;max-width:380px;box-sizing:border-box;padding:14px 16px;border:1px solid #3a2c26;border-radius:12px;background:#0d0b0a;color:#f3ece6;font:14px/1.45 -apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;text-decoration:none"><span style="display:block;font-size:16px;font-weight:700;color:#f3ece6">Pg Aiguide</span><span style="display:block;margin:2px 0 8px;font-size:12px;color:#b5a9a1">Community Codex skill · 11 skills</span><span style="display:block;margin:0 0 10px;color:#ddd3cc">MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL…</span><span style="font-size:12px;font-weight:600;color:#ffb347">View on CodexStacks →</span></a>Markdown summary
**[Pg Aiguide on CodexStacks](https://codexstacks.com/p/pg-aiguide/)**: Community Codex skill with 11 skills.More on badges, embeds and keeping your listing up to date: CodexStacks for plugin authors.
Also in Data & Analytics
Marketing Skills
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth
Genoffice
Free, open-source AI Office suite: Docs, Sheets, Slides, PDF, Markdown and HTML editors with a built-in AI agent, plus a `genoffice` CLI and agent skill so Claude Code, Codex and Cursor can create and edit real…
Visual Explainer
Agent skill that generates rich HTML pages or slide decks for diagrams, diff reviews, plan audits, data tables, and project recaps
Dashboard Icons
3,400+ curated icons and logos for dashboards and AI agents. SVG, PNG and WEBP on a free CDN, plus an MCP server for Claude Code, Codex, ChatGPT, Cursor, Hermes and OpenClaw.
Lieflat Charts
Data visualization Skill for AI Agents, turning data into polished, interactive HTML charts. 面向 AI Agents 的数据可视化 Skill,将数据快速生成精致、可交互的 HTML 图表。
Radar
The missing open-source Kubernetes UI with a built-in MCP server for AI agents. See what's broken, why, and what changed. Issues, Topology, event timeline, Helm, GitOps, live service traffic, and cluster audits - all…