LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

redis-caching-patterns - Implement resilient, multi-tenant Redis caching

Standardizes multi-tenant Redis caching with configurable TTLs, in-memory fallback, safe invalidation, health checks, and stampede protection.

Tags

Updated: 2026-11-08

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Isolate tenant cache keys
  • Configure namespace-specific TTLs
  • Fallback to in-memory caching
  • Invalidate namespaces with SCAN
  • Delete keys using pipelines
  • Schedule background invalidation
  • Distinguish misses from None
  • Check Redis health
  • Protect hot keys from stampedes

Inputs

  • Redis connection settings
  • Tenant identifiers
  • Cache namespaces
  • Cache keys and values
  • TTL configuration
  • Invalidation targets

Outputs

  • Namespaced cache entries
  • Expired cache entries
  • Invalidated key counts
  • In-memory fallback state
  • Redis health status
  • Cache error logs

Requirements

  • Python async runtime
  • redis.asyncio support
  • Pydantic settings support
  • Redis access for primary caching

Source

  • Spec: SKILL.md
Redis
caching
multi-tenancy
TTL
cache invalidation
fault tolerance
async Python
Isolate tenant cache keys
Configure namespace-specific TTLs
Fallback to in-memory caching
Invalidate namespaces with SCAN
Redis connection settings
Tenant identifiers
Cache namespaces
Namespaced cache entries
Expired cache entries
Invalidated key counts