Skip to main content

redis-query

Execute Redis commands using redis-cli.

Source facts

Repository
ThinkfleetAI/thinkfleet-engine
Last source activity
February 1, 2026 at 16:21
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
redis-query
description
Execute Redis commands using redis-cli.
metadata
{"thinkfleetbot":{"emoji":"🔴","requires":{"bins":"[Truncated]"}}}
# Redis Query Execute Redis commands via `redis-cli`. ## Environment Variables - `REDIS_URL` - Redis connection URL (e.g. `redis://user:pass@host:6379/0`) ## Basic commands ```bash redis-cli -u "$REDIS_URL" PING ``` ```bash redis-cli -u "$REDIS_URL" GET mykey ``` ```bash redis-cli -u "$REDIS_URL" SET mykey "hello" EX 3600 ``` ## Scan keys (safe for production) ```bash redis-cli -u "$REDIS_URL" --scan --pattern "session:*" | head -20 ``` ## Hash operations ```bash redis-cli -u "$REDIS_URL" HGETALL user:123 ``` ## Server info ```bash redis-cli -u "$REDIS_URL" INFO server | head -20 ``` ## Notes - Avoid `KEYS *` on large databases; use `SCAN` instead. - Confirm before running `FLUSHDB`, `FLUSHALL`, or `DEL` on multiple keys.
View on GitHub