HomeBrowseUpload
← Back to registry
// Skill profile

redis

name: redis

by bytesagain · published 2026-03-22

开发工具数据处理
Total installs
0
Stars
★ 0
Last updated
2026-03
// Install command
$ claw add gh:bytesagain/bytesagain-redis
View on GitHub
// Full documentation

---

name: redis

version: "3.0.2"

author: BytesAgain

homepage: https://bytesagain.com

source: https://github.com/bytesagain/ai-skills

license: MIT-0

tags: [redis, tool, utility]

description: "Connect, query, and monitor Redis instances. Use when checking key health, validating data types, generating backups, formatting results, linting configs."

---

# redis

Connect, query, and monitor Redis instances. Use when checking key health, validating data types, generating backups, formatting results, linting configs.

Commands

`REDIS_HOST`

(default: 127.0.0.1)

scripts/script.sh REDIS_HOST

`REDIS_PORT`

(default: 6379)

scripts/script.sh REDIS_PORT

`REDIS_DB`

(default: 0)

scripts/script.sh REDIS_DB

`ping`

Test Redis connectivity and latency

scripts/script.sh ping

`info`

Server info (sections: server, clients, memory, stats, etc.)

scripts/script.sh info [section]

`get`

Get value (auto-detects type: string, list, set, hash, zset)

scripts/script.sh get <key>

`set`

Set a key-value pair (extra opts passed to Redis SET)

scripts/script.sh set <key> <val> [opts]

`del`

Delete one or more keys

scripts/script.sh del <key> [key...]

`keys`

List keys matching pattern (default: *)

scripts/script.sh keys [pattern]

`monitor`

Live stream of all Redis commands

scripts/script.sh monitor

`stats`

Comprehensive server statistics

scripts/script.sh stats

`flush-confirm`

Flush current database (with confirmation)

scripts/script.sh flush-confirm

`export`

Export all keys to a file

scripts/script.sh export <file>

`import`

Import keys from an export file

scripts/script.sh import <file>

`ttl`

Check TTL of a key

scripts/script.sh ttl <key>

`type`

Check type of a key

scripts/script.sh type <key>

`dbsize`

Show number of keys

scripts/script.sh dbsize

`slowlog`

Show slow query log (default: 10 entries)

scripts/script.sh slowlog [count]

Requirements

  • redis-cli
  • ---

    *Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*

    Configuration

    | Variable | Required | Description |

    |----------|----------|-------------|

    | `REDIS_HOST` | No | Redis host (default: 127.0.0.1) |

    | `REDIS_PORT` | No | Redis port (default: 6379) |

    | `REDIS_DB` | No | Redis database number (default: 0) |

    | `REDIS_PASSWORD` | No | Redis authentication password |

    Data Storage

    Connection history and command logs are saved to `~/.local/share/redis-helper/`.

    Security

    Redis credentials are passed via environment variables. The password is used in redis-cli command-line arguments as required by the redis-cli interface.

    // Comments
    Sign in with GitHub to leave a comment.
    // Related skills

    More tools from the same signal band