Redis Manager

Manage a shared Redis Docker container for local dev environments. Handles container lifecycle, key inspection, and selective data flush. Joins the shared Docker network created by proxy-manager.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Redis Manager" with this command: npx skills add pereirajair/redis-manager

Redis Manager

Manages the shared Redis Docker container for local dev environments.

Architecture

redis-manager/
├── docker-compose.yml   # Redis 7 Alpine container
└── run.sh               # lifecycle + data inspection CLI

Joins the shared nginx-proxy_net network (created by proxy-manager) so all app containers can connect via hostname codai_redis. Data is persisted in a named volume.

Commands

./run.sh start                # start Redis container
./run.sh stop                 # stop container (data persists in volume)
./run.sh status               # status + key count + memory usage
./run.sh wait                 # block until Redis responds PONG
./run.sh flush                # FLUSHALL — clear all data (interactive confirm)
./run.sh flush-db <n>         # FLUSHDB on database N (interactive confirm)
./run.sh list-keys [<pattern>]# KEYS <pattern> (default: *)
./run.sh cli                  # open redis-cli interactive session

How to Execute Tasks

Start Redis

cd redis-manager && ./run.sh start

Check status and memory usage

./run.sh status

Inspect keys for a specific instance

./run.sh list-keys "session:*"
./run.sh list-keys "cache:feature*"

Flush session data for testing

./run.sh flush-db 0    # flush default db only

Startup Order

  1. proxy-manager start — creates the shared Docker network
  2. mysql-manager start (or postgres-manager start)
  3. redis-manager start

Configuration

VariableDefaultPurpose
REDIS_CONTAINERcodai_redisContainer name
REDIS_PASSWORDredispassRedis AUTH password
REDIS_PORT6380Host port (maps to 6379)
REDIS_MAXMEMORY256mbMax memory before eviction
CODAI_NETWORKnginx-proxy_netShared Docker network name

App Connection

Backend containers connect to Redis at:

  • Host: codai_redis (container name on shared network)
  • Port: 6379
  • Password: redispass (or REDIS_PASSWORD)

Rules

  • flush always prompts for confirmation — it deletes all data in all databases.
  • stop preserves data in the Docker volume. Use docker compose down -v only to wipe.
  • Redis connects to the nginx-proxy_net network as external: true — proxy-manager must start first.

Related Plugins

  • proxy-manager — creates the shared Docker network (start first)
  • mysql-manager — relational DB companion
  • postgres-manager — relational DB companion
  • worktree-manager — app instances that consume Redis

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

dx-optimizer

Expert developer experience optimizer specializing in build performance, tooling efficiency, and workflow automation. Masters development environment optimiz...

Registry SourceRecently Updated
Coding

dotnet-core-expert

Expert .NET Core specialist mastering .NET 10 with modern C# features. Specializes in cross-platform development, minimal APIs, cloud-native applications, an...

Registry SourceRecently Updated
Coding

CMS Star Ratings Clinical Intelligence

CMS Star Ratings clinical intelligence for Medicare Advantage pharmacy optimization. Use when analyzing plan performance against Star cutpoints, identifying...

Registry SourceRecently Updated
Coding

儿童危险行为识别分析工具

Detects climbing, playing with fire, touching power sources, and dangerous actions near windows, providing real-time alerts. It is suitable for child safety...

Registry SourceRecently Updated
1613Profile unavailable