Agent Mindmap is an Obsidian plugin MVP for turning local AI coding sessions into project memory.
It scans local Codex and Claude Code JSONL transcripts, normalizes them into a shared Session/Message schema, lets you review a merge preview, writes project Markdown files after explicit confirmation, and generates a project-scoped Obsidian Canvas map with evidence references.
- Run
npm install. - Run
npm run build. - Copy or symlink this folder into an Obsidian vault under
.obsidian/plugins/agent-mindmap. - Enable
Agent Mindmapin Obsidian community plugins. - Open the ribbon action or command
Open AI Sessions view.
Required plugin files are:
manifest.jsonmain.jsstyles.css
Open the plugin settings and review:
- Memory root: vault-relative folder for project Markdown, cache, previews, and Canvas files.
- Codex session roots: configured paths are additive; with auto-discover enabled,
~/.codex/sessionsand~/.codex/archived_sessionsare scanned as canonical roots. - Claude Code project roots: configured paths are additive; with auto-discover enabled,
~/.claude/projectsis scanned as the canonical project root. - Claude desktop app session roots: with auto-discover enabled,
~/Library/Application Support/Claude/claude-code-sessionsis scanned read-only to recover or enrich Claude Codecwdand title metadata. - Auto-discover default session roots: keeps canonical Codex, Claude Code, and Claude desktop locations enabled alongside manual roots.
- Project mapping policy: MVP maps by transcript cwd/source path into a stable project id.
- Manual merge only: keeps project Markdown writes behind
Confirm Apply. - Privacy filters: removes injected context and secret-like text from transcript previews and evidence.
- Cache diagnostics: shows recent scan diagnostics and recovery labels.
- Run
Refreshor commandScan Codex and Claude Code sessions. - Select a session in the Inbox.
- Use
Map to Projectto preview the cwd-based project mapping. - Use
Extract Memoryto create a merge preview JSON underAI-Projects/_inbox/. - Open the
Memorytab to review target files, warnings, conflicts, and evidence. - Use
Confirm Applyto write Markdown files. Existing non-identical files are treated as conflicts and are not overwritten. - Use
Generate Canvasonly after a successful apply. Canvas nodes link to Markdown files and carry evidence metadata.
This MVP does not implement Claude Web sync, mobile support, multi-user collaboration, fully automatic merge, or a complete task-board system.
Markdown and JSON are the durable state source. Canvas is generated navigation only.