redis

redis is a skill for Claude Code, Codex from dhaupin/vant. It costs 7 tokens per session (353 once invoked), scanned A, original, MIT.

An in-memory data store that keeps values in fast-access memory. It supports strings, hashes, lists, sets, and publish-and-subscribe messages.

In plain words
What is it for?
Use it for caching database results, storing sessions with an expiry, sending application events, and limiting repeated requests.
Why use it?
It can reduce repeated database work, store temporary sessions, support real-time messages, and count requests for rate limits.

Skill for Claude CodeCodex

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

Good fit Use it for caching database results, storing sessions with an expiry, sending application events, and limiting repeated requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dhaupin/vant/vant-skill-redis
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 dhaupin/vant --skill vant-skill-redis
Clone the repo
git clone --depth 1 https://github.com/dhaupin/vant

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 redis

README.md
[![agentmods](https://agentmods.dev/badge/skills/dhaupin/vant/vant-skill-redis/github.svg)](https://agentmods.dev/skills/dhaupin/vant/vant-skill-redis)
Your own site
<a href="https://agentmods.dev/skills/dhaupin/vant/vant-skill-redis"><img src="https://agentmods.dev/badge/skills/dhaupin/vant/vant-skill-redis/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 redis

Your own site · 80×15
<a href="https://agentmods.dev/skills/dhaupin/vant/vant-skill-redis"><img src="https://agentmods.dev/badge/skills/dhaupin/vant/vant-skill-redis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 353 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.
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.00007 $0.00353
Opus 5.5 $0.00003 $0.00141
Sonnet 5.5 $0.00001 $0.00071
Haiku 4.5 $0.00001 $0.00035

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

Security

Grade A, and why

redis 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 1mo 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.

models/public/vant/skills/vant-skill-redis/SKILL.md · 92 lines

What it actually says

Redis

In-memory data store.


When To Use

  • Caching
  • Sessions
  • Real-time
  • Rate limiting

What To Do

1. Connect

import { createClient } from 'redis'

const client = createClient({
  url: 'redis://localhost:6379'
})
await client.connect()

2. Operations

Command What
get/set String values
hget/hset Hash values
lpush/lrange Lists
sadd/smembers Sets
publish Pub/sub

3. Patterns

// Cache
await client.set('user:1', JSON.stringify(user))
const user = JSON.parse(await client.get('user:1'))

// Session
await client.setex(`sess:${id}`, 3600, data)

// Rate limit
const count = await client.incr(`ratelimit:${key}`)

4. Use Cases

Use Benefit
Cache DB Speed
Session store Speed
Pub/Sub Real-time
Rate limit Security

Output

## Redis

| Key | Type | TTL |
|-----|------|-----|
| user:1 | string | [n]s |

### operations
- [n] total

Role: Redis Operator
Input: Keys, values
Output: Fast data

In-memory speed.

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. 1mo ago First seen · 92 lines · 7 tokens per session scan A c7c5d4fdacb4

Subscribe to this mod's changes

redis is a skill published in the GitHub repository dhaupin/vant (12 stars, last pushed yesterday), licensed MIT. It adds 7 tokens to every session and 353 once invoked, about $0.0000 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-31.

Related

Other skills, from other repositories

quarry

Query PostgreSQL, MySQL, Redis and Neptune with Quarry (qy), compare data across environments, maintain reusable queries, and manage connections or the database workbench. Use for database evidence or explicit Quarry tasks, not general database design discussions.

yiminspace/quarry · 51 tokens

benchling-integration

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

synthetic-sciences/openscience · 44 tokens

pr-writing-review

Extract and analyze writing improvements from GitHub PR review comments. Use when asked to show review feedback, style changes, or editorial improvements from a GitHub pull request URL. Handles both explicit suggestions and plain text feedback. Produces structured output comparing original phrasing with reviewer…

evalstate/fast-agent · 64 tokens

x-osv

CLI for Google OSV database. Query vulnerabilities for packages, scan local projects for vulnerable dependencies. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill). Required Tool: Install osv-scanner for project scanning (see https://github.com/google/osv-scanner).

x-cmd/x-cmd · 72 tokens

fast-agent-design

Use this skill to generate well-branded interfaces and assets for fast-agent, either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for protoyping.

evalstate/fast-agent · 52 tokens

byted-milvus

Manages Milvus on Volcano Engine (Volcengine): provision/inspect/scale/delete clusters and run collection + CRUD/search operations via bundled CLIs. Use when the user mentions Milvus + Volcengine/Volcano Engine or asks to operate Milvus there.

bytedance/agentkit-samples · 0 tokens