redis/redisctl-database-connect
Connect to Redis databases using the redisctl CLI. Use when opening redis-cli sessions, managing connection profiles, or working with multiple Redis clusters.
npx skills add https://github.com/redis/redisctl --skill redisctl-database-connect
Connect to Redis databases using profile-based credential management. Supports direct Redis connections, Cloud databases, and Enterprise databases.
# Open redis-cli using the default database profile
redisctl db open
# Open redis-cli with a specific profile
redisctl db open --profile my-redis
# Local Redis
redisctl profile set local --type database --url "redis://localhost:6379"
# Redis with password
redisctl profile set staging --type database --url "redis://:password@host:6379"
# Redis with TLS
redisctl profile set prod --type database --url "rediss://host:6380"
# Set as default
redisctl profile default-database local
Create profiles for each environment:
redisctl profile set dev-redis --type database --url "redis://dev:6379"
redisctl profile set staging-redis --type database --url "rediss://staging:6380"
redisctl profile set prod-redis --type database --url "rediss://prod:6380"
Switch between them:
# Connect to dev
redisctl db open --profile dev-redis
# Connect to staging
redisctl db open --profile staging-redis
For operations not covered by specific commands:
# Cloud API
redisctl api cloud GET /subscriptions
redisctl api cloud POST /subscriptions/12345/databases --data '{...}'
# Enterprise API
redisctl api enterprise GET /v1/bdbs
redisctl api enterprise PUT /v1/bdbs/1 --data '{...}'
redis://[user:password@]host[:port][/db]rediss:// (double s) for TLS connections--url "redis://:${REDIS_PASSWORD}@host:6379"redisctl profile validate to test all profile connectionsTake redis/redisctl-database-connect from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.