/mnemosyne:mnemosyne-clifrom mnemosyne
Provides CLI commands for storing, searching, listing, updating, and deleting memories. Useful for scripting memory operations in shell scripts or tool loops.
Ships in mnemosyne. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
One binary serves both vocabularies: the native command set (retain, recall,
capsule, doctor, …) and the conventional set (add, search, list,
get, update, delete, config, entity, event).
pip install mnemosyne-os
mnemosyne init # initialises the store and writes the CLI config
mnemosyne config --show # the effective configuration, defaults included
mnemosyne config --show reports the effective configuration, not just what
is written to disk — on a fresh install the config file does not exist yet, and an
empty object would hide the values the CLI is actually using.
mnemosyne add "I prefer dark mode and vim keybindings" --user-id alice
mnemosyne search "what does alice prefer" --user-id alice
mnemosyne list --user-id alice --top-k 20
mnemosyne get <memory-id>
mnemosyne update <memory-id> "I switched to light mode"
mnemosyne delete <memory-id> --yes
mnemosyne delete --all --user-id alice --yes
add also reads from a file or stdin:
mnemosyne add --file transcript.json --user-id alice
cat notes.txt | mnemosyne add --user-id alice
A file whose contents parse as JSON is treated as message objects; anything else is stored as one text blob.
Pass --agent (alias --json) on any command for a machine envelope:
{
"status": "success",
"command": "search",
"duration_ms": 134,
"scope": { "user_id": "alice" },
"count": 2,
"data": [{ "id": "abc-123", "memory": "User prefers dark mode", "score": 0.97 }]
}
Errors go to stdout as JSON with a non-zero exit code:
{ "status": "error", "command": "get", "error": "...", "code": "NOT_FOUND_001" }
So a caller never has to choose between "did it fail" and "can I parse the reason".
In agent mode, confirmation prompts are assumed (--yes), because a tool loop has
no way to answer one and a command that blocks forever is worse than one that
acts.
--output text (default) · json · table (default for list) · quiet (ids
only) · agent.
delete --all and delete --entity require a scope; without one they
refuse rather than emptying the shared default scope.import <file> uses the native importer unless a scope flag or --agent is
given, in which case it routes through the compatible layer so the scope is
honoured instead of silently dropped.MNEMOSYNE_API_KEY · MNEMOSYNE_BASE_URL · MNEMOSYNE_USER_ID · MNEMOSYNE_AGENT_ID ·
MNEMOSYNE_APP_ID · MNEMOSYNE_RUN_ID — plus the MNEMOSYNE_* equivalents and
MNEMOSYNE_DIR for the store location.
Precedence: flag > environment > config file.
export MNEMOSYNE_BASE_URL=http://127.0.0.1:8788
export MNEMOSYNE_API_KEY=mn-...
mnemosyne add "..." --user-id alice
Without MNEMOSYNE_BASE_URL the CLI runs fully embedded — no server needed.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/mnemosyneUse the Mnemosyne OS memory API to give an agent persistent memory. Load this when a task involves remembering user preferences or facts across sessions, retrieving prior context, scoping memories to a user/agent/run/app, filtering with structured predicates, compressing a memory to fit a context budget, or running existing agent-memory code on a self-hosted engine.
/mnemosyne-integrateWire Mnemosyne memory into an existing repository, test-first. Load this when a task is "add memory to this project", "make the assistant remember across sessions", "run our memory layer on something self-hosted", or "persist context between runs". Produces a working integration plus a regression test, not just a code snippet.
Generated from the plugin's indexed repository (mnemosyneos/mnemosyne) — no native marketplace selected
npx claudepluginhub p/mnemosyneos-mnemosyneOther plugins' skills for the same job