agentsclimarketplace

Vant skill redis

Skill dhaupin/vant/models/public/skills/vant-skill-redis

In-memory data store.From its SKILL.md

Install
npx -y skills add dhaupin/vant --skill vant-skill-redis

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

1.2 KB, 320 tokens by cl100k_base, as published. Nobody here has run it

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

CommandWhat
get/setString values
hget/hsetHash values
lpush/lrangeLists
sadd/smembersSets
publishPub/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

UseBenefit
Cache DBSpeed
Session storeSpeed
Pub/SubReal-time
Rate limitSecurity

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.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.