redshift-connection
FreeNo executable scriptsNot checkedConnect to a source Redshift database for migration to Snowflake using scai CLI. Triggers: redshift, source connection, source database, connect to redshift…
by sfc-gh-dflippo★ 35 GitHub starsAbout this skill
Redshift Connection Skill
On Entry
Tell the user:
Setting up Redshift connection — I'll configure and test a connection to your source Redshift cluster. I'll need some connection details from you shortly.
Prerequisites
- Network access to the Redshift cluster or serverless endpoint
- For IAM auth: AWS credentials (access key ID + secret access key)
- For standard auth: Redshift username and password
- The
scaiCLI installed and available
Required Connection Details
IAM Provisioned Cluster (Recommended)
| Parameter | Required | Description |
|---|---|---|
-c, --connection |
Yes | Friendly name for this connection |
--auth |
Yes | iam-provisioned-cluster |
--cluster-id |
Yes | Redshift cluster identifier |
--database |
Yes | Database name to connect to |
--region |
Yes | AWS region (e.g., us-west-2) |
--user |
Yes | Redshift database user |
--access-key-id |
Yes | AWS Access Key ID |
--secret-access-key |
Yes | AWS Secret Access Key |
IAM Serverless
| Parameter | Required | Description |
|---|---|---|
-c, --connection |
Yes | Friendly name for this connection |
--auth |
Yes | iam-serverless |
--workgroup |
Yes | Redshift Serverless workgroup name |
--database |
Yes | Database name to connect to |
--region |
Yes | AWS region (e.g., us-west-2) |
--access-key-id |
Yes | AWS Access Key ID |
--secret-access-key |
Yes | AWS Secret Access Key |
Standard Auth
| Parameter | Required | Description |
|---|---|---|
-c, --connection |
Yes | Friendly name for this connection |
--auth |
Yes | standard |
--host |
Yes | Redshift endpoint hostname |
--port |
No | Port number (default: 5439) |
--database |
Yes | Database name to connect to |
--user |
Yes | Redshift username |
--password |
Yes | Redshift password |
Workflow
Step 1: Ask How to Provide Credentials
Ask the user:
"I need the following to connect to Redshift:
- Cluster ID or Workgroup (depending on auth method)
- Database name
- AWS credentials (for IAM auth) or username/password (for standard auth)
How would you like to provide these?"
Options:
- 1Password - Credentials stored in 1Password vault
- Enter manually - Provide values interactively
Step 2: Route Based on Answer
| User says | Action |
|---|---|
| "1Password" | Follow ../1PASSWORD.md (Redshift section) |
| "Enter manually" | Proceed to Step 3 (manual entry) |
| Other credential manager | Check if ../references/<NAME>.md exists; if not, ask user to explain their setup |
Step 3: Add the Connection (Manual Entry)
Interactive mode (recommended):
scai connection add-redshift
IAM Provisioned Cluster (inline):
scai connection add-redshift \
-c <CONNECTION_NAME> \
--auth iam-provisioned-cluster \
--user <USER> \
--cluster-id <CLUSTER_ID> \
--database <DATABASE> \
--region <REGION> \
--access-key-id <ACCESS_KEY_ID> \
--secret-access-key <SECRET_ACCESS_KEY>
IAM Serverless (inline):
scai connection add-redshift \
-c <CONNECTION_NAME> \
--auth iam-serverless \
--workgroup <WORKGROUP> \
--database <DATABASE> \
--region <REGION> \
--access-key-id <ACCESS_KEY_ID> \
--secret-access-key <SECRET_ACCESS_KEY>
Standard auth (inline):
scai connection add-redshift \
-c <CONNECTION_NAME> \
--auth standard \
--host <HOST> \
--port 5439 \
--database <DATABASE> \
--user <USERNAME> \
--password <PASSWORD>
Step 4: Save and Test Source Connection
Call the configure tool with source_connection set to <CONNECTION_NAME>. The MCP server runs scai connection test internally and only persists the connection if the test passes.
- On success: the response includes
connection_test: ok. - On failure: the tool returns an error containing the scai message. Surface it to the user, help them fix the issue, then re-run
configure(source_connection=<CONNECTION_NAME>). See./references/REFERENCE.mdfor detailed troubleshooting.
Common errors:
| Error | Cause | Solution |
|---|---|---|
Operation timed out |
Network/firewall issue | Check VPN, security groups, firewall rules |
database "X" does not exist |
Wrong database name | Verify database name on cluster |
IAM authentication failed |
Invalid AWS credentials | Check access key ID and secret |
CHECKPOINT
Confirm with user:
-
configurereturnedconnection_test: ok - Connection appears in
scai connection list -l redshift --json - Source connection saved to session config
On Completion
After the CHECKPOINT passes, tell the user:
Connection configured — Successfully connected to Redshift using connection
<connection_name>.
Then return to the calling skill.
Security Rules
- NEVER log or display secrets
Install redshift-connection in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the redshift-connection skill do?
Connect to a source Redshift database for migration to Snowflake using scai CLI. Triggers: redshift, source connection, source database, connect to redshift, add redshift connection.
How do I install the redshift-connection skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the redshift-connection skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic