Inspect your cache
If you ask
“Show me all keys matching 'session:*' and tell me the TTL of the 5 most recent ones”
Then
Scan keys matching a pattern and see what data is stored.
Works in Claude, Codex, Cursor & any MCP agent
How this prompt works
-
Turn on the Redis connector in Claude, ChatGPT or Cursor — once.
-
Paste the prompt above. No code, no menus.
-
Scan keys matching a pattern and see what data is stored.
Level up: install the Redis skill
A prompt you paste once. A skill your agent keeps — playbooks and defaults it loads every session. Official pack.
npx skills add redis/agent-skills FAQ
How do I inspect your cache with Redis?
Add the Redis MCP connector once, then paste this prompt into Claude or ChatGPT: "Show me all keys matching 'session:*' and tell me the TTL of the 5 most recent ones". Your AI runs it in Redis.
Do I need to code?
No. You install the connector once (a short config or one click), then ask in plain words. The prompt on this page works as-is.
Which AI assistants work?
Claude (Desktop, Code), Cursor, ChatGPT and other MCP clients. The same prompt works across them.
Set up Redis in Claude
Copy-paste config, setup steps and more ready-to-run prompts on the connector page.
Open Redis setupMore prompts