CtrlK
BlogDocsLog inGet started
Tessl Logo

tanstack-ai-memory-redis

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.

69

Quality

87%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

90%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A production-grade, self-contained reference: executable code for both Redis client libraries, an exact storage-model spec with scope-escaping and migration caveats, honest capacity limits, and symptom-level troubleshooting. The only meaningful gap is the absence of a verification step to confirm the wiring works before relying on it.

Suggestions

Add a short smoke-check after setup (e.g., save a throwaway record, recall it, then delete the key) so users can confirm the wiring and prefix are correct before shipping.

Extend the "Hard cut" migration note with a concrete reindex recipe or a command pattern for scanning and deleting orphaned keys under the old layout.

State the client-side ranking behavior on save too (e.g., whether recall-time scoring means writes are always cheap), so readers can reason about write-path costs without consulting external docs.

DimensionReasoningScore

Conciseness

The body is lean and assumes competence: no explanation of what Redis is or how the libraries work, two compact code examples, and the one prose aside (the camelCase-to-lowercase translation note) documents a real gotcha that would otherwise cost debugging time. Every token earns its place.

5 / 5

Actionability

Both setup options are complete, copy-paste-ready TypeScript including env-driven client construction and middleware wiring; the storage model shows the exact key layout with escaping rules; troubleshooting names the exact failure ("throws client.sadd is not a function") and the exact key to fix ("{prefix}:record:{id}").

5 / 5

Workflow Clarity

Setup is clearly sequenced (choose client → wire adapter → resolve scope per request) with a security checkpoint ("never from req.body"), and troubleshooting follows symptom → cause → fix. It falls short of a 5 because no validation step confirms the wiring works, e.g. a test save/recall round-trip, and the destructive "reindex or wipe" migration advice has no verification for confirming the old keys were actually orphaned.

4 / 5

Progressive Disclosure

No bundle files exist and none are needed: the skill is a self-contained single file with well-organized sections (Setup, Storage model, Ranking limits, Troubleshooting) and no content that clearly belongs in a separate reference. It sits between anchors rather than at 5 only because the body (~90 lines) exceeds the compact under-50-line case the rubric exempts, though nothing is buried or inlined that should be split out.

4 / 5

Total

18

/

20

Passed

Description

78%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, tightly-scoped description that names the exact package and function, states an explicit production-wiring trigger, and enumerates concrete coverage areas. Its only weaknesses are that the "what" is phrased as topics covered rather than actions performed, and it uses a single trigger phrase where a couple of natural synonyms would improve recall.

Suggestions

Lead with one or two explicit verbs stating what the skill does (e.g., "Wire the redis() adapter from @tanstack/ai-memory/redis into production TanStack AI memory") before the "Use when" clause.

Add a natural synonym or two to the trigger phrase (e.g., "Redis-backed memory", "recall/save persistence") so users searching with everyday phrasing also match.

Mention the alternate casing users might say, such as "Redis memory adapter" or "fromNodeRedis wrapper", to broaden trigger coverage without adding vagueness.

DimensionReasoningScore

Specificity

The description lists several concrete coverage areas — "client setup (ioredis or node-redis via fromNodeRedis), the storage model, client-side ranking limits, and troubleshooting" — with named APIs, but these are topics rather than the multiple explicit actions of the 5-anchor, so it sits between anchors.

4 / 5

Completeness

It has an explicit "Use when wiring redis() from @tanstack/ai-memory/redis in production" trigger and a what ("covers client setup... the storage model... ranking limits, and troubleshooting"), but the what is a coverage list rather than explicit actions and there is only one trigger phrase — noticeably above the 3-anchor but short of the 5-anchor's concrete multi-phrase form.

4 / 5

Trigger Term Quality

Good keyword coverage including natural terms users would say ("wiring redis()", "ioredis", "node-redis", "troubleshooting", "in production"), but a few natural phrasings like "Redis memory adapter" or "recall/save" are missing, so it fits the 4-anchor rather than the comprehensive 5-anchor.

4 / 5

Distinctiveness Conflict Risk

It pins the exact package path "@tanstack/ai-memory/redis" plus the specific function "redis()" and adapter concerns (fromNodeRedis, ranking limits), giving it a clear niche with minimal risk of triggering for an unrelated Redis skill.

5 / 5

Total

17

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
TanStack/ai
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.