Bun Redis
Bun-Redis efficiently stores and retrieves data using Redis caching within SecondSky's bun runtime environment.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add bun-redis npx -- -y @trustedskills/bun-redis
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"bun-redis": {
"command": "npx",
"args": [
"-y",
"@trustedskills/bun-redis"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to efficiently store and retrieve data using Redis caching within the SecondSky bun runtime environment. It provides integration with popular Redis clients, allowing for operations like setting keys, retrieving values, managing lists, sets, hashes, and sorted sets. The skill supports various connection methods including self-hosted Redis instances, serverless/edge environments, and TLS connections.
When to use it
- Caching frequently accessed data: Improve application performance by storing results of expensive computations or database queries in Redis.
- Managing queues: Implement task queues for asynchronous processing using Redis lists.
- Tracking user sessions: Store session data in Redis for quick access and scalability.
- Implementing real-time leaderboards: Utilize sorted sets to maintain and retrieve leaderboard rankings.
- Storing application configuration: Use Redis as a centralized store for application settings.
Key capabilities
- Integration with
ioredis,@upstash/redis, and the official Node Redis client. - Support for various connection methods (default, options, connection string, TLS).
- String operations:
set,get,setex,del. - Hash operations:
hset,hget,hgetall,hincrby. - List operations:
rpush,lpush,lpop,blpop,lrange. - Set operations:
sadd,sismember,smembers,sinter,sunion. - Sorted set operations:
zadd,zrevrange,zrangebyscore,zincrby.
Example prompts
- "Store the value 'Hello' for key 'greeting' in Redis."
- "Retrieve the value associated with the key 'count' from Redis and increment it by 1."
- "Add 'task3' to the end of the list named 'queue'."
Tips & gotchas
- Requires a running Redis instance or access to a serverless/edge Redis environment.
- The specific client library used (
ioredis,@upstash/redis,redis) will influence connection details and available options. - Familiarity with Redis data structures (strings, lists, sets, hashes, sorted sets) is helpful for effective use of this skill.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.