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 jiushiwon/wg-skills --skill redis-guide-skillgit clone --depth 1 https://github.com/jiushiwon/wg-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/jiushiwon/wg-skills/redis-guide-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/redis-guide-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/redis-guide-skill/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/jiushiwon/wg-skills/redis-guide-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/redis-guide-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00137 | $0.02608 |
| Opus 5.5 | $0.00055 | $0.01043 |
| Sonnet 5.5 | $0.00027 | $0.00522 |
| Haiku 4.5 | $0.00014 | $0.00261 |
Grade A, and why
redis-guide-skill 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 2mo 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 — 392 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Redis Module Skill
面向已有后端项目的开发者,快速集成 Redis 能力。
能力清单
| 能力 | 说明 |
|---|---|
| 连接配置 | Jedis/Lettuce/RedisTemplate 配置 |
| 缓存操作 | String/Hash/List/Set/ZSet 操作 |
| 分布式锁 | Redisson/手动实现 |
| 限流 | 令牌桶/滑动窗口 |
| 消息队列 | List/Stream 延迟队列 |
| 计数器 | 点赞/访问量/排行榜 |
触发场景
用户说"帮我加 Redis"或"集成 Redis"时触发。
核心配置
Java (Spring Boot + Redis)
# application.yml
spring:
data:
redis:
host: ${REDIS_HOST:localhost}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:}
database: 0
lettuce:
pool:
max-active: 8
max-idle: 8
min-idle: 2
max-wait: -1ms
// RedisConfig.java
@Configuration
public class RedisConfig {
@Bean
public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory connectionFactory) {
RedisTemplate<String, Object> template = new RedisTemplate<>();
template.setConnectionFactory(connectionFactory);
// JSON 序列化
Jackson2JsonRedisSerializer<Object> serializer = new Jackson2JsonRedisSerializer<>(Object.class);
template.setKeySerializer(new StringRedisSerializer());
template.setValueSerializer(serializer);
template.setHashKeySerializer(new StringRedisSerializer());
template.setHashValueSerializer(serializer);
return template;
}
}
Python (FastAPI + Redis)
# config.py
class Settings(BaseSettings):
redis_host: str = "localhost"
redis_port: int = 6379
redis_password: str = ""
redis_db: int = 0
# redis_client.py
import redis
from typing import Optional
class RedisClient:
def __init__(self, settings: Settings):
self.client = redis.Redis(
host=settings.redis_host,
port=settings.redis_port,
password=settings.redis_password,
db=settings.redis_db,
decode_responses=True
)
def get(self, key: str) -> Optional[str]:
return self.client.get(key)
def set(self, key: str, value: str, expire: int = None):
self.client.set(key, value, ex=expire)
def hgetall(self, key: str) -> dict:
return self.client.hgetall(key)
def hset(self, key: str, field: str, value: str):
self.client.hset(key, field, value)
What ships with it
4 files 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.
- 2mo ago First seen · 392 lines · 137 tokens per session scan A 1c96cc98e339
redis-guide-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 137 tokens to every session and 2,608 once invoked, about $0.0005 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-09-16.
redis-guide-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| redis-guide-skilljiushiwon/wg-skills | Skill | 154 | 7d ago | Apache-2.0 | A | 137 | Claude Code, Codex |
| bex-keyvaluebex-co/bex | Skill | 1.0k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| redis-jsupstash/redis-js | Skill | 989 | 3d ago | MIT | A | 93 | Claude Code, Codex |
| using-redis-token-bucketsPostHog/posthog-foss | Skill | 734 | today | MIT | A | 148 | Claude Code, Codex |
| bun-redissecondsky/claude-skills | Skill | 257 | yesterday | MIT | A | 32 | Claude Code |
| database-redisHoangNguyen0403/agent-skills-standard | Skill | 598 | yesterday | MIT | A | 37 | Claude Code, Codex |
| nw-database-technology-selectionnWave-ai/nWave | Skill | 636 | 12d ago | MIT | A | 38 | Claude Code |