mm-vault

mm-vault is a skill for Claude Code, Codex from mworldorg/markdown-memory. It costs 69 tokens per session (1,594 once invoked), scanned A, original, MIT.

A setup tool that creates a private GitHub repository for an Obsidian project memory folder and connects it to Claude.ai project knowledge. Obsidian is a note-taking app that stores information as files.

In plain words
What is it for?
Use it to create a memory vault, set up memory synchronization, or initialize the Git repository used for that synchronization.
Why use it?
It keeps long-term project notes synchronized without manually copying them between tools. It also checks the project and memory-folder settings needed for the setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it to create a memory vault, set up memory synchronization, or initialize the Git repository used for that synchronization.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mworldorg/markdown-memory/mm-vault
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mworldorg/markdown-memory --skill mm-vault
Clone the repo
git clone --depth 1 https://github.com/mworldorg/markdown-memory

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mm-vault

README.md
[![agentmods](https://agentmods.dev/badge/skills/mworldorg/markdown-memory/mm-vault/github.svg)](https://agentmods.dev/skills/mworldorg/markdown-memory/mm-vault)
Your own site
<a href="https://agentmods.dev/skills/mworldorg/markdown-memory/mm-vault"><img src="https://agentmods.dev/badge/skills/mworldorg/markdown-memory/mm-vault/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mm-vault

Your own site · 80×15
<a href="https://agentmods.dev/skills/mworldorg/markdown-memory/mm-vault"><img src="https://agentmods.dev/badge/skills/mworldorg/markdown-memory/mm-vault.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,594 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.01594
Opus 5.5 $0.00028 $0.00638
Sonnet 5.5 $0.00014 $0.00319
Haiku 4.5 $0.00007 $0.00159

Measured 1mo ago against content hash dfe2a749dc5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mm-vault scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mm-vault/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

mm-vault — Memory Vault Git Sync Initializer

Инициализирует и настраивает приватный git-репозиторий для папки памяти проекта Obsidian Vault. Это позволяет синхронизировать долгосрочную память с claude.ai Project Knowledge/Files через интеграцию с GitHub, исключая ручной копипаст.

Конфиг

Загрузи mm-config.json по алгоритму из <repo>/docs/CONFIG-LOADING.md. Поддержка mm-config.local.json overlay обязательна.

Понадобятся:

  • paths.obsidian_projects
  • paths.obsidian_vault

Процесс

Шаг 1. Определи проект и папку памяти (Vault Root)

  1. Определи проект по passport.md в текущей cwd или её родительских директориях.
    • Извлеки имя проекта из YAML frontmatter project: (или из поля "Имя" таблицы Идентификация).
    • Если passport.md не найден, выведи предупреждение и спроси имя проекта или предложи запустить /mm new сначала.
  2. Определи slug проекта (в нижнем регистре, с заменой пробелов на дефисы). Для markdown-memory slug равен markdown-memory.
  3. Определи путь базы знаний <vault_root> по единому алгоритму резолва:
    • (1) из секции ## Obsidian Knowledge Vault в CLAUDE.md со строкой Хранилище знаний: <путь>, если она есть;
    • (2) локальная папка .vault/ в корне проекта;
    • (3) глобальная папка проекта <obsidian_projects>/<slug>/ из конфига.
  4. Выведи пользователю подтвержденный путь папки памяти.

Шаг 2. Покажи состав папки и прогони Secret-Scan

  1. Сделай рекурсивный обход папки <vault_root> и покажи дерево файлов, которые попадут в репозиторий.
  2. Прогони все файлы папки через паттерны из канона <repo>/config/secret-patterns.json (пояснение — <repo>/docs/SECRET-PATTERNS.md).
    • Класс A (Высокоточные секреты):
      • Если найден хотя бы один реальный секрет, останови выполнение (hard-stop).
      • Покажи пользователю найденную строку и файл.
      • Жди явного исправления/подтверждения перед созданием репозитория. Не продолжай автоматически. Блокирует только реальный секрет (когда человек сам убирает реальный секрет).
    • Класс B (Широкие совпадения / предупреждения):
      • Выведи предупреждения в формате: ⚠️ возможный секрет/длинная строка в <файл>, строка N: <первые 12 симв.>… — проверь вручную (не замаскировано).
      • Важно: Класс B служит только для предупреждения пользователя. НИКОГДА не редактируй содержимое файлов памяти проекта ради сканера. Скилл никогда не переписывает текст заметок.
  3. Жди подтверждения (y/n) от пользователя для создания репозитория и первого пуша.

Read the full file on GitHub · 107 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 107 lines · 69 tokens per session scan A dfe2a749dc5a

Subscribe to this mod's changes

mm-vault is a skill published in the GitHub repository mworldorg/markdown-memory (25 stars, last pushed 20d ago), licensed MIT. It adds 69 tokens to every session and 1,594 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.