supermemory
БесплатноБез исполняемых скриптовНе проверенSupermemory is a hosted memory and context API for AI agents: it extracts facts from conversations and documents, keeps a per-user profile, and returns the…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Supermemory
Overview
Supermemory is a memory and context layer for AI agents. You send it conversations, documents, files or URLs; it extracts facts into a per-namespace memory graph, maintains a profile (static facts and recent context), and answers searches over both memories and document chunks. Everything is scoped by a namespace (a user, project or tenant id; v3 and v4 called it a container tag), which is the isolation boundary.
This skill targets the v5 SDKs (supermemory 5.0.2 on npm, 5.0.0 on PyPI; 5.0.1 and 5.0.2 only add to the API, nothing from 5.0.0 changed). v5 is namespace-first: the namespace is the first positional argument of every call, and everything else goes in one options object. Snippets written for 4.x (client.add({ content, containerTag, customId }), q, filters, client.memories.add, client.connections.create) do not compile against v5. The 4.x to 5 mapping is in node_modules/supermemory/MIGRATION.md.
Instructions
Install and authenticate
npm install supermemory # or: pip install supermemory
export SUPERMEMORY_API_KEY="sm_..." # create in console.supermemory.ai, API Keys
The client reads SUPERMEMORY_API_KEY from the environment, so new Supermemory() is enough (the import is the named export import { Supermemory } from "supermemory"). Client options were renamed in v5: baseUrl, timeoutInSeconds (seconds, not ms), headers, maxRetries. Errors are SupermemoryError subclasses (NotFoundError, UnauthorizedError, PaymentRequiredError, ...) with statusCode and body; timeouts throw SupermemoryTimeoutError.
For a browser or per-tenant client, mint a key limited to one namespace instead of shipping the org key: POST https://api.supermemory.ai/v3/auth/scoped-key with the org key as Bearer token and a body of containerTag (still called that), optional expiresInDays (1 to 365), rateLimitMax. Its documented endpoint allowlist names the v3/v4 routes, so confirm a scoped key works against the v5 calls you use before relying on it.
Ingest: conversations and documents
add returns at once with { id, status: "queued" }; processing is asynchronous. Send a whole session under a stable id rather than one-line "memories"; re-sending with the same id processes only the new part.
import { Supermemory } from "supermemory";
const client = new Supermemory();
const conv = await client.add("user_4f8a", {
content: "user: I moved our API from Express to Fastify last week.\nassistant: Nice, how did the migration go?",
id: "chat_2026-10-02_a91",
metadata: { type: "conversation" },
dreaming: "instant", // optional: extract memories right away (costs one extra operation)
});
// knowledge you only want searchable, not remembered
await client.add("user_4f8a", {
content: "# Runbook\nRestart the worker with `systemctl restart ingest-worker`.",
id: "doc_runbook",
taskType: "superrag",
});
Other add fields: supportingContext (guides extraction, max 1500 characters), group (an object of metadata values that separates related context inside a namespace), date (ISO 8601 date of the source). content may also be a URL. Files: client.documents.uploadFile("user_4f8a", { file: await openAsBlob("handbook.pdf") }) (openAsBlob from node:fs); several texts at once: client.documents.batchAdd(namespace, { documents }). Python uses snake_case keywords: client.add("user_4f8a", content=..., id=..., task_type="superrag").
Poll (await client.documents.get("user_4f8a", conv.id)).system until status is done (or failed) before searching. With the default dreaming: "dynamic", memories may form later than that, because related documents are batched; since 5.0.2 the same object carries dreamingStatus ("dreaming" or "done"), so wait for that too when you need the extracted memories, not just the document chunks.
Search and profile
const results = await client.search("user_4f8a", {
query: "which web framework does the user run",
searchMode: "hybrid", // "hybrid" (default) | "memories" | "chunks"
limit: 5,
});
for (const r of results.results) console.log(r.memory ?? r.chunk, r.similarity);
const { profile } = await client.profile("user_4f8a");
console.log(profile.static.map(m => m.memory), profile.dynamic.map(m => m.memory));
profile takes no query in v5 and its items are objects with id and memory; run a separate search for query-specific context. Other search options: threshold (0 to 1, default now 0.3), rerank ("none", "order", "aggregate"), rewriteQuery, include ({ related: true } adds the version history of a memory, { documents: true } the source document) and a typed filter ({ field: "type", operator: "eq", value: "meeting" }, or { operator: "and", operands: [...] }). Python: client.search("user_4f8a", query=..., search_mode="hybrid") and client.profile("user_4f8a").profile.static.
Use it in a cha
Установить supermemory в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл supermemory?
Supermemory is a hosted memory and context API for AI agents: it extracts facts from conversations and documents, keeps a per-user profile, and returns the right context through search. Use when building assistants that remember users across sessions, adding long-term memory to a chatbot, wiring Supermemory into Claude Code or another MCP client, or syncing Notion, Google Drive or GitHub into a searchable knowledge base.
Как установить скилл supermemory?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл supermemory запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic