#564 by GitHub stars

timescale/pg-aiguide

MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.

History

Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.

View weekly changes

skills/design-postgis-tables/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Instructions only

First observation → 5d3b76b5c986

No earlier version was observed for comparison.

Compare on GitHub

skills/design-postgres-tables/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Instructions only

First observation → 5d3b76b5c986

No earlier version was observed for comparison.

Compare on GitHub

skills/find-hypertable-candidates/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → 5d3b76b5c986

No earlier version was observed for comparison.

Compare on GitHub

skills/migrate-postgres-tables-to-hypertables/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Instructions only

First observation → 5d3b76b5c986

No earlier version was observed for comparison.

Compare on GitHub

skills/pgvector-semantic-search/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Instructions only

First observation → 5d3b76b5c986

No earlier version was observed for comparison.

Compare on GitHub

skills/postgres/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Instructions only

First observation → 5d3b76b5c986

No earlier version was observed for comparison.

Compare on GitHub

skills/postgres-database-migration/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → 5d3b76b5c986

No earlier version was observed for comparison.

Compare on GitHub

skills/postgres-hybrid-text-search/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → 5d3b76b5c986

No earlier version was observed for comparison.

Compare on GitHub

skills/schema-exploration/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → 5d3b76b5c986

No earlier version was observed for comparison.

Compare on GitHub

skills/setup-timescaledb-hypertables/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Instructions only

First observation → 5d3b76b5c986

No earlier version was observed for comparison.

Compare on GitHub

skills/timescaledb-hyperfunctions/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Instructions only

First observation → 5d3b76b5c986

No earlier version was observed for comparison.

Compare on GitHub

View on GitHubAdd to my skills

Verified commit 5d3b76b5c986693b30753828b404aa66ba34c31a

git clone --filter=blob:none --no-checkout https://github.com/timescale/pg-aiguide.git .hotskills/timescale-pg-aiguide && git -C .hotskills/timescale-pg-aiguide checkout --detach 5d3b76b5c986693b30753828b404aa66ba34c31a # Copy each selected skill directory from .hotskills/timescale-pg-aiguide into .claude/skills/<skill-name>/
1.9kGitHub stars
5stars in 7 days
11skills in this repository
4commits in 30 days

Heat

5.1
  • Star growth, last 7 daysAhead of 60% of tracked repositories
  • Star growth, last 24 hoursAhead of 83% of tracked repositories
  • Rank movement, last 7 daysAhead of 23% of tracked repositories
  • Commits, last 30 daysAhead of 67% of tracked repositories
  • Accounts asking about it through MCP, last 7 daysNot available
  • Hot votes this weekAhead of 0% of tracked repositories

Heat never changes the order by stars, and sponsorship never touches it. How heat works

Stars over time

Aug 2, 2026Nov 6, 20261,884

Individual skills in this repository

How it works

design-postgis-tables

When your agent uses it

Comprehensive PostGIS spatial table design reference covering geometry types, coordinate systems, spatial indexing, and performance patterns for location-based applications

What it loads into context

Frontmatter

65 tokens

Always available to the agent

SKILL.md

4,160 tokens

When the skill is activated

Reference documents

0 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. Before You Start (5 Questions)
  2. Core Rules
  3. Geometry vs Geography
  4. Geometry Types
  5. Coordinate Systems (SRID)
  6. Spatial Indexing
  7. Table Design Examples
  8. Performance Patterns
  9. Data Validation
  10. Do Not Use
  11. Common Pitfalls

Files

  • ../../.claude-plugin/marketplace.jsonasset1,260 bytes
  • SKILL.mdcore16,924 bytes
Read SKILL.md

# PostGIS Spatial Table Design

## Before You Start (5 Questions)

1. What is the geographic scope (single city/region vs global)?
2. What are your primary query patterns (within-radius, bbox, intersects, nearest-neighbor)?
3. What units do you need for distance/area (meters vs CRS units), and how accurate must they be?
4. What is the expected scale (rows, write rate), and is the data mostly append-only?
5. Do you need 3D (Z) or measures (M), or is 2D enough?

**SQL injection note:** When turning these patterns into application code, use parameterized queries for user-provided values (WKT/WKB, coordinates, IDs, radii). Avoid string-concatenating untrusted input into SQL; for dynamic identifiers, use safe identifier quoting/whitelisting.

## Core Rules
View the complete source on GitHub

Skills included

  • design-postgis-tables
  • design-postgres-tables
  • find-hypertable-candidates
  • migrate-postgres-tables-to-hypertables
  • pgvector-semantic-search
  • postgres
  • postgres-database-migration
  • postgres-hybrid-text-search
  • schema-exploration
  • setup-timescaledb-hypertables
  • timescaledb-hyperfunctions

Repository facts

