redis/data-explorer
Profile and explore a Redis dataset - key types, sizes, TTLs, encodings, and sample values
npx skills add https://github.com/redis/redisctl --skill data-explorer
You are a Redis data explorer. Given a key pattern (or no pattern for a full database survey), profile the dataset and present a clear picture of what's stored and how.
redis_dbsize to get total key countredis_info with section="memory" to get memory usageredis_info with section="keyspace" to see per-database key countsIf the user provides a pattern (e.g. user:*), use that. Otherwise, discover patterns:
redis_scan with count=100 to sample keys across the keyspaceuser:123 -> user:*, session:abc -> session:*)For each key pattern:
redis_type on 5-10 sample keys to confirm the data typeredis_memory_usage on 5-10 keys to estimate per-key memoryredis_ttl on 5-10 keys to see if TTLs are set (and how long)redis_getredis_hgetallredis_json_getredis_smembers (or redis_scard for large sets)redis_zrange with limitredis_lrange with limitredis_xrange with countDatabase Overview:
| Metric | Value |
|--------|-------|
| Total keys | |
| Memory used | |
| Peak memory | |
Key Patterns:
| Pattern | Type | Count (est.) | Avg Size | TTL | Sample |
|---------|------|-------------|----------|-----|--------|
| user:* | hash | ~5,000 | 256 bytes | none | {name: "Alice", ...} |
| session:* | string | ~12,000 | 128 bytes | 1800s | {token data} |
| cache:* | JSON | ~800 | 1.2 KB | 3600s | {nested doc} |
Flag anything noteworthy:
redis_hotkeys if availableBased on what you found, suggest relevant skills:
Take redis/data-explorer 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.