redis
Connect, query, and monitor Redis instances. Use when checking key health, validating data types, generating backups, formatting results, linting configs.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bytesagain/redisredis
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
- redis-cli
Powered by BytesAgain | bytesagain.com | [email protected]
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.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bytesagain-redis": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
skill-tracker
通用技能使用统计追踪器,支持 Python 和 Node.js 技能,自动记录调用次数、成功率,生成使用排行榜。数据本地存储,保护隐私。
cmms
Computerized maintenance management system
consent
Build cookie consent banners and track opt-in compliance status. Use when implementing GDPR consent, auditing cookies, generating privacy banners.
amr
Autonomous mobile robot fleet manager. Use when json amr tasks, csv amr tasks, checking amr status.
breaker
Circuit breaker sizing and coordination tool. Use when json breaker tasks, csv breaker tasks, checking breaker status.