Install
openclaw skills install aws-redshift-skillsAWS Redshift interaction skill for managing Redshift Provisioned, Redshift Serverless, and executing SQL queries via the Redshift Data API. Manage clusters, workgroups, namespaces, snapshots, and run SQL statements. Use this skill when the user mentions Redshift, data warehouse, Redshift cluster, Redshift Serverless, workgroup, namespace, COPY, UNLOAD, Redshift query, Redshift Data API, or similar keywords.
openclaw skills install aws-redshift-skillsA Python skill for interacting with AWS Redshift across two deployment modes: Redshift Provisioned and Redshift Serverless, plus a shared Data API for SQL execution.
Invoke this skill when the user mentions:
"List Redshift clusters"
"Create a Redshift cluster"
"Pause my Redshift cluster"
"List Redshift Serverless workgroups"
"Create a namespace"
"Run a SQL query on Redshift"
"Execute COPY from S3 to Redshift"
"UNLOAD data to S3"
"Check query status"
"List tables in Redshift"
"Describe Redshift table columns"
"Resize my Redshift cluster"
Any request involving Redshift Provisioned clusters/snapshots, Redshift Serverless workgroups/namespaces, or Data API SQL execution.
Python 3.8+ with boto3>=1.26.0:
pip install boto3>=1.26.0
AWS credentials via boto3 default chain (env vars, config files, IAM roles).
Environment variables (all optional, validated at point of use):
export AWS_REGION="us-east-1"
# Redshift Provisioned
export REDSHIFT_CLUSTER_ID="my-cluster"
export REDSHIFT_DATABASE="dev"
export REDSHIFT_DB_USER="admin"
# Redshift Serverless
export REDSHIFT_WORKGROUP_NAME="my-workgroup"
export REDSHIFT_NAMESPACE_NAME="my-namespace"
# Shared
export REDSHIFT_IAM_ROLE_ARN="arn:aws:iam::123456789:role/redshift-role"
export REDSHIFT_S3_LOG_URI="s3://my-bucket/redshift-logs/"
export REDSHIFT_SECRET_ARN="arn:aws:secretsmanager:us-east-1:123456789:secret:my-secret"
Traditional Redshift provisioned clusters with dedicated compute nodes.
scripts/provisioned/redshift_provisioned_cli.py — 12 @tool functionsreferences/provisioned/cluster_guide.md — Cluster lifecycle, node types, resizereferences/provisioned/snapshot_guide.md — Snapshot create/restore/shareFully managed serverless data warehouse with automatic scaling.
scripts/serverless/redshift_serverless_cli.py — 9 @tool functionsreferences/serverless/workgroup_guide.md — Workgroup managementreferences/serverless/namespace_guide.md — Namespace managementSQL execution via the Data API. Works with both Provisioned and Serverless.
scripts/data_api/redshift_data_cli.py — 12 @tool functionsreferences/data_api/query_guide.md — SQL execution, COPY/UNLOAD| Script | Description |
|---|---|
scripts/provisioned/redshift_provisioned_cli.py | Redshift Provisioned @tool functions (12 tools) |
scripts/serverless/redshift_serverless_cli.py | Redshift Serverless @tool functions (9 tools) |
scripts/data_api/redshift_data_cli.py | Redshift Data API @tool functions (12 tools) |
scripts/config/redshift_config.py | Unified configuration management |
scripts/client/boto_client.py | boto3 client factory |
| Document | Description |
|---|---|
references/provisioned/cluster_guide.md | Redshift Provisioned cluster management guide |
references/provisioned/snapshot_guide.md | Redshift snapshot management guide |
references/serverless/workgroup_guide.md | Redshift Serverless workgroup management guide |
references/serverless/namespace_guide.md | Redshift Serverless namespace management guide |
references/data_api/query_guide.md | Redshift Data API SQL execution guide |
./tmp folder.sys.path.append(${redshift_skill_root})This skill connects to:
redshift.{region}.amazonaws.com)redshift-serverless.{region}.amazonaws.com)redshift-data.{region}.amazonaws.com)s3.{region}.amazonaws.com) — for COPY/UNLOAD operations