mnemos
БесплатноБез исполняемых скриптовНе проверенPersistent memory and learning-loop skills for AI coding agents using mnemos MCP tools. Use whenever mnemos_* MCP tools are available and you are doing work…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
mnemos
Overview
You have a persistent memory layer available via the mnemos_* MCP tools. By default you will skip these tools on plain editing tasks. Don't. Mnemos is the learning-loop primitive for the project you are working on: corrections, decisions, and conventions compound across sessions if you record them. Silently editing leaves the store empty and the next session blind.
There is a known correction already stored about this exact failure mode: "agent skipped mnemos_session_start on editing tasks — LLMs skip optional tool calls when the task looks like plain reading/editing; the agent needs an external nudge." This skill is that nudge.
Prerequisites
- The
mnemosbinary is onPATH.mnemos doctorreports green for binary, config, storage, and each agent registration. mnemos inithas wired the MCP server into your agent host (Claude Code, Claude Desktop, Cursor, Windsurf, or Codex CLI).- The
mnemos_*tools are visible this session. If they are not, the MCP server is not connected — see Error Handling.
Instructions
Session lifecycle
Start. The Claude Code SessionStart hook runs mnemos prewarm, which opens a mnemos session by default and injects a mnemos_session_id: line into context. If that ID is present, reuse it for session_id fields and do not call mnemos_session_start again. If no ID is present (manual MCP setup, non-Claude client, or hook disabled) and you are about to do real work, open one:
mnemos_session_start(
project="<repo name from git or cwd>",
goal="<one short line — what you are trying to do this session>"
)
Without a goal, the UserPromptSubmit hook backfills the first real prompt when available. With a goal, the session becomes a durable record that mnemos replay and future prewarms can use.
End. When the user signals done ("ship it", "that's it", "commit and close", "we're done"), close the session:
mnemos_session_end(
session_id="<id>",
summary="<one or two sentence recap of what shipped>",
status="ok"
)
Status values: ok | failed | blocked | abandoned. An open session with no summary is dead weight in the next session's prewarm.
Which tool for which signal
| Signal from the user or the work | Tool to call |
|---|---|
| About to execute a non-trivial plan (after deciding approach, before first edit) | mnemos_premortem(plan, project) — returns how similar attempts failed; read it before proceeding |
| A non-obvious decision, pattern, or architectural call worth preserving | mnemos_save with type=decision / architecture / pattern |
| User corrects an approach: "actually no, do X because Y" | mnemos_correct(tried, wrong_because, fix) |
| A rule that should apply to the project forever: "always wrap errors with %w" | mnemos_convention(title, rule, rationale, project) |
| A file you are editing heavily and will revisit | mnemos_touch(path, project) |
| Reloading state mid-session after a context compaction | mnemos_context(session_id=..., mode="recovery") |
| Checking history before doing something you might already have figured out | mnemos_search(query, project) |
| Quick state check ("is mnemos actually recording?") | mnemos_stats |
| Linking two observations so they surface together | mnemos_link(from_id, to_id, relation) |
| At the top of a long session, or when the user questions a stored rule | mnemos_ruminate_list → pick one → mnemos_ruminate_pack |
| Replacing a weak skill or stale rule after hostile review | mnemos_ruminate_resolve(id, resolved_by, why_better) |
| Leaving a rule intact because the evidence was noise | mnemos_ruminate_dismiss(id, reason) |
What not to do
- Don't call
mnemos_savefor ephemeral within-session context ("I'm reading X now"). Save things worth remembering next session, not running commentary on this one. - Don't call
mnemos_correctfor trivial typos or one-off slips. Corrections are for conceptual mistakes that would repeat. - Don't fabricate tool arguments. Derive
projectfrom the git remote or the working directory; if unclear, ask. - Don't spam
mnemos_searchbefore every edit. It is fast but the goal is a richer memory, not a pre-check ritual. - Don't skip
mnemos_session_end. Check for open sessions viamnemos_statsat the top of a session; if one is open from a past run, close it.
Rumination: when a stored rule looks wrong
Mnemos flags stored knowledge whose effectiveness has fallen below the threshold. These are rumination candidates and they want a hostile review, not a rubber stamp.
Trigger situations where you should check the queue:
- At the top of any long or consequential session (run
mnemos_ruminate_list). - When the user questions a rule the memory layer is surfacing ("is this still true?").
- When you just watched a saved skill or convention fail in practice.
Workflow:
mnemos_ruminate_list→ returns{candidates: [...], counts: {...}}. Pick one by ID.- `mnem
Установить mnemos в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
mcp__mnemosFAQ
Что делает скилл mnemos?
Persistent memory and learning-loop skills for AI coding agents using mnemos MCP tools. Use whenever mnemos_* MCP tools are available and you are doing work worth remembering. Cross-session memory, conventions, corrections, and architectural decisions surface back into context automatically. Triggers on session start (record a goal), session end (record a summary), the user says "save", "remember", "record this", "we were wrong about", and on any genuine correction or architectural decision. Keeps mnemos's memory store alive across sessions so the next session starts smarter. Without this skill, agents silently edit and the store goes empty.
Как установить скилл mnemos?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mnemos запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic