Skip to content

Upstash Redis JS - Setup Guide

Source: upstash/redis-js via skills.sh - 2.0K combined installs across 1 indexed listing; first seen 2026-11-30 (Nov 30 evening sweep)

GitHub: upstash/redis-js, 989 stars, MIT license, branch main, last pushed 2026-11-27, not archived. The skill lives in skills/SKILL.md at the repo root, with supporting guides under skills/ organized across data structures, patterns, search, performance, migrations and advanced features.

Category: Data Layer - serverless Redis client and SDK usage guides

Quality Tier: 🟡 the single sampled listing passes Gen Agent Trust Hub and Snyk, while Socket warns.

upstash/redis-js is Upstash's official agent skill for @upstash/redis, an HTTP/REST based Redis client for TypeScript. It is the only connectionless (HTTP based) Redis client, built on top of the Upstash REST API and designed for environments where TCP is unavailable or undesirable: serverless functions, Cloudflare Workers, Fastly Compute@Edge, Next.js and Jamstack apps, client-side web and mobile apps, and WebAssembly. The project is in GA stage with Upstash Professional Support coverage.

The repo ships a single indexed skill, redis-js, backed by a SKILL.md plus a full set of supporting guides under skills/ covering every Redis data structure (strings, hashes, lists, sets, sorted sets, streams, JSON, arrays, vector indexes), common patterns (caching, distributed locks, leaderboards, rate limiting, session management), full-text search, migrations from ioredis and node-redis, and performance tuning.

Installation

npm install @upstash/redis

For Deno, import from esm.sh:

import { Redis } from "https://esm.sh/@upstash/redis";

Create a Redis database on the Upstash console, then initialize with the REST URL and token, or read them from the environment with Redis.fromEnv() (UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN).

What It Provides

Skill Installs Use For
redis-js 2,020 HTTP based Redis client for caching, session storage, rate limiting, leaderboards, full-text search and all Redis data structures

No indexed listings fall below the 1-install threshold.

Why This Matters for Hermes Agents

Most Redis clients open a persistent TCP connection, which breaks in serverless and edge runtimes where sockets are recycled or unavailable. upstash/redis-js is connectionless: every command is an HTTP request against the Upstash REST API, so state survives cold starts and works in Cloudflare Workers, Fastly, Vercel and AWS Lambda without connection pooling. For a Hermes agent, that means a single skill provides a durable key-value and data-structure layer that behaves the same from any runtime. The skill is not a thin wrapper: its supporting guides walk an agent through every Redis data structure with automatic TypeScript serialization, plus higher-level patterns such as caching, distributed locks, leaderboards, rate limiting and session management. Search and vector index guides extend the same client into full-text search and nearest-neighbour queries. If an agent already uses a TCP client, the from-ioredis and from-redis-node migration guides map the equivalent calls onto the HTTP client. The result is a self-contained reference an agent can follow to add state, caching or search to serverless code without external docs.

Usage

You say What happens
"cache this API response" Stores the value with a TTL using the caching pattern from the skill
"add a leaderboard" Uses zadd and zrange on a sorted set to rank and read scores
"rate limit this endpoint" Applies the rate-limiting pattern with counters and expirations
"store and query JSON" Uses JSON commands to set, get and query nested documents
"run a full-text search" Builds an index and queries it via the search guides
"migrate from ioredis" Walks the from-ioredis guide to map TCP client calls onto the HTTP client

Verification

After install, confirm the skill files landed in place:

ls skills/

Review the SKILL.md before you rely on it:

curl -sL https://raw.githubusercontent.com/upstash/redis-js/main/skills/SKILL.md

The repo is small and human-readable: a single SKILL.md plus supporting guide files under skills/ organized across data structures, patterns, search, performance, migrations and advanced features.

Security

skills.sh verdicts for sampled skills (verified 2026-11-30) - re-check the security pages on skills.sh before production use:

Skill Gen Agent Trust Hub Socket Snyk
redis-js Pass Warn Pass

Across the one sampled skill the three scanners returned 2 Pass, 1 Warn and 0 Fail.

Integration with CorpusIQ

CorpusIQ is the connector layer that lets AI assistants read the systems a business already runs on - accounting, payments, CRM, email, files and analytics - and answer with the source named. It is read-only by design: it retrieves data and never writes to, or acts in, a connected system, which is what makes it safe to point at live accounts.

This page is part of the CorpusIQ directory, the reference we maintain for the MCP server and agent-skill ecosystem. Run alongside CorpusIQ, a third-party server like this one can be combined with a company's own business data in a single answer.

See what CorpusIQ connects

Limitations

  • Snapshot data, verified 2026-11-30: 2,020 combined installs across 1 indexed listing; 989 GitHub stars; MIT license; last pushed 2026-11-27. Counts drift over time.
  • The client requires an Upstash account and database: it is a client for Upstash's hosted REST API, not a connector for a self-hosted Redis server.
  • The Socket scanner warns on this skill, so review it before production use.
  • Install counts are skills.sh metrics and may not reflect actual repository usage.
  • Security verdicts are a point-in-time sample of one skill; re-check before production use.

Skills Catalog | Skills Marketplace

Pro Tips

  • Initialize with Redis.fromEnv() to read UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN from the environment instead of hardcoding credentials.
  • Opt out of telemetry with UPSTASH_DISABLE_TELEMETRY=1 or enableTelemetry: false in the client options.
  • Use the search adapters (@upstash/search-redis, @upstash/search-ioredis) when you need full-text search over a TCP-connected Redis.
  • Read the data-structures guides first: they show automatic serialization of JavaScript types, which changes how you pass values.
  • For edge runtimes, prefer the HTTP client over any TCP-based Redis client to avoid connection issues.

← Skills Catalog | Skills Marketplace → Powered by CorpusIQ

AI answers on your data. See where every number comes from.

Connect your tools and ask in ChatGPT, Claude, or Perplexity. Enterprise-grade answers in minutes. From $29.95/month.

Start free, no credit card
Contact Terms Privacy Pricing