upstash-redis-kv

upstash-redis-kv is a skill for Claude Code, Codex from intellectronica/agent-skills. It costs 74 tokens per session (3,328 once invoked), scanned A, original, CC0-1.0.

A command-based interface for storing and retrieving data in Upstash Redis, a web-accessible key-value database. It supports Redis data operations through the Upstash REST API.

In plain words
What is it for?
Use it for reading and writing keys, setting expiration rules, updating multiple values, and working with Redis strings, lists, sets, hashes, counters, and sorted sets.
Why use it?
It provides a direct way to work with stored values and common Redis structures from the project’s scripts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for reading and writing keys, setting expiration rules, updating multiple values, and working with Redis strings, lists, sets, hashes, counters, and sorted sets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/intellectronica/agent-skills/upstash-redis-kv
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add intellectronica/agent-skills --skill upstash-redis-kv
Clone the repo
git clone --depth 1 https://github.com/intellectronica/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for upstash-redis-kv

README.md
[![agentmods](https://agentmods.dev/badge/skills/intellectronica/agent-skills/upstash-redis-kv/github.svg)](https://agentmods.dev/skills/intellectronica/agent-skills/upstash-redis-kv)
Your own site
<a href="https://agentmods.dev/skills/intellectronica/agent-skills/upstash-redis-kv"><img src="https://agentmods.dev/badge/skills/intellectronica/agent-skills/upstash-redis-kv/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for upstash-redis-kv

Your own site · 80×15
<a href="https://agentmods.dev/skills/intellectronica/agent-skills/upstash-redis-kv"><img src="https://agentmods.dev/badge/skills/intellectronica/agent-skills/upstash-redis-kv.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,328 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.03328
Opus 5.5 $0.00030 $0.01331
Sonnet 5.5 $0.00015 $0.00666
Haiku 4.5 $0.00007 $0.00333

Measured 3mo ago against content hash 5c31ad5b2ed1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

upstash-redis-kv scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/upstash-client.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/upstash-redis-kv/SKILL.md · 433 lines

How it starts

The opening of the file, as written. The whole thing — 433 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

# Multiple keys (key/value pairs)
MGET <key1> [key2...]
MSET <key1> <val1> [key2 val2...]
MSETNX <key1> <val1> [key2 val2...]    # Set all if none exist

# Counters
INCR <key>
INCRBY <key> <increment>
INCRBYFLOAT <key> <increment>
DECR <key>
DECRBY <key> <decrement>

# String manipulation
APPEND <key> <value>
STRLEN <key>
GETRANGE <key> <start> <end>
SETRANGE <key> <offset> <value>

Hash Commands

Hashes store field-value pairs. Pass fields and values as alternating arguments:

# Set hash fields (field/value pairs)
HSET <key> <field1> <val1> [field2 val2...]
HSETNX <key> <field> <value>           # Set field if not exists

# Get hash fields
HGET <key> <field>
HMGET <key> <field1> [field2...]
HGETALL <key>

# Hash operations
HDEL <key> <field1> [field2...]
HEXISTS <key> <field>
HKEYS <key>
HVALS <key>
HLEN <key>
HINCRBY <key> <field> <increment>
HINCRBYFLOAT <key> <field> <increment>
HSCAN <key> <cursor> [MATCH pattern] [COUNT count]

Read the full file on GitHub · 433 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 433 lines · 74 tokens per session scan A 5c31ad5b2ed1

Subscribe to this mod's changes

upstash-redis-kv is a skill published in the GitHub repository intellectronica/agent-skills (305 stars, last pushed 7mo ago), licensed CC0-1.0. It adds 74 tokens to every session and 3,328 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

upstash-redis-kv compared with skills from other repositories

upstash-redis-kv next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
upstash-redis-kvintellectronica/agent-skillsSkill3057mo agoCC0-1.0A74Claude Code, Codex
azure-cache-redisMicrosoftDocs/Agent-SkillsSkill82422d agoCC-BY-4.0A115Claude Code
azure-managed-redisMicrosoftDocs/Agent-SkillsSkill82422d agoCC-BY-4.0A86Claude Code
laravel-asyncFoysal50x/skillsSkill121mo agoMITA86Claude Code
cache-engineeringchaunsin/agent-skillsSkill211d agoApache-2.0A99Claude Code, Codex
offline-first-expertJosephSanjaya/skillsSkill51mo agoMITA57Claude Code, Codex
redis-clichaunsin/agent-skillsSkill211d agoApache-2.0B143Claude Code, Codex