
Description
redshift-guide is an agent skill that corrects AI assistants when they write Amazon Redshift SQL as if it were PostgreSQL. Redshift speaks the PostgreSQL wire protocol and shares much of its syntax, so models often assume PostgreSQL behaviour carries over, and it frequently does not. The skill lists the common divergences. System tables differ because pg_catalog is incomplete. DDL has no indexes and no sequences. Some functions behave differently, such as string_agg, SUBSTR on tables, and functions that run only on the leader node. Types differ too: a text column becomes VARCHAR(256). Comparison rules also differ for trailing blanks and unenforced constraints. The agent is told to assume divergence and check the reference file before answering. The skill starts by establishing whether the cluster is Serverless or Provisioned, because the commands differ.…
Highlights
- Corrects PostgreSQL assumptions in Redshift SQL
- Lists system table, DDL and type divergences
- Establishes whether the cluster is Serverless or Provisioned first
- Runs through the AWS CLI and Redshift Data API
Ratings & Reviews
No ratings yet
Be the first to rate redshift-guide.
People also visit
redshift-guide FAQ
Is Redshift just PostgreSQL?
No. Redshift shares PostgreSQL's wire protocol and much of its syntax, but it differs in system tables, DDL, functions, types and comparison rules.
What are common differences?
There are no indexes or sequences, pg_catalog is incomplete, and a text column becomes VARCHAR(256).
How do I install it?
Run npx skills add https://github.com/aws/agent-toolkit-for-aws --skill redshift-guide in a terminal.
Which security audits has it passed?
Gen Agent Trust Hub Pass, Socket Pass, Snyk Pass.
What are the best redshift-guide alternatives?
Popular alternatives to redshift-guide include migrating-to-amazon-redshift, amazon-aurora-postgresql and querying-aws-redshift. See all redshift-guide alternatives












