Logo di Mnemosyne Maintenance

Mnemosyne Maintenance

Community
AtlasOmnia
mnemosyne-maintenance

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

Panoramica

Pubblicato daAtlasOmnia
Repositorydonna-starter
Nome della skillmnemosyne-maintenance
Stelle
131
Fork
9
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da AtlasOmnia su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Mnemosyne Maintenance in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/AtlasOmnia/donna-starter/tree/main/skills/hermes/mnemosyne-maintenance
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Mnemosyne Maintenance in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Mnemosyne Maintenance non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Mnemosyne Maintenance non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA Mnemosyne Maintenance?

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

Perché usare Mnemosyne Maintenance su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Mnemosyne Maintenance è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Mnemosyne Maintenance in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/AtlasOmnia/donna-starter/tree/main/skills/hermes/mnemosyne-maintenance. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Mnemosyne Maintenance?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Mnemosyne Maintenance?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Mnemosyne Maintenance: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Mnemosyne Maintenance è gratuita?

Sì. È pubblicata su GitHub da AtlasOmnia con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