
Description
Redis Core is an agent skill from Redis, Inc. that gives guidance on modelling data in Redis. It covers the two decisions that most affect memory, speed and maintainability: which Redis data structure to use, and how to name keys. For the data structure, it matches the type to the access pattern. A String suits simple values and counters, a Hash suits objects whose fields update independently, a List suits queues and recent items, a Set suits unique membership, and a Sorted Set suits rankings. A JSON document suits nested data, a Stream suits event logs and fan-out messaging, and a Vector Set suits similarity search. It flags a common anti-pattern, storing a flat object as a serialised string, which forces a fetch, parse and rewrite just to change one field. For key names it recommends lowercase, colon-separated segments with a stable hierarchy, short readable keys, and a tenant prefix where several customers share a database. The skill applies when designing a data model, caching objects, building counters or leaderboards, or reviewing existing key names. It is published under the MIT licence.…
Highlights
- Picks the Redis data type that fits the access pattern
- Flags serialised-string storage for flat objects
- Colon-separated key names with tenant prefixes
- Guidance for counters, leaderboards and session stores
Ratings & Reviews
No ratings yet
Be the first to rate redis/redis-core.
People also visit

redis-search
Redis Search guidance covering FT.CREATE schema design, field type selection
redis/redis-core FAQ
What does the redis-core skill do?
It guides an agent or developer on choosing the right Redis data structure and naming keys consistently, for caches, counters, leaderboards, sessions and membership sets.
Who made it?
The skill is published by Redis, Inc. in the redis/agent-skills repository on GitHub, and it is released under the MIT licence.
How do I install it?
Run npx skills add https://github.com/redis/agent-skills --skill redis-core in your project.
Hash or JSON for an entity?
Use a Hash when fields are updated independently, and a JSON document when the data is nested and needs path-level updates.
What key naming rules does it give?
Lowercase, colon-separated segments, no spaces, short but readable keys, no full URLs as keys, and a tenant prefix where multi-tenancy needs clean scans and access rules.
Is it free?
Yes. The skill is MIT licensed and its source is public in the redis/agent-skills repository on GitHub.
What are the best redis/redis-core alternatives?
Popular alternatives to redis/redis-core include redis-best-practices, redis-patterns and redis-development. See all redis/redis-core alternatives




