Agent skill

Redis Expert

by RightNow-AI in RightNow-AI/openfang

Redis expert for data structures, caching patterns, Lua scripting, and cluster operations

Apache-2.0Auto-check passedDatabases

Install Redis Expert

skills CLI
$ npx skills add RightNow-AI/openfang --skill redis-expert -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install RightNow-AI/openfang redis-expert --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/RightNow-AI/openfang.git skills-src && mkdir -p .claude/skills && cp -r skills-src/crates/openfang-skills/bundled/redis-expert .claude/skills/redis-expert && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
redis-expert
GitHub stars
18k
Token cost
~821 tokens
SKILL.md length
452 words
Files
1
Skills in repo
68
Repo updated
First seen
Licence
Apache-2.0

At a glance

Redis expert for data structures, caching patterns, Lua scripting, and cluster operations

  • Tasks that involve Container orchestration
  • SKILL.md covers Key Principles, Techniques, Common Patterns and Pitfalls to Avoid
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Caching

What it does

Redis Expert is an agent skill from RightNow-AI/openfang. Redis expert for data structures, caching patterns, Lua scripting, and cluster operations

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering Container orchestration and Caching. It works with Redis and Lua. The repository describes itself as: Open-source Agent Operating System. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Container orchestration
  • Tasks that involve Caching

Example prompts

  • “/redis-expert”

What it can do on your machine

Read from SKILL.md and the folder at commit acf2587. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Redis Expert loads about 821 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 452 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~821

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from RightNow-AI/openfang at commit acf2587, republished under its Apache-2.0 licence (© RightNow-AI). 452 words, ~821 tokens.

Download SKILL.mdSave it as .claude/skills/redis-expert/SKILL.md (or your agent's skills folder).
name
redis-expert
description
Redis expert for data structures, caching patterns, Lua scripting, and cluster operations

Redis Data Store Expertise

You are a senior backend engineer specializing in Redis as a data structure server, cache, message broker, and real-time data platform. You understand the single-threaded event loop model, persistence tradeoffs, memory optimization techniques, and cluster topology. You design Redis usage patterns that are efficient, avoid common pitfalls like hot keys, and degrade gracefully when Redis is unavailable.

Key Principles

  • Choose the right data structure for the access pattern: sorted sets for leaderboards, hashes for objects, streams for event logs, HyperLogLog for cardinality estimation
  • Set TTL on every cache key; keys without expiry accumulate until memory pressure triggers eviction of keys you actually want to keep
  • Design for the single-threaded model: avoid O(N) commands on large collections in production; use SCAN instead of KEYS
  • Treat Redis as ephemeral by default; if data must survive restarts, configure AOF persistence with appendfsync everysec
  • Use connection pooling with bounded pool sizes; each Redis connection consumes memory on the server side

Techniques

  • Pipeline multiple commands with MULTI/EXEC or client-side pipelining to reduce round-trip latency from N calls to 1
  • Write Lua scripts with EVAL for atomic multi-step operations: read a key, compute, write back, all without race conditions
  • Use Redis Streams with XADD, XREADGROUP, and consumer groups for reliable message processing with acknowledgment
  • Apply sorted sets with ZADD, ZRANGEBYSCORE, and ZREVRANK for leaderboards, rate limiters, and priority queues
  • Store structured objects as hashes with HSET/HGETALL rather than serialized JSON strings to enable partial updates
  • Use OBJECT ENCODING and MEMORY USAGE commands to understand the internal representation and memory cost of keys
Show full SKILL.md (192 more words)Show less

Common Patterns

  • Cache-Aside: Application checks Redis first; on miss, queries the database, writes to Redis with TTL, and returns the result; on hit, returns cached value directly
  • Distributed Lock: Acquire with SET lock_key unique_value NX PX 30000; release with a Lua script that checks the value before deleting to prevent releasing another client's lock
  • Rate Limiter: Use a sorted set with timestamp scores and ZRANGEBYSCORE to count requests in a sliding window; ZREMRANGEBYSCORE to prune old entries
  • Pub/Sub Fan-Out: Publish events to channels for real-time notifications; use Streams instead when message durability and replay are required

Pitfalls to Avoid

  • Do not use KEYS * in production; it blocks the event loop and scans the entire keyspace; use SCAN with a cursor for incremental iteration
  • Do not store large blobs (images, files) in Redis; it increases memory pressure and replication lag; store references and keep blobs in object storage
  • Do not rely solely on RDB snapshots for persistence; a crash between snapshots loses all intermediate writes; combine with AOF for durability
  • Do not assume Lua scripts are interruptible; a long-running Lua script blocks all other clients; set lua-time-limit and design scripts to be fast

© RightNow-AI, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in crates/openfang-skills/bundled/redis-expert of RightNow-AI/openfang.

Open the folder on GitHubat commit acf2587

Compare with similar skills

Redis Expert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Redis Expert compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Redis Expert this skillRightNow-AI/openfang18k—~821Automated safety check: PassApache-2.0
Redis Patternsrohitg00/awesome-claude-code-toolkit2.7k—~1.2kAutomated safety check: PassApache-2.0
Mail Timeveliovgroup/mail-time143—~1kAutomated safety check: PassBSD-3-Clause
Tgf Server Devthkhxm/tgf128—~1.3kAutomated safety check: NotesMIT
Redis Coreredis/agent-skills1662 repos~759Automated safety check: PassMIT
Configure REST Cachestrapi-community/plugin-rest-cache155—~1.1kAutomated safety check: PassMIT

Similar skills

  • Redis Patterns

    rohitg00/awesome-claude-code-toolkit

    Redis patterns including caching strategies, pub/sub, streams for event processing, Lua scripts, and data structures

    2.7k GitHub stars~1.2k tokensUpdated 5 mo ago
    DatabasesAuto-check passed
  • Mail Time

    veliovgroup/mail-time

    A skill your agent uses when building, wiring, reviewing, or debugging MailTime and ostrio:mailer email queues for horizontally scaled Node.js, Bun, or Meteor apps.

    143 GitHub stars~1k tokensUpdated 3 days ago
    DatabasesAuto-check passed
  • Tgf Server Dev

    thkhxm/tgf

    基于 tgf v2(github.com/thkhxm/tgf/v2)用确定性的 tgfctl 工作流创建、验证和维护 Go 游戏服务器项目。

    128 GitHub stars~1.3k tokensUpdated 2 mo ago
    DatabasesAuto-check: notes
  • Redis Core

    redis/agent-skills

    Official

    Core Redis modeling guidance — choose the right data structure (String, Hash, List, Set, Sorted Set, JSON, Stream, Vector Set) and use consistent colon-separated key names.

    166 GitHub starsUsed in 2 repos~759 tokens
    DatabasesAuto-check passed
  • Configure REST Cache

    strapi-community/plugin-rest-cache

    Choose and write a Strapi REST Cache configuration for a specific use case.

    155 GitHub stars~1.1k tokensUpdated 12 days ago
    DatabasesAuto-check passed
  • Redis Connections

    redis/agent-skills

    Official

    Redis client and connection guidance covering connection pooling, multiplexing, pipelining, client-side caching with RESP3, avoiding slow commands (KEYS, SMEMBERS, HGETALL), and tuning socket…

    166 GitHub starsUsed in 1 repo~1.3k tokens
    DatabasesAuto-check passed

More from RightNow-AI/openfang

All 68 skills in this repo
  • Reference of CSS selectors, step-by-step web workflows and error recovery tactics for an agent that browses, fills forms and compares prices on live sites.

    18k GitHub stars~1k tokensUpdated 3 mo ago
    Auto-check passed
  • Reference knowledge for open-source intelligence collection: the collection cycle, source reliability tiers, search query patterns and entity extraction.

    18k GitHub stars~2.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Lead Generation Research Guide

    RightNow-AI/openfang

    Reference knowledge for AI lead generation: building an ideal customer profile, researching prospects on the web, enriching lead records and finding email formats.

    18k GitHub stars~1.8k tokensUpdated 3 mo ago
    Auto-check passed
  • Video Clipping Reference

    RightNow-AI/openfang

    Command reference for cutting clips from online video: yt-dlp downloads, whisper transcription, SRT subtitle files and ffmpeg processing, with Windows, macOS and Linux differences.

    18k GitHub stars~4.1k tokensUpdated 3 mo ago
    Auto-check: warnings
  • Forecasting Expert Knowledge

    RightNow-AI/openfang

    Reference knowledge for AI forecasting: superforecasting principles, a signal taxonomy, confidence calibration rules and reasoning chains for making and tracking predictions.

    18k GitHub stars~2.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Deep Research Methodology

    RightNow-AI/openfang

    Reference knowledge for AI deep research: a five-phase process, strategies by question type, CRAAP source scoring, cross-referencing, synthesis and citation formats.

    18k GitHub stars~2.6k tokensUpdated 3 mo ago
    Auto-check passed

Works with

Categories

Questions about Redis Expert

What does Redis Expert do?

Redis expert for data structures, caching patterns, Lua scripting, and cluster operations. Redis Expert is an agent skill from RightNow-AI/openfang.

When should I use Redis Expert?

Redis Expert fits situations like: tasks that involve Container orchestration; tasks that involve Caching.

How do I install Redis Expert in Claude Code?

Run `npx skills add RightNow-AI/openfang --skill redis-expert -a claude-code`. Or copy the skill folder (crates/openfang-skills/bundled/redis-expert in RightNow-AI/openfang) into .claude/skills/redis-expert in your project. Claude Code loads it when a task matches its description.

How do I install Redis Expert in Codex?

Run `npx skills add RightNow-AI/openfang --skill redis-expert -a codex`. Or copy the skill folder (crates/openfang-skills/bundled/redis-expert in RightNow-AI/openfang) into .agents/skills/redis-expert in your project. Codex loads it when a task matches its description.

Can I use Redis Expert in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add RightNow-AI/openfang --skill redis-expert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/redis-expert, .gemini/skills/redis-expert, .github/skills/redis-expert and .opencode/skills/redis-expert in your project.

What does Redis Expert need to run?

SKILL.md names no scripts, command-line tools or credentials: Redis Expert is instructions for the agent only.

Does Redis Expert access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Redis Expert safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Redis Expert use?

Redis Expert is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Redis Expert use?

About 821 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Redis Expert?

Skills that share tags, products or a category with Redis Expert: Redis Patterns (rohitg00/awesome-claude-code-toolkit, 2.7k stars), Mail Time (veliovgroup/mail-time, 143 stars), Tgf Server Dev (thkhxm/tgf, 128 stars) and Redis Core (redis/agent-skills, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Redis Expert?

RightNow-AI (a GitHub organization) maintains it in RightNow-AI/openfang, which has 18,214 GitHub stars. The repository holds 68 skills in this directory. The repository was last updated on July 2, 2026.

Source: RightNow-AI/openfang on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.