Skip to content

Redis

CategoryDatabases
CLIredis-cli
AuthBasic (password, if configured)
ConfigREDIS_HOST, REDIS_PORT (optional)

Wraps redis-cli to give CodeBuddy access to Redis instances. The agent can get/set keys, inspect data structures, monitor performance, and manage cluster state.

Install redis-cli:

Terminal window
# macOS
brew install redis
# Linux (Debian/Ubuntu)
sudo apt-get install redis-tools
# Linux (Fedora)
sudo dnf install redis
# Windows
winget install Redis.Redis

The skill includes a bundled install.sh for automated setup.

Optionally configure connection:

Terminal window
export REDIS_HOST="localhost"
export REDIS_PORT="6379"
  • Keys — GET, SET, DEL, KEYS, SCAN, TTL, EXPIRE
  • Data structures — lists, sets, hashes, sorted sets, streams
  • Pub/Sub — publish, subscribe, channels
  • Admin — INFO, CONFIG, DBSIZE, FLUSHDB, MONITOR
  • Cluster — cluster info, nodes, slots
  • “Show all keys matching session:*
  • “What’s the memory usage of this Redis instance?”
  • “Set a 1-hour TTL on all keys matching cache:*
  • “Show the members of the active_users sorted set”