upstash-redis-kv

Store and retrieve data in Upstash Redis via REST API.

321|26|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/mkurman/tamux --skill upstash-redis-kv-mkurman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: upstash-redis-kv
Source: https://github.com/mkurman/tamux/tree/main/skills/productivity/agent-skills/upstash-redis-kv
Command: npx skills add https://github.com/mkurman/tamux --skill upstash-redis-kv-mkurman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill enables reliable storage and retrieval of data using Upstash's Redis-compatible REST API, helping apps persist session data, cache results, and coordinate state across conversations.

Core Features & Use Cases

  • REST-based Redis KV operations (GET, SET, HGETALL, MGET, and more) to store and fetch lightweight data.
  • Use Case: persist user sessions, implement counters, queues, and ephemeral caches across interactions.

Quick Start

Run a command to fetch a key from Upstash using the provided REST client.

Frequently Asked Questions about upstash-redis-kv

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I store and retrieve session data in Upstash Redis using a REST API?

To store and retrieve session data in Upstash Redis via REST, you use key-value operations like GET and SET. This approach enables reliable state persistence and caching across multiple conversations without managing direct database connections.

What environment variables do I need to configure for Upstash Redis REST access?

Configuring Upstash Redis REST access requires the UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN environment variables. You can also override these defaults by passing --url and --token arguments directly to the execution script.

Can I implement counters and queues using Redis REST API operations?

Yes, you can implement counters and simple queues using Redis REST API operations. The skill supports common operations like GET, SET, HGETALL, and MGET, which are sufficient for managing ephemeral caches and coordinating state across interactions.

What is the best way to run Upstash Redis key-value operations in a serverless environment?

The best way to run Upstash Redis key-value operations in a serverless environment is via REST API calls. This skill uses bun run to execute its client script, allowing you to fetch and store lightweight data without persistent connections.

Does this approach support retrieving multiple Redis keys at once?

Yes, retrieving multiple Redis keys at once is supported through the MGET operation. The skill covers common key-value operations including MGET and HGETALL, allowing you to fetch multiple values or entire hash structures efficiently via REST.