在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用redis-cli
星标3
分支0
更新时间2026年2月17日 15:54
Redis CLI for cache, queues, and in-memory data
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Redis CLI for cache, queues, and in-memory data
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Google Calendar — list, create, and manage events via gcal CLI
Manage HubSpot CRM — contacts, companies, deals, tickets
Manage Shopify store — products, orders, customers, inventory
Configure audio transcription and image/video understanding for channels
AWS CLI for S3, EC2, Lambda, CloudWatch, RDS, and ECS
Google Calendar — list, create, and manage events via gcal CLI
| name | redis-cli |
| description | Redis CLI for cache, queues, and in-memory data |
| metadata | {"openclaw":{"always":false,"emoji":"🔴"}} |
Interface for Redis cache, queues, and in-memory data.
# Check if installed
command -v redis-cli
# Install — macOS
brew install redis
# Install — Ubuntu/Debian
sudo apt install redis-tools
# Local
redis-cli
# Remote
redis-cli -h <host> -p <port>
redis-cli -h <host> -p <port> -a <password>
# With URL
redis-cli -u redis://:<password>@<host>:<port>/<db>
# Ping
redis-cli ping
# List keys (WARNING: be careful in production!)
redis-cli KEYS "prefix:*" # pattern match
redis-cli SCAN 0 MATCH "user:*" COUNT 100 # safe for production
# Info for a key
redis-cli TYPE <key>
redis-cli TTL <key> # remaining time (-1 = no expiration)
redis-cli OBJECT ENCODING <key>
# Delete
redis-cli DEL <key>
redis-cli DEL key1 key2 key3
# Expiration
redis-cli EXPIRE <key> <seconds>
redis-cli PERSIST <key> # remove expiration
redis-cli SET <key> <value>
redis-cli SET <key> <value> EX 3600 # expires in 1h
redis-cli GET <key>
redis-cli MGET key1 key2 key3
redis-cli INCR <key>
redis-cli INCRBY <key> 10
redis-cli HSET <key> <field> <value>
redis-cli HGET <key> <field>
redis-cli HGETALL <key>
redis-cli HDEL <key> <field>
redis-cli LPUSH <key> <value>
redis-cli RPUSH <key> <value>
redis-cli LRANGE <key> 0 -1 # all elements
redis-cli LLEN <key>
redis-cli SADD <key> <member>
redis-cli SMEMBERS <key>
redis-cli SCARD <key> # count
redis-cli SISMEMBER <key> <member>
# General info
redis-cli INFO
redis-cli INFO memory
redis-cli INFO stats
redis-cli INFO keyspace
# Connected clients
redis-cli CLIENT LIST
# Monitor (see commands in real time — use with caution)
redis-cli MONITOR
# Database size
redis-cli DBSIZE
# Flush (WARNING!)
redis-cli FLUSHDB # current database
redis-cli FLUSHALL # all databases
SCAN instead of KEYS in production (non-blocking)--pipe for bulk import--csv for CSV output--bigkeys to find large keys--latency to measure latency