
Memories SDK (memories-sdk)
from memories20
Guides developers integrating with the memories.sh SDKs (@memories.sh/core and @memories.sh/ai-sdk) for programmatic memory reads, writes, and AI-context inject
What it does
The memories-sdk skill documents how to integrate the memories.sh SDKs into application code. It covers choosing between @memories.sh/core for backend typed access and @memories.sh/ai-sdk when using the Vercel AI SDK, shows quick start examples, and provides patterns for scoping (tenantId/userId/projectId), middleware usage, and safe API key handling.
When to use it
Use this skill when you are implementing memory-backed features: injecting prior context into AI prompts, persisting agent outputs as memories, performing programmatic reads/writes from server code, or debugging memory scoping and permissions. It's useful for backend engineers building intelligent features or agents that rely on historical context.
What's included
- Scripts: none embedded in the skill file, but the repo contains references and example TypeScript snippets.
- References: clear links to reference docs (core.md, ai-sdk.md, scoping.md) that explain client methods and middleware patterns.
- Instructions: concise decision guide for choosing the right package and code examples for initialization, context fetching, and middleware/tool usage.
Compatible agents
Developer-facing agents that can provide code examples and run TypeScript/Node.js snippets (e.g., Copilot-style assistants, Claude Code, or local dev runners).
Tags
Information
- Repository
- memories
- Stars
- 20
- Installs
- 0