Home Tutorials Categories Skills About
ZH EN JA KO
🔴

Redis

Cache Database & Storage

Install Command

npx clawhub@latest install redis

Installation Guide

1
Check Environment

Make sure Node.js 22+ and OpenClaw are installed. Run openclaw --version in your terminal to verify.

2
Run Installation

Run the install command above in your terminal. ClawHub will automatically download and install Redis to the ~/.openclaw/skills/ directory.

3
Verify Installation

Run openclaw skills list to check your installed skills and confirm Redis appears in the list.

4
Configure (Optional)

Follow the configuration instructions in the description below to add skill settings to ~/.config/openclaw/openclaw.json5.

Manual Installation: Copy the Skill folder to ~/.openclaw/skills/ or the skills/ directory in your project root. Make sure the folder contains a SKILL.md file.
Key-Value Management Memory Monitoring Slow Queries

Detailed Description

The Redis skill lets OpenClaw manage Redis cache servers, operating on key-value data and monitoring service status with natural language.

Core Features

  • Key-Value Operations: GET, SET, DEL, and various Redis data structure operations
  • Search Queries: Search keys by pattern, view key types and TTL
  • Monitoring Info: View Redis INFO data, memory usage, and connection count
  • Slow Query Log: View the slow query log to identify performance bottlenecks
  • Data Cleanup: Batch delete keys by pattern (requires confirmation)

Configuration

{
  skills: {
    redis: {
      host: "localhost",
      port: 6379,
      password: "xxx",
      db: 0,
      readOnly: true
    }
  }
}

Use Cases

  • "How much memory is Redis currently using?"
  • "Search for all keys starting with session:*"
  • "View the contents of the user:1001 Hash"
  • "Have there been any slow queries recently? What was the slowest operation?"