CtrlK
BlogDocsLog inGet started
Tessl Logo

tanstack-ai-memory

Use when wiring memoryMiddleware from @tanstack/ai-memory into a chat() call — covers the recall/save adapter contract, scope shape and server-side scope security, the recall-inject / deferred-save lifecycle, choosing an adapter (inMemory, redis, hindsight, mem0, honcho), and devtools events.

75

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

93%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 dense, actionable reference skill with executable code, precise interface and adapter details, and clean sectioning. The only gap is the absence of an explicit validation feedback loop in the primary wiring workflow.

Suggestions

Add a short validation checkpoint after the wiring example (e.g. 'confirm scope resolves server-side before the first turn' or 'run the contract test when implementing a custom adapter') to make the workflow feedback loop explicit.

DimensionReasoningScore

Conciseness

The body is lean throughout — no preamble explaining what memory is or how libraries work; every section (Wire it up, The contract, Scope security, Adapters, Failure modes, Devtools) earns its tokens with concrete detail.

5 / 5

Actionability

Provides a copy-paste-ready chat() wiring example, the full MemoryAdapter interface signatures, concrete scope-key formats per adapter, and the executable contract test path '@tanstack/ai-memory/tests/contract'.

5 / 5

Workflow Clarity

The wiring sequence (import → create adapter → chat() with middleware+scope) is clear and unambiguous, and the contract test serves as a checkpoint for custom adapters, but the main flow lacks an explicit validate/recover feedback loop.

4 / 5

Progressive Disclosure

A single self-contained file with clear section headers and no nested references; content is well-organized and appropriately compact for a skill with no external bundle files.

5 / 5

Total

19

/

20

Passed

Description

92%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 specific, well-triggered description tied to a concrete package and middleware, covering both capabilities and use conditions. It is slightly heavy on internal jargon that a user might not naturally say, but remains clearly distinct and complete.

Suggestions

Add one natural-language trigger phrase (e.g. 'remember what I told you last time' or 'persistent cross-session memory') alongside the technical 'Use when' clause to broaden trigger term coverage.

DimensionReasoningScore

Specificity

Lists multiple concrete capabilities — 'recall/save adapter contract', 'scope shape and server-side scope security', 'recall-inject / deferred-save lifecycle', and five named adapters — giving comprehensive coverage of the middleware's surface.

5 / 5

Completeness

Clearly states both what it covers (adapter contract, scope, lifecycle, adapter choice, devtools) and when to use it via an explicit 'Use when...' trigger clause.

5 / 5

Trigger Term Quality

The explicit 'Use when wiring memoryMiddleware from @tanstack/ai-memory into a chat() call' names the package and middleware, but the remaining terms ('recall/save adapter contract', 'deferred-save lifecycle') are technical and miss natural phrasings like 'remember' or 'persistent context'.

4 / 5

Distinctiveness Conflict Risk

Scoped narrowly to @tanstack/ai-memory's memoryMiddleware with package-qualified triggers, making conflict with unrelated skills minimal.

5 / 5

Total

19

/

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.

Validation16 / 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.