Vant skill redis
Vant: Durable AI memory + cold storage + runtime for agents, with generational evolution, stored passively via GitHub. Built for long-running autonomous sessions, using file based persistence.
npx -y skills add dhaupin/vant --skill vant-skill-redisAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 7 stars7 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 author says it does
Copied from the file, not written here
In-memory data store.
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
| 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.