calcosmic/aether/redis
Claude Code and agent skill by calcosmic/aether
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when the project uses Redis for caching, pub/sub, session storage, or message streaming
Install
npx vskill@latest install calcosmic/aether/redisSKILL.md
The same SKILL.md was published earlier as calcosmic/aether/redis.
Redis Best Practices
Data Structure Selection
- Use
STRINGfor simple key-value: session tokens, counters, cached HTML - Use
HASHfor object-like data: user profiles, configuration maps --HGETALL,HMSET - Use
LISTfor ordered queues and stacks:LPUSH/RPOPfor FIFO,LPUSH/LPOPfor LIFO - Use
SETfor unique membership: tags, followers --SADD,SISMEMBER,SINTERfor intersections - Use
SORTED SETfor leaderboards and ranked data:ZADDwith scores,ZRANGEBYSCOREfor ranges - Use
STREAMfor append-only event logs:XADD,XREADGROUPwith consumer groups for processing
Caching Strategies
- Implement cache-aside as the default: app checks Redis first, on miss fetches from DB and writes back
- Set TTL on every cached key:
SETEX key 3600 value-- never store without expiration unless intentional - Use key naming conventions:
{entity}:{id}:{field}for hash fields,{entity}:list:{query}for result sets - Handle cache stampede with lock-and-fetch: use
SETNXas a mutex to prevent thundering herd - Invalidate with explicit
DELor pattern-basedSCAN+DEL; avoidKEYS *in production
Pub/Sub and Messaging
- Use
PUBLISH/SUBSCRIBEfor fire-and-forget messaging: notifications, real-time updates - Use
STREAMwith consumer groups for durable, replayable message processing - Design messages as JSON or MessagePack; include
id,timestamp,type, andpayloadfields - Handle backpressure: use
XREADGROUPwithBLOCKandCOUNTto control consumption rate - Claim pending messages with
XAUTOCLAIMorXPENDING+XCLAIMfor crash recovery
Redis Cluster and Scaling
- Use Redis Cluster for horizontal scaling when data exceeds a single node's memory
- Hash tags
{key}ensure related keys land on the same slot for multi-key operations - Use
CLUSTER NODESandCLUSTER INFOfor monitoring cluster health in automation - Avoid
KEYS,SORT, and multi-key operations across slots in cluster mode - Configure
maxmemory-policy-- useallkeys-lrufor caching,noevictionfor queues
Modules and Extensions
- Use RediSearch for full-text search:
FT.CREATEindexes,FT.SEARCHwith filtering and ranking - Use RedisJSON for native JSON document storage:
JSON.SET,JSON.GETwith path queries - Use RedisTimeSeries for IoT metrics:
TS.CREATE,TS.ADDwith compaction rules - Evaluate module cost vs. benefit -- modules increase memory usage and operational complexity
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.aether/skills/domain/redis/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 1
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/calcosmic/aether/redis)