dba-redis

Detect Redis design flaws and risky configurations in DBA reviews.

4|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/leocosta/octopus --skill dba-redis-leocosta
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dba-redis
Source: https://github.com/leocosta/octopus/tree/main/skills/dba-redis
Command: npx skills add https://github.com/leocosta/octopus --skill dba-redis-leocosta

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

DBA teams spending cycles debugging Redis design flaws, TTL gaps, hot/big key risks, and persistence choices, leading to outages or performance regressions. This skill provides a structured review with concrete Redis commands or config fixes to harden deployments.

Core Features & Use Cases

  • Key design: enforce naming conventions and avoid unobservable, opaque keys.
  • TTL discipline: flag keys without TTL or with risky expiry behavior.
  • Big keys & hot keys: identify oversized hashes/lists and high-contention counters, with mitigation strategies.
  • Persistence & durability: evaluate AOF/RDB settings and recommend durable vs cache-only deployments.
  • Operational hazards: warn against KEYS *, FLUSH, and unsafe config changes; propose safe alternatives.
  • Diff-ready output: surface precise Redis commands or config changes to apply fixes.

Quick Start

Run the Redis heuristics checker against Redis usage to surface design flaws and operational hazards.

Frequently Asked Questions about dba-redis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check Redis configurations for risky design flaws and persistence issues?

Run a Redis heuristics checker against your codebase and deployments to detect risky configurations, AOF/RDB persistence gaps, and eviction policy flaws. It outputs structured findings with recommended commands and config fixes to harden your setup.

What is the best way to find big keys and hot keys in Redis before they cause outages?

Finding big keys and hot keys involves analyzing Redis usage patterns to identify oversized hashes, lists, and high-contention counters. The review applies heuristics to flag these risks and outputs mitigation strategies to prevent performance regressions.

How do I enforce TTL discipline and flag keys without TTL in Redis?

Enforcing TTL discipline involves scanning Redis key usage to flag keys without TTL or risky expiry behavior. The checker outputs structured findings that highlight TTL gaps and recommend safe usage patterns to prevent memory exhaustion.

Does this Redis review work with pub/sub, streams, and pipelines across multiple environments?

Yes, the Redis review applies to codebases and deployments interacting with pub/sub, streams, and pipelines across multiple environments. It evaluates safe usage patterns and operational hazards, proposing safe alternatives for unsafe config changes.

What are the limitations of using heuristics for Redis DBA reviews?

Heuristics for Redis DBA reviews rely on analyzing codebases and deployment configurations rather than live runtime metrics. While they detect design flaws and risky configs, they cannot replace real-time monitoring for dynamic hot-key or memory issues.