Redis Clustering

Design cluster-safe Redis keys and route reads to replicas without CROSSSLOT errors.

Tested · Works

Test report

Verdict
Tested · Works
Score
9.6/10
Tested
Jul 13, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Aug 10, 2026 · fff4d7c

Asked it to LMOVE between a user's pending/processed lists and serve a feed read from a replica: baseline code used bare 'user:1001:pending' keys that CROSSSLOT in a real cluster, the skill version wrapped them in '{user:1001}' and set read_from_replicas=True — a concrete production-crash-vs-not difference.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 9/10
  • Docs & honesty 5/5

What Redis Clustering does

Teaches hash-tag key design so multi-key Redis Cluster operations (MGET, pipelines, Lua, transactions) land on one slot instead of throwing CROSSSLOT, plus when and how to route reads to replicas. Triggers on cluster key design, CROSSSLOT debugging, multi-key transactions, and replica-read routing for caches/dashboards/analytics.

How to install Redis Clustering

git clone https://github.com/redis/agent-skills
cd agent-skills
mkdir -p ~/.claude/skills
cp -r skills/redis-clustering ~/.claude/skills/redis-clustering

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Redis Clustering

  • /redis-clustering Design cluster-safe Redis keys and route reads to replicas without CROSSSLOT errors.

It also activates on plain-language prompts like these:

  • Why am I getting CROSSSLOT errors on my MGET in Redis Cluster
  • Design Redis keys so multi-key transactions work on a sharded cluster
  • Route our read-heavy dashboard queries to Redis replicas instead of primary

Frequently asked questions

Is the Redis Clustering skill free?
Yes. The skill itself is free from redis/agent-skills. SkillProof publishes the install command and an independent test verdict at no cost.
Does Redis Clustering work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 13, 2026. Verdict: Tested · Works. Asked it to LMOVE between a user's pending/processed lists and serve a feed read from a replica: baseline code used bare 'user:1001:pending' keys that CROSSSLOT in a real cluster, the skill version wrapped them in '{user:1001}' and set read_from_replicas=True — a concrete production-crash-vs-not difference.
What is the Redis Clustering SkillProof Score?
9.6/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 9/10, docs & honesty 5/5.
How do I install Redis Clustering?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Redis Clustering with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.