obsidian-mcp

obsidian-mcp is a skill for Claude Code, Codex from r007b34r/opencode-obsidian-knowledge-workflow. It costs 44 tokens per session (903 once invoked), scanned A, original, Apache-2.0.

A safety layer for operating an Obsidian knowledge vault through connected tools. It controls how notes are searched, read, edited, written, and checked.

In plain words
What is it for?
Use it whenever a vault needs to be read, searched, tagged, edited, or verified. It requires a fresh read before writing and uses safer alternatives for restricted operations.
Why use it?
It reduces the risk of changing notes based on stale information or claiming a change worked without verifying it. Every changed line must be linked to the user's request.

Skill for Claude CodeCodex

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

Good fit Use it whenever a vault needs to be read, searched, tagged, edited, or verified. It requires a fresh read before writing and uses safer alternatives for restricted operations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/r007b34r/opencode-obsidian-knowledge-workflow/obsidian-mcp
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 r007b34r/opencode-obsidian-knowledge-workflow --skill obsidian-mcp
Clone the repo
git clone --depth 1 https://github.com/r007b34r/opencode-obsidian-knowledge-workflow

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 obsidian-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/r007b34r/opencode-obsidian-knowledge-workflow/obsidian-mcp.svg)](https://agentmods.dev/skills/r007b34r/opencode-obsidian-knowledge-workflow/obsidian-mcp)
Your own site
<a href="https://agentmods.dev/skills/r007b34r/opencode-obsidian-knowledge-workflow/obsidian-mcp"><img src="https://agentmods.dev/badge/skills/r007b34r/opencode-obsidian-knowledge-workflow/obsidian-mcp.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 903 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.
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.00044 $0.00903
Opus 5 $0.00022 $0.00451
Sonnet 5 $0.00009 $0.00181
Haiku 4.5 $0.00004 $0.00090

Measured 7d ago against content hash aa373d7d10fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

obsidian-mcp 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (validators/api-safety-check.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/obsidian-mcp/SKILL.md · 101 lines

How it starts

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

obsidian-mcp

Constraints

  • NO write without fresh read first
  • NO completion claims without readback verification
  • EVERY changed line must trace to user request
  • This skill owns vault operations ONLY; workflow decisions belong to companion skills

Host Constraints (version-locked — re-verify on upgrade)

These are based on [email protected]. They may be stale.

To re-verify: call the forbidden API with a trivial test payload. If it returns -32602, constraint holds. If it succeeds, update this table and remove the ban.

Operation Status Alternative
obsidian_patch_note Forbidden (last verified: 2026-05-10) obsidian_replace_in_note
obsidian_append_to_note Forbidden (last verified: 2026-05-10) obsidian_replace_in_note or obsidian_write_note overwrite:false for new files
obsidian_write_note overwrite:true Forbidden by default Surgical replace for existing files
obsidian_delete_note Requires user confirmation List path + risk first

If you suspect a constraint is stale, test it. A successful call means the ban should be lifted.

Tool Selection

Goal Tool
Browse structure obsidian_list_notes (depth 2-4)
Search obsidian_search_notes
Read before edit obsidian_get_note format:"document-map" then content/full
Create note obsidian_write_note overwrite:false → readback
Edit existing obsidian_replace_in_note → readback
Frontmatter obsidian_manage_frontmatter
Tags obsidian_manage_tags

When selecting tools, read references/examples.md for operation patterns.

Workflow

  1. Locate: identify targets, read before writing
  2. Plan: minimum change only; report unrelated issues, don't fix them
  3. Write: use appropriate tool from table above
  4. Verify: readback every write; compare actual vs expected

When formatting completion reports, read references/templates.md.

Error Recovery

Read the full file on GitHub · 101 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 101 lines · 44 tokens per session scan A aa373d7d10fa

Subscribe to this mod's changes

obsidian-mcp is a skill published in the GitHub repository r007b34r/opencode-obsidian-knowledge-workflow (11 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 903 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-31.

Related

Other skills, from other repositories

project

Create or maintain an Architecture Studio project — initialize its record bundle, remember sourced facts, capture or supersede decisions, inspect project status, or migrate a 1.x PROJECT.md. Use when the user says “set up the project,” “remember this,” “we decided,” asks about project context, or runs /as:project.

AlpacaLabsLLC/skills-for-architects · 69 tokens

llm-wiki

Build and maintain an LLM-curated personal knowledge base — the "LLM Wiki" pattern from Andrej Karpathy's April 2026 gist. Use this skill whenever the user wants to ingest a source (paper, article, transcript, PDF, notes) into a persistent compounding knowledge base, ask a question against accumulated notes, lint or…

praneybehl/llm-wiki-plugin · 221 tokens

orient

Use when user invokes /orient with a topic keyword, entity type, project name, time qualifier, or combination. Also triggers on "what do we know about X", "remind me about X", "where did we leave off on X". Provides targeted context loading — searches the MCP Memory Server graph, knowledge files, journal entries, and…

harnessprotocol/harness-kit · 80 tokens

memory

Use when user invokes /memory with a subcommand (search, trace, add, episode, status). Also triggers on "search my memory for X", "add to memory", "what do I know about X" (when membrain is available), "memory status", "memory trace". Searches and manages the membrain knowledge graph via MCP tools or HTTP API.

harnessprotocol/harness-kit · 76 tokens

capture

Use when user invokes /capture to capture information from the current conversation into a staging file for later reflection and knowledge graph processing. Accepts no arguments (auto-extract), specific facts as text, or filter keywords like "decisions" or "technical". Do NOT use when the user wants to write directly…

harnessprotocol/harness-kit · 73 tokens

cc-wiki

Distill the user's /.claude history into a Quartz knowledge base. Runs preprocess.py, dispatches parallel project-digest agents, then parallel cross-cutting synthesis agents (people / companies / projects / concepts / workflows / tools / playbooks), writes the spine, installs Quartz, and starts the dev server. Single…

tejpalv/cc-wiki · 76 tokens