find-hypertable-candidates
find-hypertable-candidates is a skill in timescale/pg-aiguide, last changed 7 Apr 2026. It is instructions only: no scripts, no named hosts and no pre-approved tools. Our pattern check flagged nothing at commit 5d3b76b on 27 Oct 2026.
Pattern check: nothing flagged · commit 5d3b76b · 27 Oct 2026
InstallUse 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 or event tables in an existing schema - Evaluate if a table would benefit from Timescale/TimescaleDB - Audit PostgreSQL tables for migration to Timescale/TimescaleDB/TigerData - Score or rank tables for hypertable candidacy **Keywords:** hypertable candidate, table analysis, migration assessment, Timescale, TimescaleDB, time-series detection, insert-heavy tables, event logs, audit tables Provides SQL queries to analyze table statistics, index patterns, and query patterns. Includes scoring criteria (8+ points = good candidate) and pattern recognition for IoT, events, transactions, and sequential data.
- Licence
- Apache 2.0
- Repo stars
- 1.9k
- Folder last changed
- 7 Apr 2026 (opens in a new tab)
- Publisher
- timescale
- Files
- 1 file
- Checked
- 5d3b76b (opens in a new tab) · 27 Oct 2026
Install
Each tab says whether it installs commit 5d3b76b, the one we checked, or the latest version.
No tab for your agent? Use Any agent for OpenCode, Goose, Windsurf (Devin Desktop), Zed, Roo Code, Factory Droid, Junie, Amp and Antigravity, and Claude Code for Cline. Kiro needs the folder copied by hand.
Pinned to commit 5d3b76b, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/timescale/pg-aiguide.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 5d3b76b5c986693b30753828b404aa66ba34c31a &&
git -C "$tmp" sparse-checkout set -- skills/find-hypertable-candidates &&
git -C "$tmp" checkout -q 5d3b76b5c986693b30753828b404aa66ba34c31a &&
mkdir -p .claude/skills &&
mkdir .claude/skills/find-hypertable-candidates &&
cp -R "$tmp"/skills/find-hypertable-candidates/. .claude/skills/find-hypertable-candidates/ &&
rm -rf "$tmp"If Claude Code was already running and this created the skills folder, run /reload-skills.
Or install the pg plugin it ships in. Installs the latest version, not the one we checked. Installs everything in the plugin, including any hooks, MCP servers and scripts our check doesn't cover.
claude plugin marketplace add timescale/pg-aiguide --scope project &&
claude plugin install pg@aiguide --scope projectPinned to commit 5d3b76b, the one we checked.
Skills in the Claude apps belong to your account rather than to a project.
Make find-hypertable-candidates.zip, with the skill folder at the top level:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/timescale/pg-aiguide.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 5d3b76b5c986693b30753828b404aa66ba34c31a &&
git -C "$tmp" sparse-checkout set -- skills/find-hypertable-candidates &&
git -C "$tmp" checkout -q 5d3b76b5c986693b30753828b404aa66ba34c31a &&
out="$(mktemp -d)" &&
cp -R "$tmp"/skills/find-hypertable-candidates "$out"/find-hypertable-candidates &&
(cd "$out" && zip -qr - find-hypertable-candidates) > find-hypertable-candidates.zip &&
rm -rf "$tmp" "$out"In Claude, open Customize > Skills, select +, then + Create skill > Upload a skill, and choose find-hypertable-candidates.zip.
On Free, Pro and Max plans, turn on Code execution and file creation (Create and edit files in newer settings) under Settings > Capabilities.
Pinned to commit 5d3b76b, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/timescale/pg-aiguide.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 5d3b76b5c986693b30753828b404aa66ba34c31a &&
git -C "$tmp" sparse-checkout set -- skills/find-hypertable-candidates &&
git -C "$tmp" checkout -q 5d3b76b5c986693b30753828b404aa66ba34c31a &&
mkdir -p .agents/skills &&
mkdir .agents/skills/find-hypertable-candidates &&
cp -R "$tmp"/skills/find-hypertable-candidates/. .agents/skills/find-hypertable-candidates/ &&
rm -rf "$tmp"Codex picks up new skills on its own; restart it if this one does not appear.
Pinned to commit 5d3b76b, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/timescale/pg-aiguide.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 5d3b76b5c986693b30753828b404aa66ba34c31a &&
git -C "$tmp" sparse-checkout set -- skills/find-hypertable-candidates &&
git -C "$tmp" checkout -q 5d3b76b5c986693b30753828b404aa66ba34c31a &&
mkdir -p .cursor/skills &&
mkdir .cursor/skills/find-hypertable-candidates &&
cp -R "$tmp"/skills/find-hypertable-candidates/. .cursor/skills/find-hypertable-candidates/ &&
rm -rf "$tmp"Pinned to commit 5d3b76b, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/timescale/pg-aiguide.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 5d3b76b5c986693b30753828b404aa66ba34c31a &&
git -C "$tmp" sparse-checkout set -- skills/find-hypertable-candidates &&
git -C "$tmp" checkout -q 5d3b76b5c986693b30753828b404aa66ba34c31a &&
mkdir -p .github/skills &&
mkdir .github/skills/find-hypertable-candidates &&
cp -R "$tmp"/skills/find-hypertable-candidates/. .github/skills/find-hypertable-candidates/ &&
rm -rf "$tmp"In a running Copilot CLI session, run /skills reload.
Or install it with gh skill, which also installs the commit we checked. Needs GitHub CLI 2.90 or later.
gh skill install timescale/pg-aiguide skills/find-hypertable-candidates/SKILL.md@5d3b76b5c986693b30753828b404aa66ba34c31a --agent github-copilot --scope projectPinned to commit 5d3b76b, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/timescale/pg-aiguide.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 5d3b76b5c986693b30753828b404aa66ba34c31a &&
git -C "$tmp" sparse-checkout set -- skills/find-hypertable-candidates &&
git -C "$tmp" checkout -q 5d3b76b5c986693b30753828b404aa66ba34c31a &&
mkdir -p .gemini/skills &&
mkdir .gemini/skills/find-hypertable-candidates &&
cp -R "$tmp"/skills/find-hypertable-candidates/. .gemini/skills/find-hypertable-candidates/ &&
rm -rf "$tmp"In a running session, run /skills reload.
Or use Gemini CLI’s own installer. Installs the latest version, not the one we checked.
gemini skills install https://github.com/timescale/pg-aiguide.git --path skills/find-hypertable-candidates --scope workspacePinned to commit 5d3b76b, the one we checked.
Codex, Cursor, Copilot, VS Code, Gemini CLI, OpenCode, Goose, Amp and Zed all read .agents/skills; Claude Code and Kiro list only their own folders.
From your project's root folder:
tmp="$(mktemp -d)" &&
git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/timescale/pg-aiguide.git "$tmp" &&
git -C "$tmp" fetch -q --depth 1 origin 5d3b76b5c986693b30753828b404aa66ba34c31a &&
git -C "$tmp" sparse-checkout set -- skills/find-hypertable-candidates &&
git -C "$tmp" checkout -q 5d3b76b5c986693b30753828b404aa66ba34c31a &&
mkdir -p .agents/skills &&
mkdir .agents/skills/find-hypertable-candidates &&
cp -R "$tmp"/skills/find-hypertable-candidates/. .agents/skills/find-hypertable-candidates/ &&
rm -rf "$tmp"Or use the skills CLI from skills.sh. Installs the latest version, not the one we checked. The skills CLI reports installs to skills.sh unless you set DISABLE_TELEMETRY=1.
npx skills@1.7.4 add timescale/pg-aiguide --skill find-hypertable-candidatesWhat it can touch
From the files and frontmatter at commit 5d3b76b. This is how much a skill can do, not whether it is risky.
What it can touch: Instructions only
It is instructions only: no scripts, no named hosts and no pre-approved tools.
Pattern check
Pattern check: nothing flagged · commit 5d3b76b · 27 Oct 2026
We checked every text file in this skill, at commit 5d3b76b on 27 Oct 2026, against 45 published patterns such as download-and-run commands, hidden text and credential access. We don't run the skill, we don't read the web pages it points to, and we can't judge everything its instructions might lead an agent to do. In published tests, pattern checks like this one missed most malicious skills. Read the skill before you install it — especially anything it asks you to download or run.
Format check
Each agent reads SKILL.md a little differently. We check the file against each one's published rules; we don't run the skill in any agent.
- Agent Skills specPasses
- Claude CodePasses
Claude apps & API uploadPasses
Uploading to claude.ai or the Claude API, or packaging with Anthropic's script, accepts only the six spec fields and stops on anything else.
- Note
The description is 869 characters. The claude.ai Help Center says 200 at most, though Anthropic's API docs and validator allow 1,024. D4
Fix: If the claude.ai upload refuses it, trim the description to 200 characters.
- Note
- OpenAI (Codex & API)Passes
- VS Code & CopilotPasses
SKILL.md
Files
1 file
| Path | Size |
|---|---|
| SKILL.md (opens in a new tab) | 10.3 KB |
More from timescale/pg-aiguide
design-postgis-tables
timescale/pg-aiguide
Comprehensive PostGIS spatial table design reference covering geometry types, coordinate systems, spatial indexing, and performance patterns for location-based applications
- Runs shell commands
Pattern check: Nothing flaggedApache 2.0 · 1.9k repo stars · Updated 7 Apr 2026
design-postgres-tables
timescale/pg-aiguide
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 - Create user tables, order tables, reference tables, or JSONB schemas - Understand PostgreSQL best practices for normalization, constraints, or indexing - Design update-heavy, upsert-heavy, or OLTP-style tables **Keywords:** PostgreSQL schema, table design, data types, PRIMARY KEY, FOREIGN KEY, indexes, B-tree, GIN, JSONB, constraints, normalization, identity columns, partitioning, row-level security Comprehensive reference covering data types, indexing strategies, constraints, JSONB patterns, partitioning, and PostgreSQL-specific best practices.
- Instructions only
Pattern check: Nothing flaggedApache 2.0 · 1.9k repo stars · Updated 7 Apr 2026
migrate-postgres-tables-to-hypertables
timescale/pg-aiguide
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 minimal downtime - Plan blue-green migration for large tables - Validate hypertable migration success - Configure compression after migration **Prerequisites:** Tables already identified as candidates (use find-hypertable-candidates first if needed) **Keywords:** migrate to hypertable, convert table, Timescale, TimescaleDB, blue-green migration, in-place conversion, create_hypertable, migration validation, compression setup Step-by-step migration planning including: partition column selection, chunk interval calculation, PK/constraint handling, migration execution (in-place vs blue-green), and performance validation queries.
- Instructions only
Pattern check: Nothing flaggedApache 2.0 · 1.9k repo stars · Updated 7 Apr 2026
pgvector-semantic-search
timescale/pg-aiguide
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 nearest neighbor search - Create HNSW or IVFFlat indexes for vectors - Implement RAG (Retrieval Augmented Generation) with PostgreSQL - Optimize pgvector performance, recall, or memory usage - Use binary quantization for large vector datasets **Keywords:** pgvector, embeddings, semantic search, vector similarity, HNSW, IVFFlat, halfvec, cosine distance, nearest neighbor, RAG, LLM, AI search Covers: halfvec storage, HNSW index configuration (m, ef_construction, ef_search), quantization strategies, filtered search, bulk loading, and performance tuning.
- Names web addresses
Pattern check: Nothing flaggedApache 2.0 · 1.9k repo stars · Updated 7 Apr 2026
postgres
timescale/pg-aiguide
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 objects and relationships - Design or modify PostgreSQL tables, schemas, or data models - Choose data types, constraints, indexes, or partitioning strategies - Work with pgvector embeddings, semantic search, or RAG - Set up full-text search, hybrid search, or BM25 ranking - Use PostGIS for spatial/geographic data - Set up TimescaleDB hypertables for time-series data - Migrate tables to hypertables or evaluate migration candidates - Plan or execute safe schema migrations with zero downtime **Keywords:** PostgreSQL, Postgres, SQL, schema, table design, indexes, constraints, pgvector, PostGIS, TimescaleDB, hypertable, semantic search, hybrid search, BM25, time-series, migration
- Instructions only
Pattern check: 1 item to reviewApache 2.0 · 1.9k repo stars · Updated 25 Sept 2026
postgres-database-migration
timescale/pg-aiguide
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, remove, or rename columns safely on a live table - Change a column's data type without downtime - Add or drop indexes, constraints, or foreign keys on large tables - Understand which ALTER TABLE operations lock the table - Roll back a failed migration - Plan a zero-downtime migration strategy - Fork a database to test a migration safely **Keywords:** migration, schema change, ALTER TABLE, add column, drop column, rename column, change type, zero downtime, lock, AccessExclusiveLock, concurrent index, forking, rollback, backfill, deploy Covers: lock-level reference for every common DDL operation, safe migration patterns, fork-based testing, zero-downtime column changes, index creation, constraint addition, backfill strategies, pre/post-migration validation, and rollback planning.
- Runs shell commands
- Names web addresses
Pattern check: Nothing flaggedApache 2.0 · 1.9k repo stars · Updated 4 Sept 2026