Runtime Behavior Probe
redis/node-redis
Plan and execute runtime-behavior investigations with temporary TypeScript probe scripts, validation matrices, state controls, and findings-first reports.
A skill your agent uses when wiring redis() from @tanstack/ai-memory/redis in production — covers client setup (ioredis or node-redis via fromNodeRedis), the storage model, client-side ranking…
$ npx skills add TanStack/ai --skill tanstack-ai-memory-redis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install TanStack/ai tanstack-ai-memory-redis --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/TanStack/ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/ai-memory/skills/tanstack-ai-memory-redis .claude/skills/tanstack-ai-memory-redis && 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 "tanstack-ai-memory-redis" agent skill from https://github.com/TanStack/ai/tree/main/packages/ai-memory/skills/tanstack-ai-memory-redis into .claude/skills/tanstack-ai-memory-redis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-ai-memory-redis", 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/TanStack/ai/tree/main/packages/ai-memory/skills/tanstack-ai-memory-redisType 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 TanStack/ai --skill tanstack-ai-memory-redis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install TanStack/ai tanstack-ai-memory-redis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TanStack/ai.git skills-src && mkdir -p .agents/skills && cp -r skills-src/packages/ai-memory/skills/tanstack-ai-memory-redis .agents/skills/tanstack-ai-memory-redis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tanstack-ai-memory-redis" agent skill from https://github.com/TanStack/ai/tree/main/packages/ai-memory/skills/tanstack-ai-memory-redis into .agents/skills/tanstack-ai-memory-redis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-ai-memory-redis", 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 TanStack/ai --skill tanstack-ai-memory-redis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install TanStack/ai tanstack-ai-memory-redis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TanStack/ai.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/packages/ai-memory/skills/tanstack-ai-memory-redis .cursor/skills/tanstack-ai-memory-redis && 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 "tanstack-ai-memory-redis" agent skill from https://github.com/TanStack/ai/tree/main/packages/ai-memory/skills/tanstack-ai-memory-redis into .cursor/skills/tanstack-ai-memory-redis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-ai-memory-redis", 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/TanStack/ai.git --path packages/ai-memory/skills/tanstack-ai-memory-redis--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 TanStack/ai --skill tanstack-ai-memory-redis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install TanStack/ai tanstack-ai-memory-redis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TanStack/ai.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/packages/ai-memory/skills/tanstack-ai-memory-redis .gemini/skills/tanstack-ai-memory-redis && 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 "tanstack-ai-memory-redis" agent skill from https://github.com/TanStack/ai/tree/main/packages/ai-memory/skills/tanstack-ai-memory-redis into .gemini/skills/tanstack-ai-memory-redis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-ai-memory-redis", 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 TanStack/ai tanstack-ai-memory-redisInstalls 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 TanStack/ai --skill tanstack-ai-memory-redis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/TanStack/ai.git skills-src && mkdir -p .github/skills && cp -r skills-src/packages/ai-memory/skills/tanstack-ai-memory-redis .github/skills/tanstack-ai-memory-redis && 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 "tanstack-ai-memory-redis" agent skill from https://github.com/TanStack/ai/tree/main/packages/ai-memory/skills/tanstack-ai-memory-redis into .github/skills/tanstack-ai-memory-redis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-ai-memory-redis", 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 TanStack/ai --skill tanstack-ai-memory-redis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install TanStack/ai tanstack-ai-memory-redis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TanStack/ai.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/packages/ai-memory/skills/tanstack-ai-memory-redis .opencode/skills/tanstack-ai-memory-redis && 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 "tanstack-ai-memory-redis" agent skill from https://github.com/TanStack/ai/tree/main/packages/ai-memory/skills/tanstack-ai-memory-redis into .opencode/skills/tanstack-ai-memory-redis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-ai-memory-redis", 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.
tanstack-ai-memory-redisA skill your agent uses when wiring redis() from @tanstack/ai-memory/redis in production — covers client setup (ioredis or node-redis via fromNodeRedis), the storage model, client-side ranking…
Tanstack AI Memory Redis is an agent skill from TanStack/ai. Use when wiring redis() from @tanstack/ai-memory/redis in production — covers client setup (ioredis or node-redis via fromNodeRedis), the storage model, client-side ranking limits, and troubleshooting.
Its SKILL.md is about 840 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. It works with Redis and TanStack. The repository describes itself as: 🤖 Type-safe, provider-agnostic TypeScript AI SDK for streaming chat, tool calling, agents, and multimodal apps across OpenAI, Anthropic, Gemini, React, Vue, Svelte, and Solid. The licence is MIT.
Read from SKILL.md and the folder at commit 5a41239. 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 typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tanstack AI Memory Redis loads about 840 tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 259 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 TanStack/ai at commit 5a41239, republished under its MIT licence (© TanStack). 259 words, ~840 tokens.
.claude/skills/tanstack-ai-memory-redis/SKILL.md (or your agent's skills folder).Production-grade recall/save adapter backed by plain Redis (no vector index
required). Ranks client-side (lexical + optional cosine + recency + importance).
Bring your own Redis client. ioredis wires in directly; redis (node-redis v4+) needs
a small wrapper.
ioredisimport Redis from 'ioredis'
import { memoryMiddleware } from '@tanstack/ai-memory'
import { redis } from '@tanstack/ai-memory/redis'
const client = new Redis(process.env.REDIS_URL ?? 'redis://localhost:6379')
const memory = redis({ redis: client, prefix: 'myapp:memory' })
// Resolve scope per request from the server-validated session — never from req.body.
function memoryFor(session: { userId: string; threadId: string }) {
return memoryMiddleware({
adapter: memory,
scope: { threadId: session.threadId, userId: session.userId },
})
}redis (node-redis v4+)import { createClient } from 'redis'
import { memoryMiddleware } from '@tanstack/ai-memory'
import { redis, fromNodeRedis } from '@tanstack/ai-memory/redis'
const client = createClient({ url: process.env.REDIS_URL })
await client.connect()
const memory = redis({
redis: fromNodeRedis(client),
prefix: 'myapp:memory',
})
function memoryFor(session: { userId: string; threadId: string }) {
return memoryMiddleware({
adapter: memory,
scope: { threadId: session.threadId, userId: session.userId },
})
}node-redis exposes a camelCase API (sAdd, mGet); fromNodeRedis translates it
to the lowercase RedisLike shape. Passing a raw node-redis client without the wrapper
throws client.sadd is not a function.
redis() accepts the same topK / minScore / kinds / embedder / extract options
as inMemory().
{prefix}:record:{id} -> JSON record
{prefix}:index:{tenantId or _}:{userId or _}:{threadId} -> Set<id>save writes the record and adds it to the scope's index set; recall loads the set,
scores, and renders. Scope values are escaped (:, \, and _) so a delimiter or the
unset placeholder inside a dim can't collide two scopes.
Hard cut: there is no dual-read of older index layouts. If you previously wrote under
a different shape (e.g. without tenantId), reindex or wipe — old keys are orphaned.
Always pass the same tenantId/userId/threadId on write and read: missing optional
dims become _, so omit ≠ "match any".
Ranking is client-side: recall loads every record for the scope into Node and scores
it. Fine up to ~10k records per scope. Beyond that, write a vector-index-aware adapter
against the same recall/save contract.
REDIS_URL and prefix.console.warn per bad id. Fix or
delete the offending {prefix}:record:{id} key to remediate.© TanStack, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in packages/ai-memory/skills/tanstack-ai-memory-redis of TanStack/ai.
Open the folder on GitHubat commit 5a41239
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in TanStack/ai, which our catalogue first saw on October 7, 2026.
Tanstack AI Memory Redis 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 |
|---|---|---|---|---|---|---|
| Tanstack AI Memory Redis this skillTanStack/ai | 3.2k | 1 repos | ~840 | Automated safety check: Pass | MIT | |
| Runtime Behavior Proberedis/node-redis | 18k | — | ~4.4k | Automated safety check: Pass | MIT | |
| Implement Commandredis/node-redis | 18k | — | ~5k | Automated safety check: Pass | MIT | |
| Redis Insight Pluginredis/RedisInsight | 8.9k | — | ~3.5k | Automated safety check: Pass | MIT | |
| Extend Commands APIredis/lettuce | 5.8k | — | ~7.7k | Automated safety check: Notes | MIT | |
| Cognee Community Packagestopoteretes/cognee | 32k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 |
redis/node-redis
Plan and execute runtime-behavior investigations with temporary TypeScript probe scripts, validation matrices, state controls, and findings-first reports.
redis/node-redis
Add a new Redis command (or command variant) to node-redis end-to-end — the <NAME.ts Command file, its registration with JSDoc in the package commands/index.ts, and a co-located <NAME.spec.ts with…
redis/RedisInsight
A skill your agent uses when creating, modifying, debugging, deploying, or testing Redis Insight Workbench visualization plugins, plugin manifests, package.json visualizations, activationMethod…
redis/lettuce
Add or extend Redis commands in the Lettuce client API end-to-end — a new core command, a family of new commands, an extension to an existing command's options, or a module/area command…
topoteretes/cognee
Guide to using and contributing cognee community packages: database adapters, data-source connectors, custom tasks and retrievers, and Keywords AI observability.
antiwork/gumroad
Send one-off email blasts to Gumroad creators directly via production console, no PR or deploy needed.
TanStack/ai
A skill your agent uses when the user invokes /i-have-adhd, says they have ADHD, or asks for ADHD-friendly output.
TanStack/ai
Sweep open (or listed) PRs with up to 100 parallel agents: security-scan outside contributors, rebase onto main when behind (push --force-with-lease), approve pending first-time-contributor CI when…
TanStack/ai
A skill your agent uses when wiring honcho() from @tanstack/ai-memory/honcho — a hosted memory adapter where recall is a dialectic answer over the user's representation (no discrete fragments).
TanStack/ai
A skill your agent uses when wiring inMemory() from @tanstack/ai-memory/in-memory — explains setup, options (embedder, extract, topK/minScore), when to pick it (dev/tests/single-process demos), and…
TanStack/ai
A skill your agent uses when adding a public teaching example or a docs tutorial.
TanStack/ai
Durability and state persistence for TanStack AI chats with @tanstack/ai-persistence.
Categories
A skill your agent uses when wiring redis() from @tanstack/ai-memory/redis in production — covers client setup (ioredis or node-redis via fromNodeRedis), the storage model, client-side ranking…. Tanstack AI Memory Redis is an agent skill from TanStack/ai. Use when wiring redis() from @tanstack/ai-memory/redis in production — covers client setup (ioredis or node-redis via fromNodeRedis), the storage model, client-side ranking limits, and troubleshooting.
Tanstack AI Memory Redis fits situations like: wiring redis() from @tanstack/ai-memory/redis in production — covers client setup (ioredis; Node-redis via fromNodeRedis); the storage model; client-side ranking limits.
Run `npx skills add TanStack/ai --skill tanstack-ai-memory-redis -a claude-code`. Or copy the skill folder (packages/ai-memory/skills/tanstack-ai-memory-redis in TanStack/ai) into .claude/skills/tanstack-ai-memory-redis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add TanStack/ai --skill tanstack-ai-memory-redis -a codex`. Or copy the skill folder (packages/ai-memory/skills/tanstack-ai-memory-redis in TanStack/ai) into .agents/skills/tanstack-ai-memory-redis 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 TanStack/ai --skill tanstack-ai-memory-redis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tanstack-ai-memory-redis, .gemini/skills/tanstack-ai-memory-redis, .github/skills/tanstack-ai-memory-redis and .opencode/skills/tanstack-ai-memory-redis in your project.
SKILL.md names no scripts, command-line tools or credentials: Tanstack AI Memory Redis is instructions for the agent only.
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.
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.
Tanstack AI Memory Redis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 840 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Tanstack AI Memory Redis: Runtime Behavior Probe (redis/node-redis, 18k stars), Implement Command (redis/node-redis, 18k stars), Redis Insight Plugin (redis/RedisInsight, 8.9k stars) and Extend Commands API (redis/lettuce, 5.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
TanStack (a GitHub organization) maintains it in TanStack/ai, which has 3,169 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 7, 2026.
Source: TanStack/ai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.