This is a full-featured Redis client that talks to Upstash's REST API, giving you persistent key-value storage across Claude conversations. You get the complete Redis toolkit: strings, hashes, lists, sets, sorted sets, plus all the usual expiration and key management commands. It's genuinely useful when you need to cache data between messages, maintain counters or leaderboards, or store structured data that survives past the current chat. The implementation is solid with support for credential overrides and proper command-line flags. One thing to watch: it uses the REST interface rather than native Redis protocol, so there's some HTTP overhead, but that's the tradeoff for serverless Redis.

skills.sh installs
473
GitHub stars
301
last updated
Aug 21, 2026

Install

$ npx -y skills add intellectronica/agent-skills --skill upstash-redis-kv --agent claude-code

Installs into .claude/skills of the current project.

Files

Upstash Redis Key-Value Store

Interact with Upstash's Redis-compatible key-value store using the REST interface.

Script Location

bun run scripts/upstash-client.ts <command> [args...]

IMPORTANT: Always run with bun run, not directly.

Configuration

Environment Variables

The script uses these environment variables by default:

  • UPSTASH_REDIS_REST_URL - The Upstash REST API URL
  • UPSTASH_REDIS_REST_TOKEN - The Upstash REST API token

Overriding Credentials

If the user provides credentials from another source (conversation context, a file, etc.), use the --url and --token flags to override environment variables:

bun run scripts/upstash-client.ts --url "https://..." --token "AX..." GET mykey

Priority: Command-line flags > Environment variables

Command Reference

String Commands

# Get/Set
GET <key>
SET <key> <value> [--ex seconds] [--px ms] [--nx] [--xx] [--keepttl] [--get]
SETNX <key> <value>                    # Set if not exists
SETEX <key> <seconds> <value>          # Set with expiration

Sponsors

Details

Repository
github.com/intellectronica/agent-skills
Categories
Backend & APIs, AI & Agent Building, Design & UI/UX, Databases
License
CC0-1.0
First seen
Jun 3, 2026

More from intellectronica/agent-skills

All 22
1secondsky avatarapi-reference-documentationsecondsky/claude-skillsCreates professional API documentation using OpenAPI specifications with endpoints, authentication, and interactive examples. Use when documenting REST APIs, cr465skills.sh installs
2aj-geddes avataraws-rds-databaseaj-geddes/useful-ai-promptsDeploy and manage relational databases using RDS with Multi-AZ, read replicas, backups, and encryption. Use for PostgreSQL, MySQL, MariaDB, and Oracle.453skills.sh installs
3davila7 avatarbackend-patternsdavila7/claude-code-templatesBackend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.452skills.sh installs
4secondsky avatardatabase-schema-designsecondsky/claude-skillsDatabase schema design for PostgreSQL/MySQL with normalization, relationships, constraints. Use for new databases, schema reviews, migrations, or encountering m437skills.sh installs
5jezweb avatarbetter-authjezweb/claude-skillsSelf-hosted auth for TypeScript/Cloudflare Workers with social auth, 2FA, passkeys, organizations, RBAC, and 15+ plugins. Requires Drizzle ORM or Kysely for D1 434skills.sh installs
6secondsky avatarnuxt-serversecondsky/claude-skills| Nuxt 4 server-side development with Nitro: API routes, server middleware, database integration, and backend patterns. Use when: creating server API routes, im415skills.sh installs