redis
Skill by sickn33
Configures Redis for caching, queues, rate limiting and data storage. Covers installation, persistence, Sentinel high availability and cluster mode for developers and operators.
Install redis
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/redis ~/.claude/skills/redisRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/redis ~/.gemini/antigravity-cli/skills/redisAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives step-by-step guidance for configuring and operating Redis for caching, queues, rate limiting and real-time data storage. It covers installation on Debian, Ubuntu, RHEL and Amazon Linux, a sample redis.conf, and redis-cli commands for strings, hashes, lists, sets and sorted sets. It also explains RDB and AOF persistence, Sentinel-based failover and cluster mode.
It includes common patterns such as cache-aside, a sliding window rate limiter, pub/sub messaging and a single-instance lock, plus a Docker Compose example and monitoring and troubleshooting tables. It is aimed at developers and operators who run Redis in production. The source is docs-only, and its helper scripts and templates are not bundled.
Written from the project's SKILL.md and checked against it.
What it can do
- Installation and setupInstalls redis-server on Debian, Ubuntu, RHEL or Amazon Linux and verifies it with redis-cli ping.
- ConfigurationShows a sample redis.conf covering network, memory, connections, logging and disabled dangerous commands.
- Data typesGives redis-cli examples for strings, hashes, lists, sets and sorted sets.
- PersistenceExplains RDB snapshots and AOF, and a combined production strategy.
- SentinelShows Sentinel configuration for monitoring and automatic failover, with at least three instances.
- Cluster modeShows how to create, check, expand and rebalance a Redis cluster.
- Common patternsCovers cache-aside caching, sliding window rate limiting, pub/sub and a single-instance lease.
- Docker ComposeProvides a compose file with Redis, Sentinel and redis-commander.
- MonitoringLists INFO, MEMORY, SLOWLOG and CLIENT commands and the cache hit ratio to watch.
What you need
- Linux server or Docker
- Root or sudo access for package installation
- Redis 7.x recommended for production
Try asking
- Set up Redis Sentinel with three instances for automatic failover
- Write a sliding window rate limiter using a Redis sorted set
- Show me a cache-aside pattern for database queries with Redis
Good to know
- Docs-only import, so upstream scripts and templates are not bundled.
- allkeys-lru can evict queues, sessions or locks, so durable data needs other settings.
- RDB and AOF do not guarantee zero data loss, and backups and failover should be tested.
- The lock example is not Redlock, and the multi-command rate limiter is not atomic.
Security check
C- Asks for administrator rights (sudo)In
skills/redis/SKILL.md:sudo
Checked automatically: skills/redis/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB
Alternatives to redis
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
redis: common questions
Does this skill cover Redis persistence?
Yes. It explains RDB snapshots and AOF, and recommends using both together for production. It notes that neither guarantees zero data loss.
Does it cover high availability?
It covers Redis Sentinel for automatic failover, which needs at least three Sentinel instances for quorum, and Redis cluster mode for sharding data across nodes.
Is the distributed lock example Redlock?
No. The source labels it a single-instance lease illustration, not Redlock, and says it needs fencing and expiry handling.
How do I install redis?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is redis free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is redis safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to redis?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
