Install
$ agentstack add skill-sawrus-agent-guides-redis-operations ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Skill: Redis Operations
> Expertise: Redis memory management, eviction, persistence (RDB+AOF), Redis Sentinel, Redis Cluster, K8s Redis (Bitnami/Spotahome operator).
When to load
When investigating Redis memory pressure, configuring persistence, debugging eviction, or setting up Redis HA.
Health Check Commands
# Connect to Redis
redis-cli -h redis-master -p 6379 -a $REDIS_PASSWORD
# Server info overview
redis-cli INFO server | grep -E "redis_version|uptime|tcp_port"
redis-cli INFO memory | grep -E "used_memory_human|used_memory_peak_human|mem_fragmentation_ratio|maxmemory"
redis-cli INFO stats | grep -E "total_commands_processed|rejected_connections|evicted_keys"
redis-cli INFO keyspace # databases with key counts + expires
# Real-time monitoring (ops/sec per command)
redis-cli --stat # 1-second interval stats
redis-cli MONITOR # log every command (NEVER in production for long — high overhead)
# Slow log (commands over threshold)
redis-cli CONFIG SET slowlog-log-slower-than 10000 # 10ms threshold
redis-cli SLOWLOG GET 20 # last 20 slow commands
redis-cli SLOWLOG LEN
redis-cli SLOWLOG RESET
Memory Management
# Check memory usage breakdown
redis-cli MEMORY DOCTOR # health analysis + recommendations
redis-cli MEMORY STATS # detailed breakdown
redis-cli MEMORY USAGE # bytes used by a specific key
# Find big keys (scan, not KEYS — non-blocking)
redis-cli --bigkeys # sample-based big key finder
redis-cli --memkeys # memory usage per key (sample)
# Memory fragmentation: ratio > 1.5 = fragmentation, ` |
| Connection refused | maxclients reached | `CONFIG SET maxclients 10000` |
| Slow KEYS command | Running `KEYS *` in production | Replace with SCAN; never use KEYS in prod |
| AOF growing unbounded | Auto-rewrite threshold too high | Lower `auto-aof-rewrite-percentage` to 50 |
## Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- **Author:** [sawrus](https://github.com/sawrus)
- **Source:** [sawrus/agent-guides](https://github.com/sawrus/agent-guides)
- **License:** MIT
- **Homepage:** https://sawrus.github.io/agent-guides
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.