·setup-timescaledb-hypertables
</>

setup-timescaledb-hypertables

timescale/pg-aiguide

Step-by-step instructions for designing table schemas and setting up TimescaleDB with hypertables, indexes, compression, retention policies, and continuous aggregates. Instructions for selecting: partition columns, segment_by columns, order_by columns, chunk time interval, real-time aggregation.

25Installs·1Trend·@timescale

Installation

$npx skills add https://github.com/timescale/pg-aiguide --skill setup-timescaledb-hypertables

SKILL.md

Instructions for insert-heavy data patterns where data is inserted but rarely changed:

Must be time-based (TIMESTAMP/TIMESTAMPTZ/DATE) or integer (INT/BIGINT) with good temporal/sequential distribution.

Less ideal: ingestedat (when data entered system - use only if it's your primary query dimension) Avoid: updatedat (breaks time ordering unless it's primary query dimension)

Step-by-step instructions for designing table schemas and setting up TimescaleDB with hypertables, indexes, compression, retention policies, and continuous aggregates. Instructions for selecting: partition columns, segment_by columns, order_by columns, chunk time interval, real-time aggregation. Source: timescale/pg-aiguide.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/timescale/pg-aiguide --skill setup-timescaledb-hypertables
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is setup-timescaledb-hypertables?

Step-by-step instructions for designing table schemas and setting up TimescaleDB with hypertables, indexes, compression, retention policies, and continuous aggregates. Instructions for selecting: partition columns, segment_by columns, order_by columns, chunk time interval, real-time aggregation. Source: timescale/pg-aiguide.

How do I install setup-timescaledb-hypertables?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/timescale/pg-aiguide --skill setup-timescaledb-hypertables Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/timescale/pg-aiguide