redis
name: redis
by bytesagain · published 2026-03-22
$ claw add gh:bytesagain/bytesagain-redis---
name: redis
version: "3.0.2"
author: BytesAgain
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
license: MIT-0
tags: [redis, tool, utility]
description: "Connect, query, and monitor Redis instances. Use when checking key health, validating data types, generating backups, formatting results, linting configs."
---
# redis
Connect, query, and monitor Redis instances. Use when checking key health, validating data types, generating backups, formatting results, linting configs.
Commands
`REDIS_HOST`
(default: 127.0.0.1)
scripts/script.sh REDIS_HOST`REDIS_PORT`
(default: 6379)
scripts/script.sh REDIS_PORT`REDIS_DB`
(default: 0)
scripts/script.sh REDIS_DB`ping`
Test Redis connectivity and latency
scripts/script.sh ping`info`
Server info (sections: server, clients, memory, stats, etc.)
scripts/script.sh info [section]`get`
Get value (auto-detects type: string, list, set, hash, zset)
scripts/script.sh get <key>`set`
Set a key-value pair (extra opts passed to Redis SET)
scripts/script.sh set <key> <val> [opts]`del`
Delete one or more keys
scripts/script.sh del <key> [key...]`keys`
List keys matching pattern (default: *)
scripts/script.sh keys [pattern]`monitor`
Live stream of all Redis commands
scripts/script.sh monitor`stats`
Comprehensive server statistics
scripts/script.sh stats`flush-confirm`
Flush current database (with confirmation)
scripts/script.sh flush-confirm`export`
Export all keys to a file
scripts/script.sh export <file>`import`
Import keys from an export file
scripts/script.sh import <file>`ttl`
Check TTL of a key
scripts/script.sh ttl <key>`type`
Check type of a key
scripts/script.sh type <key>`dbsize`
Show number of keys
scripts/script.sh dbsize`slowlog`
Show slow query log (default: 10 entries)
scripts/script.sh slowlog [count]Requirements
---
*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*
Configuration
| Variable | Required | Description |
|----------|----------|-------------|
| `REDIS_HOST` | No | Redis host (default: 127.0.0.1) |
| `REDIS_PORT` | No | Redis port (default: 6379) |
| `REDIS_DB` | No | Redis database number (default: 0) |
| `REDIS_PASSWORD` | No | Redis authentication password |
Data Storage
Connection history and command logs are saved to `~/.local/share/redis-helper/`.
Security
Redis credentials are passed via environment variables. The password is used in redis-cli command-line arguments as required by the redis-cli interface.
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...