redis-observability

redis-observability is a skill for Claude Code from redis/agent-skills. It costs 106 tokens per session (922 once invoked), scanned A, a copy of redis-observability, MIT.

Guidance for monitoring and diagnosing Redis, an in-memory data store. It lists useful health measurements and built-in tools for investigating memory use, connections, throughput, slow commands, and search performance.

In plain words
What is it for?
Use it to set alerts, investigate latency or connection spikes, check memory pressure and cache hit rates, profile Redis Search queries, and connect metrics to Prometheus, Datadog, or CloudWatch.
Why use it?
It helps you detect capacity and performance problems before they become outages, and gives concrete checks when Redis becomes slow or unavailable. It also covers sending Redis measurements to monitoring systems.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the redis-development plugin — 8 skills shipped together

Good fit Use it to set alerts, investigate latency or connection spikes, check memory pressure and cache hit rates, profile Redis Search queries, and connect metrics to Prometheus, Datadog, or CloudWatch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redis/agent-skills/redis-observability
About the project

Redis Agent Skills is Redis's collection of packaged instructions and resources that teach AI coding agents how to work with Redis data structures, connections, search, caching, clustering, security, observability, and agent memory. It is for developers using coding agents to build or troubleshoot Redis-backed applications. The catalogue entries are the project's own agent skills, instructions, and plugin packaging.

redis/agent-skills · 141 stars · on GitHub · redis.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add redis/agent-skills --skill redis-observability
Clone the repo
git clone --depth 1 https://github.com/redis/agent-skills

Made for: Claude Code.

Or install redis-development, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for redis-observability

README.md
[![agentmods](https://agentmods.dev/badge/skills/redis/agent-skills/redis-observability.svg)](https://agentmods.dev/skills/redis/agent-skills/redis-observability)
Your own site
<a href="https://agentmods.dev/skills/redis/agent-skills/redis-observability"><img src="https://agentmods.dev/badge/skills/redis/agent-skills/redis-observability.svg" alt="Measured on agentmods" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 922 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 26 Aug 2026
  • Snyk pass 26 Aug 2026
How audits are shown
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00106 $0.00922
Opus 5 $0.00053 $0.00461
Sonnet 5 $0.00021 $0.00184
Haiku 4.5 $0.00011 $0.00092

Measured 8d ago against content hash 801b2a3f6347, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

redis-observability scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to redis-observability — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/redis-development/skills/redis-observability/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Redis Observability

What to watch, what to run, and what to alert on. Covers the metrics every Redis deployment should monitor and the built-in commands for ad-hoc diagnosis.

When to apply

  • Setting up monitoring or alerts for a Redis instance.
  • Diagnosing a Redis performance regression (high latency, memory pressure, connection storms).
  • Profiling a slow FT.SEARCH or pipeline.
  • Wiring Redis metrics into Prometheus, Datadog, CloudWatch, or similar.

1. Monitor these metrics

These come from INFO and should be exported to your monitoring system.

Metric What it tells you Alert when
used_memory Current memory usage > 80% of maxmemory
connected_clients Open connections Sudden spikes or drops
blocked_clients Clients waiting on blocking ops > 0 sustained
instantaneous_ops_per_sec Current throughput Significant drops
keyspace_hits / keyspace_misses Cache hit ratio Hit ratio < 80%
rejected_connections Hit maxclients cap > 0
rdb_last_save_time Last persistence snapshot Too old vs. RPO
info = redis.info()
hit_ratio = info["keyspace_hits"] / max(1, info["keyspace_hits"] + info["keyspace_misses"])
print(f"Memory:    {info['used_memory_human']}")
print(f"Clients:   {info['connected_clients']}")
print(f"Ops/sec:   {info['instantaneous_ops_per_sec']}")
print(f"Hit ratio: {hit_ratio:.1%}")

See references/metrics.md.

2. Built-in commands for debugging

Reach for these when something looks off.

Topic Command
Slow commands SLOWLOG GET 10 / SLOWLOG LEN / SLOWLOG RESET
Server snapshot INFO all (or INFO memory / INFO stats / INFO clients / INFO replication)
Memory diagnostics MEMORY DOCTOR / MEMORY STATS / MEMORY USAGE <key>
Connections CLIENT LIST / CLIENT INFO
RQE / Search FT.INFO <idx> / FT.PROFILE <idx> SEARCH QUERY "..."

The two most useful for incident triage:

Read the full file on GitHub · 78 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 78 lines · 106 tokens per session scan A 801b2a3f6347

Subscribe to this mod's changes

redis-observability is a skill published in the GitHub repository redis/agent-skills (141 stars, last pushed 6d ago), licensed MIT. It adds 106 tokens to every session and 922 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to redis-observability, differing in 20 lines, and is treated as a copy.

Related

Other skills, from other repositories

troubleshoot-redis

Use when diagnosing issues with Redis: the fork/cow storm, the event loop wedge, the replication backlog overflow, the memory pressure spiral, or the connection exhaustion cascade. Queries Netdata via MCP for redis reachability, uptime and unexpected restarts, memory usage ratio, memory fragmentation ratio, rejected…

netdata/skills · 83 tokens

redis-js

Work with the Upstash Redis JavaScript/TypeScript SDK for serverless Redis operations. Use for caching, session storage, rate limiting, leaderboards, full-text search (querying, filtering, aggregating with @upstash/redis search extension), and all Redis data structures. Supports automatic serialization/deserialization…

upstash/redis-js · 93 tokens

redis

Use when using Redis or any Redis-protocol store (Valkey, ElastiCache, Upstash, Dragonfly, Memorystore) as a cache, queue, rate limiter or distributed lock and it has to be CORRECT rather than merely connected — stampede-proof caching, locks that cannot release someone else's hold, race-free rate limits, and jobs that…

ericrisco/rsc-harness · 111 tokens

qdrant-monitoring-debugging

Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high', 'OOM crash', 'queries are slow', 'latency spike', or 'search was fast now it's slow'. Also use when performance degrades without obvious config changes.

qdrant/skills · 75 tokens

rqe-iterator-suspend-resume

Implementation & review guide for suspend/resume (revalidation) on query-engine iterators in src/redisearchrs/rqeiterators/. Use this when adding the Box suspend/resume mechanism to an RQE iterator that currently only implements the legacy revalidate, when modifying an existing suspend/resume implementation, or when…

RediSearch/RediSearch · 98 tokens

cis-aws-database-5.11

Ensure ElastiCache has Cluster Mode Enabled.

CyberStrikeus/CyberStrike · 18 tokens