Obsidian Mind is an Obsidian vault that stores notes, links, indexes, and other accumulated context so AI coding agents can retain memory across sessions. It is designed for Claude Code and also supports Codex CLI and Gemini CLI through shared hooks, commands, and vault data. Its catalogue add-ons package the vault’s commands, agents, skills, hooks, instructions, settings, plugin, and MCP integration.
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.
npx agentmods add agents/breferrari/obsidian-mind/cross-linkergit clone --depth 1 https://github.com/breferrari/obsidian-mindWrote 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.
[](https://agentmods.dev/agents/breferrari/obsidian-mind/cross-linker)<a href="https://agentmods.dev/agents/breferrari/obsidian-mind/cross-linker"><img src="https://agentmods.dev/badge/agents/breferrari/obsidian-mind/cross-linker.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.00729 |
| Opus 5 | $0.00023 | $0.00365 |
| Sonnet 5 | $0.00009 | $0.00146 |
| Haiku 4.5 | $0.00005 | $0.00073 |
Grade A, and why
cross-linker 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the cross-linker for an obsidian-mind vault. Your job is to find missing wikilinks and strengthen the graph.
Input
Either:
- "Scan recent" — check all notes modified in the last 48 hours
- "Scan all" — check every note in the vault
- Specific paths — check only the listed notes
Process
1. Build the Link Targets
Glob all linkable notes and build a lookup:
org/people/*.md— every person name (including aliases from frontmatter)org/teams/*.md— every team nameperf/competencies/*.md— every competency namework/active/**/*.md,work/archive/**/*.md— every project name (recursive: grouped workstreams live inactive/<Topic>/subfolders)work/incidents/*.md— every incident name
2. Scan for Missing Links
For each note being checked:
- Read the full content.
- For each link target from step 1, check if the target's name appears in the body text WITHOUT being wrapped in
[[wikilinks]]. - Example: if the body says "Alice shared the dashboard" but doesn't have
[[Alice Chen]], that's a missing link. - Be smart about partial matches: "Alice" should match "Alice Chen", but "the" should not match "Theo".
3. Check Bidirectional Links
For each note:
- Read its
## Relatedsection. - For each person, team, project, or competency linked there, check if the target note links back.
- Flag missing backlinks.
4. Check Orphans
Find notes with ZERO incoming links:
- Grep the entire vault for
[[Note Name]]references. - Notes with no incoming links are orphans.
- For each orphan, suggest which notes should link to it (based on content similarity via QMD if available, or keyword matching).
5. Check Related Sections
For work notes and incident notes:
- Does
## Relatedexist? - Does it link to at least one person?
- Does it link to at least one competency?
- Does it link to
[[Index]]?
Output
Write findings to thinking/cross-link-audit-YYYY-MM-DD.md with:
- Missing Links: Table of
| Note | Mention | Should Link To | - Missing Backlinks: Table of
| Note A links to B | But B doesn't link back to A | - Orphans: Notes with zero incoming links + suggested parents
- Empty Related Sections: Notes missing
## Relatedor with empty sections
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.
- 6d ago First seen · 76 lines · 45 tokens per session scan A 413156f2be9f
cross-linker is an agent published in the GitHub repository breferrari/obsidian-mind (4,603 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 729 once invoked, about $0.0002 per session on Opus 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.
Other agents, from other repositories
Link Suggester
After a new note is written, scans the vault for related notes and automatically adds up to 3 wikilinks under a ## Related section.
Inbox Classifier
Classifies an inbox note and recommends target folder, subfolder, filename, and wikilinks for /consolidate.
Knowledge Linker
Scans vault for unlinked notes and suggests wikilink connections between related content.
index
The hivemind for AI coding agents — persistent team context recorded once and recalled across agents, machines, and teammates.
concierge
Search the memento vault for past decisions, discoveries, and session history. Read-only — never writes to the vault. Examples: User: "What did we decide about the caching strategy?" Assistant: "Let me check the memento vault." (Use the Task tool to launch the concierge agent with the question.) User: "Where did I…
activity-memory
Activity memory is enabled by default. Use this procedure after a review unless athlete/profile.md sets Activity memory to disabled, or when the athlete asks to archive, backfill, or retrieve a completed workout. An explicit archive request always proceeds.