redis-inspect
Query Redis cache instances to examine keys, retrieve values, check expiration times, and inspect data structures for troubleshooting. The skill supports both main cache and system cache instances, with read-only operations by default and optional write capabilities for cache management.
redis-inspect lets you query Redis cache keys, values, and TTLs for debugging both main and system caches.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-28
redis-inspect lets you query Redis cache keys, values, and TTLs for debugging both main and system caches. Query Redis cache instances to examine keys, retrieve values, check expiration times, and inspect data structures for troubleshooting. The skill supports both main cache and system cache instances, with read-only operations by default and optional write capabilities for cache management.
Use it when
- Yes.
- redis-inspect can inspect hash, set, and list data structures stored in Redis, in addition to simple key-value pairs.
Verify before relying
Read SKILL.md below before installing (3 files). Open directory: indexed for reading, not audited.
Install
civitai/civitai/redis-inspect · repository language: TypeScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I check redis cache keys with redis-inspect?
redis-inspect lets you query Redis cache instances to examine keys across main and system caches. You can search for specific keys, view their values, and check expiration times (TTLs) for debugging. The skill supports read-only operations by default, making it safe for inspecting cache state without risking accidental modifications.
Can redis-inspect inspect redis values and TTL information?
Yes. redis-inspect retrieves both cached values and their time-to-live (TTL) settings, helping you understand cache expiration and troubleshoot stale data issues. You can inspect individual keys or search patterns to monitor cache state across your main and system cache instances.
What data structures does redis-inspect support inspecting?
redis-inspect can inspect hash, set, and list data structures stored in Redis, in addition to simple key-value pairs. This allows you to examine complex cached data and understand how your application structures cache entries for effective troubleshooting.
How does redis-inspect help with redis cache debugging?
redis-inspect is a cache debugging tool that lets you view cache contents, search key patterns, check key expiry times, and monitor cache state. These capabilities help you identify expired keys, verify cached data, and troubleshoot cache-related performance or data consistency issues quickly.
Does redis-inspect support both main and system caches?
Yes. redis-inspect can query and monitor Redis cache state across both main cache and system cache instances, giving you visibility into all your application's cached data. This dual-instance support helps you diagnose issues affecting different parts of your system.
What are redis-inspect's default permissions and write capabilities?
redis-inspect operates with read-only permissions by default, ensuring safe inspection of cache contents without accidental modifications. Optional write capabilities are available for cache management tasks when explicitly enabled, letting you clear or update cache entries when needed.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Redis Cache Inspector
Use this skill to inspect Redis cache state for debugging purposes.
Running Commands
node .claude/skills/redis-inspect/query.mjs <command> [options]
Commands
| Command | Description |
|---|---|
get <key> |
Get a string value |
keys <pattern> |
Find keys matching pattern (use * as wildcard) |
ttl <key> |
Get TTL (-1 = no expiry, -2 = not found) |
type <key> |
Get the type of a key |
exists <key> |
Check if key exists |
hgetall <key> |
Get all fields from a hash |
hget <key> <field> |
Get a specific hash field |
scard <key> |
Get set cardinality (count) |
smembers <key> |
Get all set members |
llen <key> |
Get list length |
lrange <key> |
Get list elements |
del <key> |
Delete a key (requires --writable) |
info |
Get Redis server info |
Options
| Flag | Description |
|---|---|
--sys |
Use system cache |
(truncated - see the full file via the links below)
File tree — 3 files
.claude/skills/redis-inspect/.env.example
.claude/skills/redis-inspect/SKILL.md
.claude/skills/redis-inspect/query.mjs
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Inspect Redis cache keys, values, and TTLs for debugging”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Master Redis operations across strings, hashes, lists, sets, and sorted sets with real-world examples. Learn persistence strategies, replication setup, and cluster configuration alongside performance monitoring and troubleshooting techniques.
This skill provides direct access to the Retool PostgreSQL database, letting you retrieve moderation notes, user notes, and other data managed through Retool dashboards. Queries run read-only by default for safety, with write operations available only when explicitly enabled and permitted. Use it to explore table schemas, look up user-specific notes, or investigate Retool-managed records.
This skill scaffolds a new application directory within the monorepo, automatically wiring only the @civitai/* packages your app requires. It handles dependency cherry-picking, Vite/Next transpile configuration, environment variable setup, and server-side shims for auth, database, Redis, and other integrations. Follow the interactive workflow to gather inputs, copy the base framework structure, apply per-package recipes, and verify the build.
Upstash Redis Kv connects to Upstash's Redis-compatible key-value store through a REST interface, enabling you to persist and query data using standard Redis commands. The skill supports all major Redis data structures—strings, hashes, lists, sets, and sorted sets—along with operations like caching, counters, and leaderboards.
meilisearch-admin provides read-only inspection of Meilisearch instances, letting you check server health, track indexing tasks by status, and examine index settings and attributes. Query both main search and feed/metrics instances to diagnose stuck indexing, locate failed tasks, and verify index configuration.
This skill teaches Redis data structures—strings, lists, hashes, sets, and sorted sets—along with key management, transactions, and pub/sub messaging. Learn to configure Redis as a data store, execute atomic operations, and build caching solutions for agent workflows.
More skills postgres-query (Apache-2.0) · redis (MIT) · freshdesk (Apache-2.0)