Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Redis Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-redis-knowledge-patch-nevaberry-plugins)
---
name: redis-knowledge-patch
description: Redis
version: "8.8.2"
license: MIT
metadata:
author: Nevaberry
---
# Redis Knowledge Patch
Load this skill when working on Redis upgrades, access control, commands,
Search, JSON, time series, cluster operations, or module integrations.
Use the quick reference for behavior changes and common features; load the
relevant topic reference for complete guidance and version-specific details.
## Reference index
| Reference | Topics |
| --- | --- |
| [Data Structures and Commands](references/data-structures-and-commands.md) | Strings, counters, arrays, compact hashes, lists, sets, sorted sets, bitmaps, streams, vector sets |
| [Operations, Cluster, and Modules](references/operations-cluster-and-modules.md) | Slot migration, resource statistics, memory tracking, eviction, hot keys, backup, failover, notifications, module APIs |
| [Search, JSON, and Time Series](references/search-json-and-timeseries.md) | Search schemas and defaults, vector indexes, hybrid queries, JSON arrays, time-series samples, queries, labels |
| [Security, Upgrades, and Access Control](references/security-and-upgrades.md) | Security fixes, ACL categories and key permissions, TLS authentication, startup, upgrades |
## Security and behavior changes
### Security upgrades
Upgrade Redis 8.8 deployments to 8.8.2 for fixes to ACL key permissions, TLS client
certificate authentication, and RDB loading, including CVE-2026-62356. The ACL fix
covers `SORT`, `GEORADIUS`, `GEORADIUSBYMEMBER`, `XREAD`, and `XREADGROUP`.
Upgrade 8.10 deployments to 8.10.1 for fixes to a TLS certificate authentication
bypass, potential remote code execution during RDB loading, and other memory-safety
issues including CVE-2026-62356 in Count-Min Sketch loading.
### Expanded ACL categories
Redis 8 includes Search, JSON, time-series, and probabilistic commands in existing
ACL categories, so `+@read` now grants `FT.SEARCH` and `+@all -@write` excludes
`JSON.SET`. Custom rules can target `@search`, `@json`, `@timeseries`, `@bloom`,
`@cuckoo`, `@cms`, `@topk`, and `@tdigest`.
### Search and time-series key permissions
A user's ACL key patterns must cover every key that matches the index prefixes to
create, modify, or read a Search index. `TS.MGET`, `TS.MRANGE`, and `TS.MREVRANGE`
fail if any matching key is unreadable, while `TS.QUERYINDEX` can read matching
metadata without sample read permission.
### Search schemas and defaults
`FT.CREATE` and `FT.ALTER` reject empty field names. Use nonempty names in index schemas.
Redis 8.0.1 restores `RETURN` as the default for `search-on-timeout`, so a query may
return partial results when it times out. Redis 8.2.4 and 8.4.1 document a default
scorer setting for text and tag queries: use `search-default-scorer` to choose the
scorer, with `BM25STD` as the new default.
### Hybrid Search constraints
Redis 8.4 adds `FT.HYBRID` to combine results with RRF or LINEAR, and 8.4.1 requires
passing vector blobs as query parameters. In 8.4.0 the default reply contains
`key_id` and `score`, and post-`COMBINE` filtering, `WITHCURSOR`, `EXPLAINSCORE`,
`SHARD_K_RATIO`, and `YIELD_DISTANCE_AS` are unavailable.
### Cluster migration results
Redis 8.4 adds `CLUSTER MIGRATION` for atomic slot migration. During a migration in
8.4.0, `FT.SEARCH`, `FT.AGGREGATE`, `FT.CURSOR`, `FT.HYBRID`, `TS.MGET`, `TS.MRANGE`,
`TS.MREVRANGE`, and `TS.QUERYINDEX` may return partial or duplicate results.
### Stream idempotency and recovery
Redis 8.6 adds `IDMP` and `IDMPAUTO` to `XADD` for at-most-once production, with
defaults set by `stream-idmp-duration` and `stream-idmp-maxsize`. Avoid these options
in 8.6.0 with `appendonly yes` and `aof-use-rdb-preamble no`, since 8.6.2 fixes
restoration of idempotency state after AOF rewrite and expiration of that state
after RDB load.
### Stream deletion and group references
Redis 8.2 adds `XDELEX` and `XACKDEL` and extends trimming in `XADD` and `XTRIM` with
reference strategies such as `DELREF` and `ACKED`. Redis 8.2.7 and 8.4.4 fix
approximate trimming (`~`) with either strategy and fix `XDELEX` with `ACKED` after
`XGROUP DESTROY`.
### Compressed vector index compatibility
Redis 8.2 adds `SVS-VAMANA` as a vector index type with compression. Redis 8.2.1
removes the proprietary LeanVec and LVQ optimizations, 8.2.2 allows the
`BUILD_INTEL_SVS_OPT` build flag, and 8.2.4 and 8.4.1 accept LeanVec parameters on
previously rejected architectures.
## Strings and collections
### Atomic comparisons and expiring writes
Redis 8.4 adds `DIGEST` to retrieve a string value's digest, conditional `SET`
variants for atomic compare-and-set, and `DELEX` for atomic compare-and-delete.
It also adds `MSETEX` to set multiple string keys with expiration in one atomic
operation. Redis 8.4.4 fixes a key-pattern ACL bypass in `MSETEX`.
### Bounded counters, arrays, and compact hashes
`INCREX` combines integer or floating-point increments, bounds, and expiration in
one command for rate-limit counters. Redis 8.8 adds an array data type for storing
and accessing values by index. Compact hashes share field names across keys with
the same schema. Use `HIMPORT` to bulk-insert compact hashes.
### Moving list elements and counting set members
Use `LMOVEM` to move multiple elements between lists with one command. `BLMOVEM` is
the blocking variant. Use `SUNIONCARD` to count members in a set union and
`SDIFFCARD` to count members in a set difference. Both return the count directly.
### Sorted-set input counts
`ZUNION`, `ZINTER`, `ZUNIONSTORE`, and `ZINTERSTORE` accept `AGGREGATE COUNT` to score
each result by how many input sets contain it. For example,
`ZUNION 2 first second AGGREGATE COUNT` scores shared members 2 and members found
in one input 1.
## Stream reads and redelivery
### Claiming idle entries
Redis 8.4 lets `XREADGROUP` return both idle pending entries and new entries in one
read. This example can reclaim entries idle for at least 60 seconds:
```text
XREADGROUP GROUP workers reader CLAIM 60000 STREAMS jobs >
```
### Releasing messages and limiting replies
A stream consumer can use `XNACK` to explicitly release a pending message for
redelivery. `XREAD` and `XREADGROUP` accept `MAXCOUNT` to cap the total number of
entries in a reply and `MAXSIZE` to cap its total size across the requested streams.
## Search, JSON, and time-series queries
### Search query tools
Redis 8.2.4 and 8.4.1 add `WITHCOUNT` support to `FT.AGGREGATE`.
The `KNN` clause of `FT.HYBRID` can request fewer candidates from each shard,
reducing the number of candidates returned for merging. `FT.PROFILE` accepts the
`HYBRID` query type to profile an `FT.HYBRID` query. Use `FT.ALIASLIST` to list the
aliases for a Search index.
### JSON arrays and time-series aggregations
Use the `FPHA` option on `JSON.SET` to specify the floating-point type for a
homogeneous array. `TS.RANGE`, `TS.REVRANGE`, `TS.MRANGE`, and `TS.MREVRANGE` can
compute multiple aggregations in one request. Redis 8.6 accepts samples such as
`TS.ADD sensor:temp * NaN`. `COUNTNAN` counts NaN samples and `COUNTALL` includes them
in the total.
### Time-series ranges, reads, and labels
Use `TS.NRANGE` or `TS.NREVRANGE` to query a range across multiple time series and
group the returned samples by timestamp. Use `TS.READ` for time-series reads that
can optionally block. Use `TS.QUERYLABELS` to list time-series label names and their
values. Pass `EXCLUDEEMPTY` to `TS.MRANGE` or `TS.MREVRANGE` to omit series with no
samples in the query result.
## Operations and authentication
### Full-component startup and backup
Start Redis 8 with `redis-server redis-full.conf` to load all integrated components
and use their configuration settings. `BACKUP` provides node-side backup and
restore based on multi-part AOF.
### Resource statistics and hot keys
`CLUSTER SLOT-STATS` reports per-slot key count, CPU time, and network I/O, and Redis
8.6 uses `cluster-slot-stats-enabled` to select which resource statistics to collect.
`INFO KEYSIZES` reports key-size distributions, and 8.6 adds `key-memory-histograms`
for memory consumption per data type. Memory tracking can be enabled at runtime
in non-clustered mode. Redis 8.6 adds `HOTKEYS` to detect and report hot keys.
Run `HOTKEYS HELP` for command syntax starting in 8.6.1.
### Least-recently-modified eviction
Redis 8.6 adds `volatile-lrm` for keys with expiration and `allkeys-lrm` for all
keys. For example, `CONFIG SET maxmemory-policy allkeys-lrm` evicts based on least
recent modification.
### Certificate authentication
Redis 8.6 adds `tls-auth-clients-user` for automatic client authentication from TLS
certificates. Monitor the `acl_access_denied_tls_cert` counter for failed
certificate-based authentication attempts. Redis servers can authenticate one
another using TLS peer certificates.