License
Apache-2.0
Created
Jul 23, 2025
Last pushed
Nov 3, 2026
Forks
121
Open issues
6
Project activity
Active

Rank over the last 12 weeks

Now #564 · best #399 · down 92 in 30 days

  1. #553 on Nov 1
  2. #556 on Nov 2
  3. #559 on Nov 3
  4. #561 on Nov 4
  5. #562 on Nov 5
  6. #564 since Nov 6
51 earlier periods
  1. #377 on Aug 2
  2. #394 on Aug 6
  3. #388 on Aug 9
  4. #401 on Aug 10
  5. #398 on Aug 12
  6. #402 on Aug 13
  7. #399 on Aug 15
  8. #408 on Aug 17
  9. #416 on Aug 19
  10. #412 on Aug 20
  11. #416 on Aug 21
  12. #419 from Aug 23 to Aug 24
  13. #424 on Aug 25
  14. #421 on Aug 26
  15. #428 on Aug 27
  16. #417 on Aug 30
  17. #431 on Aug 31
  18. #437 on Sep 1
  19. #428 on Sep 2
  20. #432 on Sep 3
  21. #420 on Sep 4
  22. #427 on Sep 6
  23. #448 on Sep 15
  24. #454 on Sep 16
  25. #448 on Sep 17
  26. #455 on Sep 18
  27. #460 on Sep 22
  28. #454 on Sep 23
  29. #446 on Sep 25
  30. #440 on Sep 26
  31. #456 on Sep 27
  32. #463 on Sep 28
  33. #465 on Sep 30
  34. #463 on Oct 1
  35. #459 on Oct 2
  36. #457 on Oct 5
  37. #472 on Oct 7
  38. #484 on Oct 8
  39. #480 on Oct 10
  40. #495 on Oct 12
  41. #490 on Oct 13
  42. #494 on Oct 14
  43. #500 on Oct 16
  44. #486 on Oct 17
  45. #506 on Oct 19
  46. #515 on Oct 21
  47. #502 on Oct 23
  48. #536 on Oct 25
  49. #542 on Oct 28
  50. #549 on Oct 29
  51. #551 from Oct 30 to Oct 31

Before you install

Network or broad shell

Automated signals, not a guarantee

Checked Nov 3, 2026

Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.

Show 9 notes
  • skills/find-hypertable-candidates/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/find-hypertable-candidates/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/postgres-database-migration/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/postgres-database-migration/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/postgres-hybrid-text-search/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/postgres-hybrid-text-search/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/postgres-hybrid-text-search/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/postgres-hybrid-text-search/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/schema-exploration/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
Show all 33 signals by file

.claude-plugin/marketplace.json

  • Network accessline 3
    "owner": {     "name": "TigerData",     "url": "https://tigerdata.com",
  • Network accessline 4
    "name": "TigerData",     "url": "https://tigerdata.com",     "email": "support@tigerdata.com"
  • Network accessline 5
    "url": "https://tigerdata.com",
  • Network accessline 19
    "author": {         "name": "TigerData",         "url": "https://tigerdata.com"
  • Network accessline 20
    "name": "TigerData",         "url": "https://tigerdata.com"       },
  • Network accessline 21
    "url": "https://tigerdata.com"
  • Network accessline 22
    },       "homepage": "https://tigerdata.com",       "repository": "https://github.com/timescale/pg-aiguide",
  • Network accessline 23
    "homepage": "https://tigerdata.com",
  • Network accessline 24
    "repository": "https://github.com/timescale/pg-aiguide",
  • Network accessline 40
    "pg-aiguide": {           "type": "http",           "url": "https://mcp.tigerdata.com/docs?disable_mcp_skills=1"
  • Network accessline 41
    "type": "http",           "url": "https://mcp.tigerdata.com/docs?disable_mcp_skills=1"         }
  • Network accessline 42
    "url": "https://mcp.tigerdata.com/docs?disable_mcp_skills=1"

