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.
npx skills add intellectronica/agent-skills --skill upstash-redis-kvgit clone --depth 1 https://github.com/intellectronica/agent-skillsWrote 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.
[](https://agentmods.dev/skills/intellectronica/agent-skills/upstash-redis-kv)<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.
<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>- Socket pass
- Snyk pass
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.
| Model | Per session | Once 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 |
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.
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.
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 URLUPSTASH_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]
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.
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.
- 3mo ago First seen · 433 lines · 74 tokens per session scan A 5c31ad5b2ed1
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.
upstash-redis-kv compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| upstash-redis-kvintellectronica/agent-skills | Skill | 305 | 7mo ago | CC0-1.0 | A | 74 | Claude Code, Codex |
| azure-cache-redisMicrosoftDocs/Agent-Skills | Skill | 824 | 22d ago | CC-BY-4.0 | A | 115 | Claude Code |
| azure-managed-redisMicrosoftDocs/Agent-Skills | Skill | 824 | 22d ago | CC-BY-4.0 | A | 86 | Claude Code |
| laravel-asyncFoysal50x/skills | Skill | 12 | 1mo ago | MIT | A | 86 | Claude Code |
| cache-engineeringchaunsin/agent-skills | Skill | 2 | 11d ago | Apache-2.0 | A | 99 | Claude Code, Codex |
| offline-first-expertJosephSanjaya/skills | Skill | 5 | 1mo ago | MIT | A | 57 | Claude Code, Codex |
| redis-clichaunsin/agent-skills | Skill | 2 | 11d ago | Apache-2.0 | B | 143 | Claude Code, Codex |