Hir43th28 downloadsWrite a weekly letter from your own notes: connections, contradictions, direction and one question. Works without AI.
Bahasa Indonesia: README.id.md
Once a week, Mind Letter reads your own notes and writes you a short letter, as a normal note in your vault. It looks for the things that are easy to miss when you are the one writing:
Every point links to the notes behind it. At most 5 points. If there is nothing real to say, the letter says less instead of inventing something. If you wrote fewer than 3 notes that week you get a short letter.
It works fully without AI. The rules above find everything. AI is an optional extra that only rewords the result.
Mind Letter is not in the community directory yet. Install it by hand:
main.js, manifest.json and styles.css from the latest release.<your vault>/.obsidian/plugins/mind-letter/.Needs Obsidian 1.8.7 or newer. Works on desktop and mobile (CLI providers are desktop only).
Mind Letter/2026-W47.md and opened. A letter that already exists is never overwritten: you get 2026-W47 (2).md.Settings: language of the letter (automatic follows your notes; Indonesian and English), the folder for letters, folders to ignore, schedule, AI.
Mind Letter/YYYY-Www.md (the folder is configurable).Mind Letter/.memory/ as plain JSON: claims.json (short exact quotes of rules, opinions and plans from your notes, used to find contradictions), themes.json (themes per week), feedback.json, meta.json. Delete the folder to start over.data.json.With AI off (the default) the plugin makes no network request and starts no program. It reads your notes through Obsidian's API and writes the letter and the memory files in your vault. Notes in the Mind Letter folder itself and in folders you chose to ignore are never read.
When you turn AI on, nothing is sent until you approve that provider in a dialog. Approval belongs to one provider: changing the provider or address asks again. The AI never sees whole notes: only the short quotes, titles and links that are already in the rule-based letter (up to 6000 characters by default). Whatever it returns is checked: every link must be one the rules already found, every quote must be an exact copy, no URLs, HTML or code, and length limits. Anything that fails keeps the rule-based wording. If the AI fails, you get the rule-based letter.
AI providers, in the order of the settings:
| Provider | What happens | Runs letters? |
|---|---|---|
| Claude Code (installed CLI) | The plugin runs the claude program on your computer with all tools turned off (--tools ""), permission prompts refused, no session saved, safe mode, no MCP, in an empty temporary folder, no shell. The text goes through stdin. To list models it runs claude --help, reads the model name in ~/.claude/settings.json and scans the program file for model names. It never opens login or token files. |
Yes |
Codex, Gemini CLI, Antigravity (agy) |
Detected only: the settings can list their models (Codex: ~/.codex/config.toml and models_cache.json; agy: runs agy models; Gemini: ~/.gemini/settings.json). They never receive note text, because no verified way to switch all their tools off exists (in real tests agy still wrote files and read files outside its workspace). |
No |
| Ollama / LM Studio (local model) | Text goes only to a server on this computer (localhost). |
Yes |
| Cloud API (OpenAI, Anthropic, Google Gemini) | The text goes to that provider over https. You must enter an API key; it is stored in plain text in the plugin's data.json and is synced if you sync your vault. The key is only sent to the configured address. |
Yes |
Model lists come from the provider itself (--help, the CLI's own files, agy models, /api/tags, /models). There is no built-in model list, and no model name is hard-coded. A cloud provider with no key makes no request at all.
The plugin reads the open vault only, by design. For a letter across several sources (Obsidian, Notion, other note apps you connected), use the separate Mind Letter agent skill: github.com/Finarfin12/mind-letter-skill. It follows the same rules and memory format as the plugin and runs in an AI agent that can read your notes (e.g. Claude Code, Codex). Install steps are in that repository.
npm ci
npm test # core rules, AI layer, plugin logic (vitest)
npm run lint
npm run build # type check + bundle main.js
The lint step treats no-misused-promises and no-floating-promises as errors. Start async work from a callback that must return void with runAsync(fn, onError) (src/run-async.ts), never with a bare async callback.
The logic is in two packages without any Obsidian import, so other front ends can reuse them: packages/core (@mind-letter/core: classify, claims, themes, insights, compose, memory, refinement checks) and packages/ai (@mind-letter/ai: provider detection, safety flags, providers). The plugin in src/ is a thin layer over them.
MIT