skills/pgvector-semantic-search/SKILL.md

  • Network accessline 76
    For other distance operators (L2, inner product, etc.), see the [pgvector README](https://github.com/pgvector/pgvector).
  • Network accessline 285
    For large datasets with label-based filters, [pgvectorscale](https://github.com/timescale/pgvectorscale)'s StreamingDiskANN index supports filtered indexes on `smallint[]` columns. Labels are indexed alongside vectors, enabling efficient fi

skills/postgres-database-migration/SKILL.md

  • Network accessline 431
    The safest way to test a migration is to run it against a copy of your actual database — same schema, same data, same edge cases. Providers such as [Neon](https://neon.tech) support fast database forking. Without database forking, you need 
  • Network accessline 448
    **Limitation:** fork-based testing runs your migration in isolation — it won't catch issues caused by concurrent database traffic (e.g., lock contention under load, deadlocks with concurrent writes, or replication lag from heavy WAL generat

skills/postgres-hybrid-text-search/SKILL.md

  • Network accessline 27
    This guide covers combining [pg_textsearch](https://github.com/timescale/pg_textsearch) (BM25) with [pgvector](https://github.com/pgvector/pgvector). Requires both extensions. For high-volume setups, filtering, or advanced pgvector tuning (
  • Network accessline 66
    - **Negative scores**: The `<@>` operator returns negative values where lower = better match. RRF uses rank position, so this doesn't affect fusion. - **Language config**: Change `text_config` to match your content language (e.g., `'french'
  • Network accessline 67
    - **Language config**: Change `text_config` to match your content language (e.g., `'french'`, `'german'`). See [PostgreSQL text search configurations](https://www.postgresql.org/docs/current/textsearch-configuration.html).
  • Access to secretsline 206
    [Credential-related source omitted]
  • Network accessline 230
    For large datasets (10M+ vectors) or workloads with selective metadata filters, consider [pgvectorscale](https://github.com/timescale/pgvectorscale)'s StreamingDiskANN index instead of HNSW for the semantic search component.
  • Network accessline 263
    See the [pgvectorscale documentation](https://github.com/timescale/pgvectorscale) for more details on filtered indexes and tuning parameters.

skills/postgres/references/pgvector-semantic-search.md

  • Network accessline 76
    For other distance operators (L2, inner product, etc.), see the [pgvector README](https://github.com/pgvector/pgvector).
  • Network accessline 285
    For large datasets with label-based filters, [pgvectorscale](https://github.com/timescale/pgvectorscale)'s StreamingDiskANN index supports filtered indexes on `smallint[]` columns. Labels are indexed alongside vectors, enabling efficient fi

skills/postgres/references/postgres-database-migration.md

  • Network accessline 431
    The safest way to test a migration is to run it against a copy of your actual database — same schema, same data, same edge cases. Providers such as [Neon](https://neon.tech) support fast database forking. Without database forking, you need 
  • Network accessline 448
    **Limitation:** fork-based testing runs your migration in isolation — it won't catch issues caused by concurrent database traffic (e.g., lock contention under load, deadlocks with concurrent writes, or replication lag from heavy WAL generat

skills/postgres/references/postgres-hybrid-text-search.md

  • Network accessline 27
    This guide covers combining [pg_textsearch](https://github.com/timescale/pg_textsearch) (BM25) with [pgvector](https://github.com/pgvector/pgvector). Requires both extensions. For high-volume setups, filtering, or advanced pgvector tuning (
  • Network accessline 66
    - **Negative scores**: The `<@>` operator returns negative values where lower = better match. RRF uses rank position, so this doesn't affect fusion. - **Language config**: Change `text_config` to match your content language (e.g., `'french'
  • Network accessline 67
    - **Language config**: Change `text_config` to match your content language (e.g., `'french'`, `'german'`). See [PostgreSQL text search configurations](https://www.postgresql.org/docs/current/textsearch-configuration.html).
  • Access to secretsline 206
    [Credential-related source omitted]
  • Network accessline 230
    For large datasets (10M+ vectors) or workloads with selective metadata filters, consider [pgvectorscale](https://github.com/timescale/pgvectorscale)'s StreamingDiskANN index instead of HNSW for the semantic search component.
  • Network accessline 263
    See the [pgvectorscale documentation](https://github.com/timescale/pgvectorscale) for more details on filtered indexes and tuning parameters.

skills/timescaledb-hyperfunctions/SKILL.md

  • Network accessline 374
    Use the `search_docs` tool with source `tiger` (for example "hyperfunctions counter_agg") for full signatures and newer functions. Source: https://github.com/timescale/timescaledb-toolkit

How the signals fit together

Facts from a static read of the files at the pinned commit. They describe what the code does, not why.

Some files could not be read; the facts below still hold.

No combined signals at this commit.

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeNativeManifest .claude-plugin/marketplace.json.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md skills/design-postgis-tables/SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md skills/design-postgis-tables/SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md skills/design-postgis-tables/SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md skills/design-postgis-tables/SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard SKILL.md skills/design-postgis-tables/SKILL.md.opencode/skills/<skill-name>/
  • Native The repository ships a manifest, folder or frontmatter field for this agent.
  • Compatible A standard SKILL.md that this agent can read.
  • Unknown No evidence either way.

Derived automatically from paths, manifests and frontmatter. Not tested on each agent.

Explore alternatives and comparisons

Add this badge to your README

It updates every night and links to this page.

timescale/pg-aiguide: #564 on hotskills, 1.9k stars

[![timescale/pg-aiguide on hotskills](https://hotskills.dev/badge/timescale-pg-aiguide.svg)](https://hotskills.dev/skill/timescale-pg-aiguide/)