Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides a CLI client for reading and writing Upstash Redis data via its REST API, including strings, hashes, lists, sets and sorted sets.
Use this skill ↓14% 55%+41 ptsof test cases passed
Passed 12 of 22 test cases with the skill, and 3 of 22 without it.
3 of 3 safety checks passed
Not used yet
Interact with Upstash's Redis-compatible key-value store using the REST interface.
bun run scripts/upstash-client.ts <command> [args...]
IMPORTANT: Always run with bun run, not directly.
The script uses these environment variables by default:
UPSTASH_REDIS_REST_URL - The Upstash REST API URLUPSTASH_REDIS_REST_TOKEN - The Upstash REST API tokenIf 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
# 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
Next to this one in the catalogue, plus more from the same author.