redis-operations

Solid

Redis operational runbooks — memory management, eviction policy, persistence config, Sentinel/Cluster, K8s-hosted Redis ops.

AI & Automation 14 stars 3 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
39
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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 ```bash # 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 ```bash # Check memory usage breakdown redis-cli MEMORY DOCTOR # health analysis + recommendations redis-cli MEMORY STATS # detailed breakdown redis-cli MEMORY USAGE <key> # bytes used by a specific key # Find big keys (scan, not KEYS — non-blocking) redis-cli --bigkeys # sample-based...

Details

Author
sawrus
Repository
sawrus/agent-guides
Created
3 months ago
Last Updated
3 days ago
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

redis

Redis caching patterns, pub/sub, sessions, rate limiting, and data structures.

1,034 Updated today
a5c-ai
API & Backend Listed

redis-caching

Redis caching strategies, pub/sub, sessions, and performance optimization.

2 Updated 3 months ago
cgyudistira
API & Backend Listed

redis-security

Security audit for Redis usage including ACL configuration, network exposure (bind, protected-mode), TLS, command restrictions, key namespacing across tenants, EVAL/Lua sandbox safety, pub/sub leakage, persistence file protection, and client library patterns (ioredis, node-redis, redis-py). Use this skill whenever the user mentions Redis, redis client, ioredis, node-redis, redis-py, Lettuce, redis-cli, redis.conf, Lua scripts, EVAL, or asks "audit my Redis setup", "Redis security", "Redis ACL". Trigger when the codebase contains Redis client libraries or `redis://` connection strings.

1 Updated 6 days ago
hlsitechio
AI & Automation Solid

distributed-caching

Expert skill for distributed cache design, implementation, and optimization using Redis and Memcached. Design cache architectures, configure eviction policies, implement caching patterns (cache-aside, write-through, write-behind), monitor cache performance, and optimize memory usage.

1,034 Updated today
a5c-ai
AI & Automation Solid

redis-cache-manager

Manage redis cache manager operations. Auto-activating skill for Backend Development. Triggers on: redis cache manager, redis cache manager Part of the Backend Development skill category. Use when working with redis cache manager functionality. Trigger with phrases like "redis cache manager", "redis manager", "redis".

2,266 Updated today
jeremylongshore