Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

supermemory-cli

БесплатноБез исполняемых скриптовНе проверен

Use the Supermemory CLI (`supermemory` 5.x on npm) from the terminal or from scripts and agents. Add content, search, read profiles, forget memories, manage…

supermemoryaiот supermemoryai★ 118 звёзд на GitHub

Об этом скилле

The CLI ships inside the supermemory npm package and calls the v5 API. Every content command works in one namespace: a user id, a project id, or any boundary you want isolated.

Install and auth

# Run without installing
npx supermemory --version

# Or install globally
npm i -g supermemory

# Browser login, stores credentials in ~/.supermemory/credentials.json
supermemory login

# Or use an API key directly
supermemory login --api-key sm_xxx

# Show who you are, the key prefix and whether the key is scoped
supermemory whoami

supermemory logout

Commands that call the API need a login or SUPERMEMORY_API_KEY. help, local and plugin do not.

Configuration

Three scopes. init writes them, config set edits them.

Scope File Holds
project ~/.supermemory/projects/<encoded-cwd>/config.json (per machine, never in git) namespace, optional apiKey
team <git root>/.supermemory/config.json (commit it) namespace
global ~/.supermemory/config.json output, apiUrl, consoleUrl, telemetry

Namespace resolution order: --namespace flag, SUPERMEMORY_NAMESPACE, team config, project config. With none of these, content commands stop with "Namespace required".

# Interactive wizard
supermemory init

# Non-interactive
supermemory init --scope project --namespace meetings-bot
supermemory init --scope team --namespace my-project
supermemory init --scope global --output json

# Show resolved config and where each value came from
supermemory config

# Set a value; keys: apiKey, namespace, output, apiUrl, consoleUrl, telemetry
supermemory config set namespace my-project --scope project
supermemory config set output json --scope global
supermemory config set telemetry off --scope global

# Read one resolved value; keys: apiKey, namespace, apiUrl, consoleUrl, output
supermemory config get namespace

Environment variables

Variable Effect
SUPERMEMORY_API_KEY API key. Overrides stored credentials and prints a warning when they differ.
SUPERMEMORY_NAMESPACE Default namespace. Renamed from SUPERMEMORY_TAG.
SUPERMEMORY_API_URL API base URL, for self-hosted servers.
SUPERMEMORY_CONSOLE_URL Console URL used by open and login.
DO_NOT_TRACK=1 Disables anonymous usage telemetry (command name, outcome, versions, OS; never content or keys).
OTEL_EXPORTER_OTLP_ENDPOINT Export CLI traces to an OpenTelemetry collector.

Global flags

Flag Effect
--namespace <name> Override the namespace for this command
--json Force JSON output
--help Help for any command; --help --json gives a machine-readable schema

Output is JSON automatically when stdout is not a terminal, so pipes and agents get JSON without --json. supermemory config set output human --scope global forces text.

Core commands

add

Ingest text, a file or a URL into a namespace. The argument is detected: http:// or https:// is a URL, an existing path is uploaded as a file, anything else is text.

supermemory add "User prefers TypeScript over JavaScript"
supermemory add ./meeting-notes.pdf --namespace meetings
supermemory add https://docs.example.com/api --namespace docs

# From stdin
cat notes.txt | supermemory add --stdin --namespace notes

# Metadata and a stable id; repeating the id updates the same document
supermemory add "Design doc v2" --metadata '{"category":"engineering"}' --id design-doc

# Memories ready right away instead of batched in the background
supermemory add "Alex moved to Berlin" --dreaming instant

# Index for retrieval only, no memory extraction
supermemory add ./handbook.md --task-type superrag

# Batch: JSON array on stdin, items {content, id?, metadata?, namespace?}
echo '[{"content":"first","id":"d1"},{"content":"second"}]' | supermemory add --batch

Flags: --namespace, --stdin, --metadata <json>, --id <string>, --dreaming dynamic|instant (default dynamic), --task-type memory|superrag (default memory), --batch.

Processing continues after the command returns. Check it with docs status <id>.

search

supermemory search "authentication patterns"
supermemory search "auth" --namespace api --limit 5 --rerank order
supermemory search "how do we handle auth" --rewrite

# Modes: hybrid (default, memories + chunks), memories, chunks
supermemory search "user prefs" --mode memories
supermemory search "refund policy" --mode chunks --include documents

# Typed filter
supermemory search "design" --filter '{"field":"category","operator":"eq","value":"engineering"}'
supermemory search "design" --filter '{"operator":"and","operands":[{"field":"source","operator":"eq","value":"slack"},{"field":"priority","operator":"gte","value":3}]}'

supermemory search "preferences" --threshold 0.5

Flags: --namespace, --limit (default 10), --threshold 0 to 1 (default 0.3), `--rerank

Полный SKILL.md на GitHub

Установить supermemory-cli в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл supermemory-cli?

Use the Supermemory CLI (`supermemory` 5.x on npm) from the terminal or from scripts and agents. Add content, search, read profiles, forget memories, manage documents, namespaces, connectors, API keys and team members, install coding-agent plugins, migrate a project to the v5 API, and run the local self-hosted server. Covers every command, subcommand, flag and the JSON output contract.

Как установить скилл supermemory-cli?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл supermemory-cli запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить supermemory-cli с