Upstash Redis Kv
intellectronica/agent-skills
Read and write to Upstash Redis-compatible key-value store via REST API.
Redis LangCache guidance for semantic caching of LLM responses on Redis Cloud — calling search/set via the SDK or REST API, tuning the similarity threshold, separating caches per task type, and…
$ npx skills add redis/agent-skills --skill redis-semantic-cache -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install redis/agent-skills redis-semantic-cache --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/redis/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/redis-semantic-cache .claude/skills/redis-semantic-cache && rm -rf skills-srcUse ~/.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/
Install the "redis-semantic-cache" agent skill from https://github.com/redis/agent-skills/tree/main/skills/redis-semantic-cache into .claude/skills/redis-semantic-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redis-semantic-cache", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/redis/agent-skills/tree/main/skills/redis-semantic-cacheType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add redis/agent-skills --skill redis-semantic-cache -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install redis/agent-skills redis-semantic-cache --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redis/agent-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/redis-semantic-cache .agents/skills/redis-semantic-cache && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "redis-semantic-cache" agent skill from https://github.com/redis/agent-skills/tree/main/skills/redis-semantic-cache into .agents/skills/redis-semantic-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redis-semantic-cache", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add redis/agent-skills --skill redis-semantic-cache -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install redis/agent-skills redis-semantic-cache --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redis/agent-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/redis-semantic-cache .cursor/skills/redis-semantic-cache && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "redis-semantic-cache" agent skill from https://github.com/redis/agent-skills/tree/main/skills/redis-semantic-cache into .cursor/skills/redis-semantic-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redis-semantic-cache", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/redis/agent-skills.git --path skills/redis-semantic-cache--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add redis/agent-skills --skill redis-semantic-cache -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install redis/agent-skills redis-semantic-cache --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redis/agent-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/redis-semantic-cache .gemini/skills/redis-semantic-cache && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "redis-semantic-cache" agent skill from https://github.com/redis/agent-skills/tree/main/skills/redis-semantic-cache into .gemini/skills/redis-semantic-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redis-semantic-cache", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install redis/agent-skills redis-semantic-cacheInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add redis/agent-skills --skill redis-semantic-cache -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/redis/agent-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/redis-semantic-cache .github/skills/redis-semantic-cache && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "redis-semantic-cache" agent skill from https://github.com/redis/agent-skills/tree/main/skills/redis-semantic-cache into .github/skills/redis-semantic-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redis-semantic-cache", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add redis/agent-skills --skill redis-semantic-cache -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install redis/agent-skills redis-semantic-cache --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/redis/agent-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/redis-semantic-cache .opencode/skills/redis-semantic-cache && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "redis-semantic-cache" agent skill from https://github.com/redis/agent-skills/tree/main/skills/redis-semantic-cache into .opencode/skills/redis-semantic-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "redis-semantic-cache", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
redis-semantic-cacheRedis LangCache guidance for semantic caching of LLM responses on Redis Cloud — calling search/set via the SDK or REST API, tuning the similarity threshold, separating caches per task type, and…
Redis Semantic Cache is an agent skill from redis/agent-skills, published by the product's own GitHub organization. Redis LangCache guidance for semantic caching of LLM responses on Redis Cloud — calling search/set via the SDK or REST API, tuning the similarity threshold, separating caches per task type, and filtering with custom attributes. Use when caching LLM completions or RAG answers to cut API cost and latency, building a cache-aside layer in front of OpenAI / Anthropic / etc., tuning hit rate vs precision, or splitting one app's LLM workloads into multiple LangCache caches.
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/best-practices.md` and `references/langcache-usage.md`).
It sits in Databases, covering Caching, REST APIs and Retrieval-augmented generation. It works with Redis and OpenAI. The repository describes itself as: Redis' official collection of agent skills. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a84871d. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
redis.ioFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Redis Semantic Cache loads about 1k tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 123 tokens; SKILL.md has 349 words of instructions outside code blocks.
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.
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.
The full file from redis/agent-skills at commit a84871d, republished under its MIT licence (© redis). 349 words, ~1,022 tokens.
.claude/skills/redis-semantic-cache/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Semantic caching for LLM responses with Redis Cloud's LangCache service. Stores prompts as embeddings; subsequent semantically-similar prompts return the cached response without re-calling the model.
LangCache is currently in preview on Redis Cloud. Features and behavior may change.
LangCache fits in front of any LLM call as a standard cache-aside pattern:
search.set the response so future similar prompts hit.from langcache import LangCache
import os
lang_cache = LangCache(
server_url=f"https://{os.getenv('HOST')}",
cache_id=os.getenv("CACHE_ID"),
api_key=os.getenv("API_KEY"),
)
result = lang_cache.search(prompt="What is Redis?", similarity_threshold=0.9)
if result:
response = result[0]["response"]
else:
response = llm.generate("What is Redis?")
lang_cache.set(prompt="What is Redis?", response=response)The same operations are available via REST (POST /v1/caches/{cacheId}/entries/search and POST /v1/caches/{cacheId}/entries) when an SDK isn't an option.
See references/langcache-usage.md for full SDK + REST samples and attribute-based storage.
The threshold controls how close (in embedding cosine distance) a new prompt must be to a cached one to count as a hit. Higher = stricter match, fewer false positives. Lower = more hits, more risk of returning an off-topic answer.
| Threshold | Behavior | Use when |
|---|---|---|
| 0.95+ | Near-exact match required | Customer-facing answers where wrong responses are costly |
| 0.9 | Balanced default | Most workloads — start here |
| 0.8 | Loose semantic match | Internal tools, exploratory queries, FAQ deduplication |
# Stricter — fewer false positives
result = lang_cache.search(prompt="What is Redis?", similarity_threshold=0.95)
# Looser — higher hit rate
result = lang_cache.search(prompt="What is Redis?", similarity_threshold=0.8)Adjust by watching the actual cache-hit rate and spot-checking that returned answers are still relevant.
See references/best-practices.md.
Different LLM workloads should not share one cache — a "code question" prompt is semantically close to other code questions but has nothing to do with a password-reset support query, and crossing them returns garbage.
support_cache = LangCache(server_url=..., cache_id="support-cache-id", api_key=...)
code_cache = LangCache(server_url=..., cache_id="code-cache-id", api_key=...)Create distinct cache IDs in Redis Cloud per task, and route each call to the right one. As a finer-grained alternative, store and search with custom attributes (e.g. {"category": "database"}) to keep tasks in the same cache but isolated by attribute filter — useful when the same prompt format spans subtopics.
© redis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in skills/redis-semantic-cache of redis/agent-skills.
Open the folder on GitHubat commit a84871d
We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in redis/agent-skills, which our catalogue first saw on October 7, 2026.
Redis Semantic Cache 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Redis Semantic Cache this skillredis/agent-skills | 165 | 1 repos | ~1k | Automated safety check: Pass | MIT | |
| Upstash Redis Kvintellectronica/agent-skills | 295 | — | ~2.8k | Automated safety check: Warn | CC0-1.0 | |
| Cohesivityaiskillstore/marketplace | 430 | 2 repos | ~3.7k | Automated safety check: Pass | None | |
| Caching Architecturemajiayu000/litellm-rs | 116 | — | ~2k | Automated safety check: Pass | MIT | |
| Configure REST Cachestrapi-community/plugin-rest-cache | 155 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Commandkit Cacheneplexlabs/commandkit | 165 | — | ~506 | Automated safety check: Pass | MIT |
intellectronica/agent-skills
Read and write to Upstash Redis-compatible key-value store via REST API.
aiskillstore/marketplace
Backend and infra for a project via Cohesivity (cohesivity.ai).
majiayu000/litellm-rs
LiteLLM-RS response caching architecture. An agent skill from majiayu000/litellm-rs.
strapi-community/plugin-rest-cache
Choose and write a Strapi REST Cache configuration for a specific use case.
neplexlabs/commandkit
Implement deterministic caching with @commandkit/cache. An agent skill from neplexlabs/commandkit.
sickn33/agentic-awesome-skills
Configure Redis for caching and data storage. An agent skill from sickn33/agentic-awesome-skills.
redis/agent-skills
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.
redis/agent-skills
Redis observability guidance — which metrics to monitor (memory, connections, hit ratio, ops/sec, rejected connections), which built-in commands to reach for during incident triage (SLOWLOG, INFO…
redis/agent-skills
Redis Cluster and replication guidance covering hash tags for multi-key operations, avoiding CROSSSLOT errors, and reading from replicas to scale read-heavy workloads.
redis/agent-skills
Redis client and connection guidance covering connection pooling, multiplexing, pipelining, client-side caching with RESP3, avoiding slow commands (KEYS, SMEMBERS, HGETALL), and tuning socket…
redis/agent-skills
Redis Search guidance covering FT.CREATE schema design, field type selection (TEXT, TAG, NUMERIC, GEO, GEOSHAPE, VECTOR, JSON path), DIALECT 2 query syntax, FT.SEARCH / FT.AGGREGATE / FT.HYBRID…
redis/agent-skills
Redis security guidance covering authentication (requirepass and ACL users), TLS, ACL-based least-privilege access control, restricting network exposure via bind and protected-mode, firewall rules…
Categories
Redis LangCache guidance for semantic caching of LLM responses on Redis Cloud — calling search/set via the SDK or REST API, tuning the similarity threshold, separating caches per task type, and…. Redis Semantic Cache is an agent skill from redis/agent-skills, published by the product's own GitHub organization. Redis LangCache guidance for semantic caching of LLM responses on Redis Cloud — calling search/set via the SDK or REST API, tuning the similarity threshold, separating caches per task type, and filtering with custom attributes.
Redis Semantic Cache fits situations like: caching LLM completions; RAG answers to cut API cost and latency; building a cache-aside layer in front of OpenAI / Anthropic / etc; tuning hit rate vs precision.
Run `npx skills add redis/agent-skills --skill redis-semantic-cache -a claude-code`. Or copy the skill folder (skills/redis-semantic-cache in redis/agent-skills) into .claude/skills/redis-semantic-cache in your project. Claude Code loads it when a task matches its description.
Run `npx skills add redis/agent-skills --skill redis-semantic-cache -a codex`. Or copy the skill folder (skills/redis-semantic-cache in redis/agent-skills) into .agents/skills/redis-semantic-cache in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add redis/agent-skills --skill redis-semantic-cache -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-semantic-cache, .gemini/skills/redis-semantic-cache, .github/skills/redis-semantic-cache and .opencode/skills/redis-semantic-cache in your project.
Going by SKILL.md and its folder, Redis Semantic Cache needs credentials named API_KEY. Our summary lists: Python 3; A credential in API_KEY.
SKILL.md names 1 domain. As links in the text: redis.io. This is read from the text; nothing was executed.
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.
Redis Semantic Cache is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 965 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Redis Semantic Cache: Upstash Redis Kv (intellectronica/agent-skills, 295 stars), Cohesivity (aiskillstore/marketplace, 430 stars), Caching Architecture (majiayu000/litellm-rs, 116 stars) and Configure REST Cache (strapi-community/plugin-rest-cache, 155 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
redis (a GitHub organization, an official publisher) maintains it in redis/agent-skills, which has 165 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 8, 2026.
Source: redis/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.