Skip to content
redis avatar

Redis Core

Guidance for choosing Redis data types and naming keys consistently across eight data structures.

CCM score
72 of 100
skills.sh installs
4.7K
GitHub stars
176
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers data-type selection by access pattern, with a table mapping String, Hash, List, Set, Sorted Set, JSON, Stream, and Vector Set to their use cases
  • Flags the common anti-pattern of storing a flat object as a serialized string and recommends a Hash for per-field updates
  • Sets a colon-separated naming convention ({entity}:{id}:{attribute}) with rules for casing, key length, URLs, and tenant prefixes
  • Designed for developers designing Redis data models, caching objects, building counters, leaderboards, or session stores, and reviewing key names

Install

$ npx -y skills add redis/agent-skills --skill redis-core -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Redis Core

Foundational guidance for modeling data in Redis. Covers data-type selection and key-name conventions — the two decisions that most directly drive memory, performance, and maintainability.

When to apply

  • Caching objects, sessions, or per-user state.
  • Counters, leaderboards, recent-items lists, unique-membership sets.
  • Reviewing or refactoring Redis key names.
  • Deciding between a Redis Hash and a JSON document for an entity.

1. Choose the right data structure

Pick the type that matches the access pattern, not just the shape of the data.

Details

Repository
github.com/redis/agent-skills
Category
Databases
First seen
Jul 14, 2026

Questions

What does the redis-core skill help an agent do?

The redis-core skill gives guidance on modeling data in Redis. It helps the agent choose the right data structure, such as String, Hash, List, Set, Sorted Set, JSON, Stream, or Vector Set, and use consistent colon-separated key names.

When should I use the redis-core skill?

Use redis-core when designing a Redis data model, caching objects, or deciding between a Hash and a JSON document. It also applies to building counters, leaderboards, membership sets, session stores, or reviewing Redis key naming.

How do I install the redis-core skill?

Run this command in a project: npx -y skills add redis/agent-skills --skill redis-core -y. Once installed, the agent uses the skill for Redis data modeling tasks.

Where does redis-core rank among Databases skills?

On the Databases category page, redis-core ranks in the top 100. Other skills in the category include supabase-postgres-best-practices and several prisma skills, so it sits alongside relational database guidance.

More from redis/agent-skills

All 6

Similar to Redis Core

More Databases