AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Redis

skill-dayfinggg-claude-code-codex-skills-redis · by dayfinggg

Design, implement, review, debug, test, migrate, secure, and operate Redis-backed systems. Use for caches, sessions, rate limits, counters, queues, Streams, coordination, distributed locks, key and TTL design, transactions or functions, persistence, replication, Sentinel, Cluster, client behavior, latency, memory, ACLs, TLS, and Redis production incidents in any language or framework.

No reviews yet
0 installs
36 views
0.0% view→install

Install

$ agentstack add skill-dayfinggg-claude-code-codex-skills-redis

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-dayfinggg-claude-code-codex-skills-redis)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Redis? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Redis Engineering

Treat Redis as a networked, stateful system with explicit failure semantics, not as a faster map. Match every design to the inspected server, topology, provider, client, workload, and acceptable loss, duplication, staleness, and outage behavior.

Apply the workflow

  1. Inspect before proposing changes.
  • Read repository guidance, manifests, lockfiles, configuration, deployment files, schema or key helpers, call sites, tests, dashboards, and runbooks.
  • Identify the Redis server version, managed service and restrictions, deployment mode, persistence, replicas, failover mechanism, TLS and ACL setup, and exact client version.
  • Trace ownership from request to key: producer, consumers, authoritative source, serialization, TTL, invalidation, retry, cleanup, and observability.
  • Quantify peak operations, key count, value and collection sizes, memory budget, hot-key risk, latency SLO, and recovery objectives. Do not invent missing capacity numbers.
  1. Select Redis's role and failure policy.
  • State whether Redis is a cache, disposable accelerator, session store, limiter, queue or stream, coordination aid, derived index, or authoritative store.
  • Name the system of record. If Redis is authoritative, justify durability, recovery, consistency, and operational ownership explicitly.
  • Define fail-open, fail-closed, stale-serving, shedding, or fallback behavior per operation. Security controls normally fail closed; optional caches normally degrade without taking the product down.
  • Read [roles and data modeling](references/roles-and-data-modeling.md) before choosing a data type or lifecycle.
  1. Define keys and lifecycle.
  • Use a documented namespace such as :::::; escape or hash untrusted components and avoid secrets or personal data in key names.
  • Bound key cardinality, value size, collection length, and per-tenant consumption. Account for key, object, allocator, replication, persistence, and fragmentation overhead rather than payload bytes alone.
  • Use Cluster hash tags only for a known multi-key atomicity requirement; avoid concentrating unrelated traffic in one slot.
  • Choose the smallest native data type that supports the access pattern. Avoid opaque blobs when partial updates, expiry, or inspection matter.
  • Specify TTL ownership, refresh policy, jitter, invalidation event, delete path, negative-cache duration, and behavior during recomputation. Never add an unbounded cache entry by accident.
  1. Make correctness explicit.
  • Distinguish command atomicity, optimistic transactions, server-side functions or scripts, pipelining, replication acknowledgement, and application-level idempotency. Pipelining is not a transaction.
  • Keep MULTI/EXEC, Lua, and Functions short and bounded. Treat validation, retry, partial external effects, and Redis's lack of transaction rollback as application concerns.
  • Design retries from operation semantics. Retry reads and proven-idempotent writes only within a deadline; use tokens, deduplication, or conditional state transitions where duplicates matter.
  • Do not present a lease as proof of current ownership after pauses, partitions, or expiry. Prefer database constraints, queues, or consensus for critical exclusion; otherwise use unique tokens, conditional release, bounded work, fencing tokens, and an authoritative fenced write.
  • Read [correctness and distribution](references/correctness-and-distribution.md) for failure windows, Streams, Sentinel, Cluster, and locks.
  1. Configure the client deliberately.
  • Reuse long-lived clients. Bound connect, command, blocking, queue, and total operation time; include cancellation and cleanup.
  • Use the client's documented pooling or multiplexing model. Reserve dedicated connections for blocking commands, subscriptions, and stateful operations when required.
  • Cap queued work and concurrency. Apply exponential backoff with jitter within a deadline and distinguish transient topology errors from permanent command, authentication, and validation errors.
  • Make reconnect and failover behavior observable. Do not silently replay non-idempotent commands after an unknown result.
  1. Design for the deployed topology.
  • For standalone or Sentinel, account for asynchronous replication and acknowledged-write loss during failover.
  • For Cluster, support slot discovery, MOVED and ASK, resharding, hash-slot constraints, and partial availability. Do not send arbitrary multi-key operations across slots.
  • Verify provider-specific command, module, persistence, backup, networking, maintenance, and failover constraints before using them.
  1. Implement the smallest compatible change.
  • Preserve existing serialization, key contracts, client abstractions, metrics, and error behavior unless a migration is part of the request.
  • Use versioned keys or dual-read/dual-write only with a bounded migration, telemetry, rollback, and cleanup plan.
  • Avoid new wrappers or dependencies unless the existing client cannot express the required safety property.
  1. Verify from cheapest to most representative.
  • Run focused unit tests for key construction, serialization, TTL calculation, limits, retry classification, and fallback behavior.
  • Run integration tests against the relevant Redis version and topology for expiry, atomicity, reconnection, failover, scripts or functions, Streams recovery, and Cluster slot behavior.
  • Exercise duplicate delivery, unknown write result, timeout, client saturation, stale data, eviction, replica lag, process restart, and degraded dependency paths where material.
  • Check latency, throughput, memory growth, hot keys, big keys, slow commands, error rates, connection counts, evictions, rejected connections, persistence health, and replication health.
  • Read [operations, security, and testing](references/operations-security-testing.md) before production-affecting work.
  1. Report evidence and residual risk.
  • State the inspected versions and topology, role of Redis, authoritative source, guarantees, failure policy, tests run, operational signals, migration or rollback path, and anything not verified.

Enforce production guardrails

  • Never run or recommend FLUSHALL, FLUSHDB, broad deletion, CONFIG SET, ACL mutation, failover, resharding, restore, or persistence changes against shared or production systems without explicit authorization and a verified target.
  • Never use KEYS on an unbounded production keyspace. Use cursor-based SCAN for diagnosis and redesign application paths that require global scans.
  • Never assume persistence is a backup, a replica is a backup, an acknowledged write survives failover, an expired key is reclaimed immediately, or a successful timeout means the write did not happen.
  • Never cache authorization decisions, secrets, or tenant data without explicit scope, invalidation, isolation, encryption, and fail-closed behavior.
  • Never expose Redis directly to the public internet. Require network isolation, authenticated least-privilege users, TLS where traffic is not otherwise trusted, secret rotation, and audited administrative access.
  • Never copy generic limits blindly. Derive timeouts, pool sizes, TTLs, retry counts, stream retention, and memory policies from the workload and deployment.

Load references selectively

  • Use [roles and data modeling](references/roles-and-data-modeling.md) for role selection, native types, key shape, TTLs, invalidation, stampede control, and boundedness.
  • Use [correctness and distribution](references/correctness-and-distribution.md) for atomicity, durability, replication, Sentinel, Cluster, locks, Streams, Pub/Sub, and delivery semantics.
  • Use [operations, security, and testing](references/operations-security-testing.md) for clients, retries, latency, memory, observability, ACLs, TLS, migrations, recovery, and test coverage.
  • Use [authoritative sources](references/sources.md) to verify version-sensitive behavior. Pin the exact server, client, topology, and managed-service documentation before implementation.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.