redis

Manage Redis via the redis-cli. Use when interacting with Redis caches, queues, or key-value stores.

fworks-tech/agenthood2 installsMITSynced Aug 26

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: redis
description: Manage Redis via the redis-cli. Use when interacting with Redis caches, queues, or key-value stores.
license: MIT
---

# redis-cli

Use `redis-cli` to interact with Redis instances.

## Common Commands

### Connection
- Connect: `redis-cli -h <host> -p <port>`
- Authenticate: `AUTH <password>`
- Ping: `PING`

### Key Operations
- Get value: `GET <key>`
- Set value: `SET <key> <value>`
- Delete key: `DEL <key>`
- Check existence: `EXISTS <key>`
- Set with expiry: `SETEX <key> <seconds> <value>`

### Inspection
- List all keys: `KEYS <pattern>`
- Key type: `TYPE <key>`
- TTL: `TTL <key>`
- Memory usage: `MEMORY USAGE <key>`
- Info: `INFO`

## Notes
- `KEYS *` is blocking on production — use `SCAN` for large datasets
- Default port is 6379

More Database skills

← All Database skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY