Mnemosyne Maintenance logo

Mnemosyne Maintenance

Community
AtlasOmnia
mnemosyne-maintenance

mnemosyne-maintenance — Upgrade, troubleshoot, and maintain Mnemosyne memory provider — version mismatches, slow/hung consolidation, missing embeddings, import shadowing.

Overview

PublisherAtlasOmnia
Repositorydonna-starter
Skill namemnemosyne-maintenance
Stars
131
Forks
9
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by AtlasOmnia on GitHub. Read the source before you install it.

Installation

Install the Mnemosyne Maintenance AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AtlasOmnia/donna-starter/tree/main/skills/hermes/mnemosyne-maintenance
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git /tmp/donna-starter
mkdir -p .claude/skills
cp -r /tmp/donna-starter/skills/hermes/mnemosyne-maintenance .claude/skills/mnemosyne-maintenance
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mnemosyne Maintenance in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Mnemosyne Maintenance on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Mnemosyne Maintenance is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Mnemosyne Maintenance

Use when: upgrading Mnemosyne, diagnosing slow/hung consolidation (mnemosyne_sleep), fixing missing embeddings, or troubleshooting import/version mismatches.

Triggers

  • mnemosyne_sleep hanging for >2 minutes
  • Diagnose reports "fastembed not available" or "sqlite_vec not available" despite being installed
  • Version mismatch: pip shows newer version than runtime
  • Embeddings_available=NO when deps are present

Core troubleshooting (in order)

  1. Run diagnostics:
  • mnemosyne_diagnose
  • Look for: missing fastembed, sqlite_vec, ctransformers; embeddings_available status; mnemosyne_version
  1. Check for local dev shadowing:
  • A local ~/mnemosyne directory will shadow the pip-installed package because Python adds ~ to sys.path on macOS.
  • Confirm with: python -c "import mnemosyne, inspect; print(mnemosyne.file)" If it prints ~/mnemosyne/..., that's the problem.
  1. Fix shadowing (if present):
  • Rename or move local dev copy: mv ~/mnemosyne ~/mnemosyne-local
  • Ensure PYTHONPATH prioritizes site-packages in gateway plist: plutil -replace "EnvironmentVariables.PYTHONPATH" -string "~/.hermes/hermes-agent/venv/lib/python3.11/site-packages" ~/Library/LaunchAgents/ai.hermes.gateway.plist
  • Restart gateway: launchctl stop ai.hermes.gateway && launchctl start ai.hermes.gateway
  1. Remove stale plugin symlinks:
  • Old setups may have: ~/.hermes/plugins/mnemosyne -> ~/mnemosyne/hermes_memory_provider Modern Mnemosyne (3.8+) includes Hermes integration in the package; this symlink is unnecessary and can break imports.
  • If present, remove it: rm ~/.hermes/plugins/mnemosyne
  1. Upgrade Mnemosyne + deps:
  • From venv: pip install --upgrade "mnemosyne-memory[embeddings]" sqlite-vec
  • If version mismatch persists (pip shows new, runtime still old):
  • Uninstall and reinstall cleanly: pip uninstall -y mnemosyne-memory && pip install --upgrade "mnemosyne-memory[embeddings]" sqlite-vec
  1. Restart gateway after changes:
  • launchctl stop ai.hermes.gateway && launchctl start ai.hermes.gateway
  1. Verify:
  • Run: python -c "import mnemosyne; print(mnemosyne.version, mnemosyne.file)" Confirm it loads from site-packages and shows expected version.
  • Run mnemosyne_diagnose again.
  • Test consolidation: mnemosyne_sleep (dry_run=true)

Embeddings

  • If episodic_vectors=0, future operations will be slow on large DBs.
  • Enabling embeddings requires:
  • MNEMOSYNE_VEC_TYPE set to "fastembed" in .env (not just sqlite_vec)
  • sqlite-vec and fastembed installed
  • A migration pass to vectorize existing memories

Enable embeddings (step-by-step)

  1. Add env var (use Python to avoid overwriting):
  • python -c " import os path = os.path.expanduser('~/.hermes/.env') with open(path, 'a') as f: f.write('MNEMOSYNE_VEC_TYPE=fastembed\n') "
  1. Restart gateway:
  • launchctl stop ai.hermes.gateway && launchctl start ai.hermes.gateway
  1. Run auto-fix diagnostics (ensures deps and vec indexes are healthy):
  • ~/.hermes/hermes-agent/venv/bin/mnemosyne diagnose --fix
  1. Plan reindex (dry run first):
  • ~/.hermes/hermes-agent/venv/bin/mnemosyne reindex --dry-run Confirms model, dimensions, and memory counts before writing.
  1. Execute reindex to vectorize existing memories:
  • ~/.hermes/hermes-agent/venv/bin/mnemosyne reindex --yes This can take several minutes on large DBs; it is safe and non-blocking for Hermes runtime.
  1. Verify:
  • mnemosyne_diagnose → embeddings_available=OK, episodic_vectors > 0

Pitfalls

  • Never trust pip show alone; always verify with import mnemosyne + file.
  • Do not leave a local ~/mnemosyne directory in place if you intend to use the pip-installed version.
  • After any Mnemosyne change, restart the gateway — Hermes caches imports at startup.
  • mnemosyne_diagnose can lie about versions and deps when a local dev copy shadows site-packages (it reads from whatever import mnemosyne resolves to). Always confirm with: python -c "import mnemosyne; print(mnemosyne.version, mnemosyne.file)" If it prints ~/mnemosyne/... instead of site-packages, your diagnosis is using the wrong package.
  • On large DBs (40K+ working memories) without embeddings, mnemosyne_sleep can hang for 30+ minutes doing brute-force FTS + LLM passes. Treat this as a hard signal to enable embeddings, not just "wait longer."
  • The mnemosyne reindex command may default to ~/.mnemosyne/data/ instead of ~/.hermes/mnemosyne/data/, causing backup or DB-not-found errors. Fix by:
  • Setting MNEMOSYNE_DATA_DIR=~/.hermes/mnemosyne, or
  • Using --no-backup if you're confident in the DB integrity and just need to reindex.
  • A stale plugin symlink at ~/.hermes/plugins/mnemosyne -> ~/mnemosyne/hermes_memory_provider will break imports on modern Mnemosyne (3.8+), which bundles Hermes integration directly. Remove it if present.
  • Hermes currently bundles mnemosyne 3.0.0 internally, so even after upgrading the pip package to 3.8+, the runtime may still report 3.0.0 and refuse to fully activate embeddings. In that case:
  • Ensure PYTHONPATH in gateway plist points to site-packages.
  • Add MNEMOSYNE_VEC_TYPE=fastembed via plutil (see "Embeddings" section).
  • Run reindex with MNEMOSYNE_DATA_DIR set explicitly.
  • If mnemosyne_sleep runs fast and no longer hangs, the fix worked even if diagnose still says 3.0.0.
  • When using a local dev copy of Mnemosyne (e.g., ~/mnemosyne-dev), ensure its init.py delegates to the real package instead of shadowing it:
  • Remove sys.path.insert(0, repo_root) lines that bring in the inner mnemosyne/ subpackage.
  • Import everything from the installed mnemosyne-memory package via "from mnemosyne import *" so Hermes gets the latest version.

Hard-learned rules (from live sessions)

  • Trust behavior over version numbers:
  • If mnemosyne_sleep completes quickly and no longer hangs, the fix worked — even if diagnose still reports 3.0.0 or embeddings_available=NO.
  • Hermes bundles its own older mnemosyne internally; pip upgrades alone won't change what diagnose prints. What matters is whether operations are fast and non-blocking.
  • When reindex fails with "Database not found" or backup errors:
  • It's using ~/.mnemosyne/data/ instead of ~/.hermes/mnemosyne/data/.
  • Either set MNEMOSYNE_DATA_DIR=~/.hermes/mnemosyne before running, or use --no-backup if you're confident in DB integrity.
  • If all deps are installed and fastembed/sqlite_vec show OK but embeddings_available=NO:
  • Likely Hermes is loading its bundled mnemosyne 3.0.0 instead of the pip-installed 3.8+.
  • Ensure PYTHONPATH in gateway plist points to site-packages, remove stale plugin symlinks, restart gateway, then verify with a live mnemosyne_sleep run rather than diagnose output alone.

Frequently asked questions

What does the Mnemosyne Maintenance AI skill do?

mnemosyne-maintenance — Upgrade, troubleshoot, and maintain Mnemosyne memory provider — version mismatches, slow/hung consolidation, missing embeddings, import shadowing.

Why use Mnemosyne Maintenance on TypingMind?

Because you install it once and use it with any model. Mnemosyne Maintenance is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Mnemosyne Maintenance in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AtlasOmnia/donna-starter/tree/main/skills/hermes/mnemosyne-maintenance. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Mnemosyne Maintenance?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Mnemosyne Maintenance?

As many as you like. As long as a model supports skills, you can use Mnemosyne Maintenance with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Mnemosyne Maintenance AI skill free?

Yes. It is published on GitHub by AtlasOmnia under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