/mnemoloci:mnemoloci-instinctsfrom mnemoloci
Mines past Claude Code sessions for user corrections and confirmations, then proposes durable one-line rules ('when X, do Y') for approval. Useful for learning from feedback and stopping repeated mistakes.
Ships in mnemoloci. 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.
An instinct is a one-line rule the user taught through feedback. Approved instincts are injected into every future session, in its folder or globally. Nothing is used until the user approves it.
The engine does this step deterministically:
mnemoloci instincts mine [--project TEXT] [--since YYYY-MM-DD]
It reads the transcripts and finds:
Each moment comes with the assistant reply that came right before it. The engine writes a packet JSON file; already-seen moments are skipped.
Read the packet. For each recurring or clearly durable lesson, write one proposal to a JSON file:
{"schema": "mnemoloci.instinct-proposals.v1", "proposals": [
{"trigger": "the user asks to analyse a project",
"action": "read the code and the documentation; do not install or run anything without asking",
"scope": "global",
"evidence": [{"session_id": "…", "ts": "…", "quote": "Actually I never asked you to run the tests…"}]}
]}
What makes a good instinct
Scope and evidence
scope to the project path if the lesson only applies there; otherwise use global.session_id + ts pairs from the packet. The engine rejects anything else. Several moments can support one instinct, and more distinct sessions means higher confidence (0.3 → 0.85).Skip
CLAUDE.md;mnemoloci instincts propose <file>
mnemoloci instincts list --status proposed
Show the user each proposal as "Quando … → …", with its evidence. They decide in chat or in the app's Revisione view:
mnemoloci instincts approve <id>
mnemoloci instincts reject <id> --reason "…"
mnemoloci instincts retire <id> --reason "…" # an active one that no longer applies
Rejected and retired instincts are kept for audit. Re-proposing the same rule adds evidence to the existing note instead of duplicating it.
mnemoloci instincts promote-candidates # project rules that recur, similar, in 2+ projects
mnemoloci instincts promote <id> # make one global (only when the user agrees)
mnemoloci instincts export --out rules.json
mnemoloci instincts import rules.json # e.g. on another PC: they arrive as proposed, approve them again
After promoting a rule, offer to retire its project copies with instincts retire.
Several approved instincts about the same subject are really one procedure:
mnemoloci instincts evolve [--min-size 2]
It returns groups of approved instincts with the words they share. Offer the user to turn a group into a skill. If they agree, follow mnemoloci-skills step 3 with --origin instincts and the instinct paths as --source. The instincts stay active: the skill does not replace them.
What SKILL.md sets; muted values are Claude Code's defaults
25 skills in this plugin
/mnemolociPersonal second brain in an Obsidian-compatible Markdown vault (default ~/Mnemoloci). Use when the user wants to build knowledge from their projects, search what they already know, review pending pages, or check vault health — and when the user says "new project X" / "create a project" (new project folder under the projects root, e.g. from the phone), "save this link/PDF/video", "where did we leave off", "what do I have to do", "summary of the week", "turn on the backup" (or their Italian equivalents "nuovo progetto X", "crea un progetto", "salva questo link/PDF/video", "dove eravamo rimasti", "cosa ho da fare", "riepilogo della settimana", "attiva il backup"), or wants to import ChatGPT/claude.ai chats. Routes to mnemoloci-ingest, mnemoloci-capture, mnemoloci-resume, mnemoloci-query, mnemoloci-review, mnemoloci-lint, mnemoloci-new-project./mnemoloci-backupBack up the Mnemoloci vault with git, optionally to a remote copy, and bring back earlier versions of notes. Use when the user says "turn on the backup", "back up my second brain", "sync the vault", "what did this page look like before", "restore yesterday's version", or, in Italian, "attiva il backup del second brain", "fai un backup", "sincronizza il vault", "com'era questa pagina prima", "ripristina la versione di ieri"./mnemoloci-briefWrite a briefing, a plain-language explanation or a progressive lesson on a topic from the user's second brain, with every claim cited and audited. Use when the user says "give me a briefing on X", "explain X in plain words", "teach me X step by step", "summarise what I know about X for a meeting", or, in Italian, "fammi un briefing su X", "spiegami X in parole semplici", "insegnami X passo passo", "riassumi quello che so su X per una riunione"./mnemoloci-captureSave a web page, article, PDF, YouTube video, local file or pasted text into the Mnemoloci second brain, then compile it into wiki pages. Use when the user shares a link or document and says "save this", "remember this article", "add it to the second brain", "read this PDF/video and keep it", or pastes text to keep (in Italian "salva questo", "ricordati questo articolo", "aggiungi al second brain", "leggi questo PDF/video e tienilo")./mnemoloci-changed-my-mindNarrate how the user's recorded position on a topic changed over time in Mnemoloci — confidence shifts, contradictions found later, revised claims. Use when the user asks things like "how did I change my mind about…", "what did I think before…", "do I still hold the same opinion about…", "why did I change my mind about…", or, in Italian, "come ho cambiato idea su…", "cosa pensavo prima di…", "sono ancora della stessa opinione su…", "perché ho cambiato idea su…"./mnemoloci-connectorsSet up, check or fix a periodic sync connector to an external service (Google Drive, OneDrive, Gmail, GitHub, Notion) so its content flows into the vault's review queue automatically. Use when the user says "connect Google Drive/OneDrive/Gmail/GitHub/Notion", "I want to sync a folder/repo/database", "why is the connector not syncing", "how do I register the OAuth app for X", or, in Italian, "collega Google Drive/OneDrive/Gmail/GitHub/Notion", "voglio sincronizzare una cartella/repo/database", "perché il connettore non sincronizza", "come registro l'app OAuth per X".npx claudepluginhub siris9476/mnemoloci --plugin mnemolociOther plugins' skills for the same job