obsidian-helper

obsidian-helper is a skill for Claude Code, Codex from ZhanlinCui/Agent-Skills-Hunter. It costs 166 tokens per session (3,897 once invoked), scanned C, original, MIT.

An Obsidian helper for working with notes and knowledge bases. Obsidian is an app that stores linked notes, and this helper connects to it through its local API.

In plain words
What is it for?
It is for capturing, reviewing, and managing Obsidian notes when the required Obsidian connection is available.
Why use it?
It adds a fixed process for checking the connection, guiding setup, and controlling where AI-created notes may be written. This reduces accidental edits and misplaced notes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit It is for capturing, reviewing, and managing Obsidian notes when the required Obsidian connection is available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhanlincui/agent-skills-hunter/obsidian-helper
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 ZhanlinCui/Agent-Skills-Hunter --skill obsidian-helper
Clone the repo
git clone --depth 1 https://github.com/ZhanlinCui/Agent-Skills-Hunter

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin obsidian-helper-plugin — /plugin install obsidian-helper-plugin after adding the marketplace above.

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-helper

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhanlincui/agent-skills-hunter/obsidian-helper/github.svg)](https://agentmods.dev/skills/zhanlincui/agent-skills-hunter/obsidian-helper)
Your own site
<a href="https://agentmods.dev/skills/zhanlincui/agent-skills-hunter/obsidian-helper"><img src="https://agentmods.dev/badge/skills/zhanlincui/agent-skills-hunter/obsidian-helper/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 obsidian-helper

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhanlincui/agent-skills-hunter/obsidian-helper"><img src="https://agentmods.dev/badge/skills/zhanlincui/agent-skills-hunter/obsidian-helper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 166 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,897 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00166 $0.03897
Opus 5.5 $0.00066 $0.01559
Sonnet 5.5 $0.00033 $0.00779
Haiku 4.5 $0.00017 $0.00390

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

Security

Grade C, and why

obsidian-helper scanned grade C with 2 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 2mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat >> ~/.claude/mcp.json << 'EOF'

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

cat >> ~/.claude/mcp.json << 'EOF'
obsidian/obsidian-helper/SKILL.md · 562 lines

How it starts

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

Obsidian Helper - 智能笔记助手

这是一个与 Obsidian MCP 深度整合的智能助手,提供三大核心功能来提升你的笔记效率。


⚡ 首次使用必读:自动检测与配置引导

执行任何功能前,Claude 必须先执行 STEP 0

STEP 0: MCP 连接检测(每次会话首次使用时执行)
├─ 尝试调用 obsidian_list_files_in_vault()
├─ 如果成功 → 继续执行用户请求的功能
└─ 如果失败 → 进入【配置引导流程】

配置引导流程(全中文提示)

当 MCP 连接失败时,Claude 必须向用户显示以下引导信息:


检测到 Obsidian MCP 未连接,我来帮你配置!

📋 配置步骤

第一步:安装 Obsidian 插件

  1. 打开 Obsidian → 设置 → 第三方插件
  2. 关闭「安全模式」
  3. 点击「浏览」,搜索 Local REST API
  4. 安装并启用该插件

第二步:获取 API Key

  1. 在 Obsidian 设置中找到 Local REST API 插件设置
  2. 点击「Copy API Key」复制你的 API Key
  3. 记下端口号(默认是 27124)

第三步:配置 Claude Code MCP

在终端运行以下命令,将 你的API_KEY 替换为刚才复制的 Key:

# 创建 MCP 配置目录(如果不存在)
mkdir -p ~/.claude

# 添加 Obsidian MCP 配置
cat >> ~/.claude/mcp.json << 'EOF'
{
  "mcpServers": {
    "mcp-obsidian": {
      "command": "npx",
      "args": ["-y", "mcp-obsidian"],
      "env": {
        "OBSIDIAN_API_KEY": "你的API_KEY",
        "OBSIDIAN_HOST": "https://127.0.0.1:27124"
      }
    }
  }
}
EOF

或者手动编辑 ~/.claude/mcp.json:

{
  "mcpServers": {
    "mcp-obsidian": {
      "command": "npx",
      "args": ["-y", "mcp-obsidian"],
      "env": {
        "OBSIDIAN_API_KEY": "你的API_KEY",
        "OBSIDIAN_HOST": "https://127.0.0.1:27124"
      }
    }
  }
}

第四步:重启 Claude Code

# 完全退出 Claude Code,然后重新启动
claude

第五步:验证连接

重启后,再次输入你想要的命令(如 /daily),我会自动验证连接是否成功。


❓ 常见问题
问题 解决方案
插件找不到 确保 Obsidian 版本 ≥ 1.0.0
连接被拒绝 检查 Obsidian 是否正在运行
API Key 无效 重新在插件设置中复制 Key
端口冲突 在插件设置中修改端口,并更新 mcp.json

需要帮助? 告诉我你遇到的具体错误信息,我来帮你解决。


连接成功后的提示

当 MCP 连接成功时,Claude 应该简短确认:

✅ Obsidian 已连接!检测到你的知识库,现在开始执行 [功能名称]...

🎯 核心功能概览

命令 功能 使用场景
/daily 智能日记助手 每日开始时,快速启动一天
/capture <主题> 知识捕获 随时记录想法、笔记
/review [period] 周期回顾 定期总结复盘

🏗️ 推荐 Vault 结构(PARA + Zettelkasten)

Vault/
├── 00_Inbox/                 # 随手记
│   └── AI/                   # 【重要】AI 专用落地区
├── 10_Projects/              # 有截止时间的项目
├── 20_Areas/                 # 长期领域(学习/健康/职业)
├── 30_Resources/             # 资料库
│   └── Products/             # 产品卡片
├── 40_Zettels/               # 永久笔记(结论/洞见)
├── 90_Archive/               # 归档
├── 99_System/Templates/      # 模板
└── Daily Notes/              # 日记

Read the full file on GitHub · 562 lines

Files

What ships with it

8 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. 2mo ago First seen · 562 lines · 166 tokens per session scan C f1452300a2b2

Subscribe to this mod's changes

obsidian-helper is a skill published in the GitHub repository ZhanlinCui/Agent-Skills-Hunter (193 stars, last pushed 7mo ago), licensed MIT. It adds 166 tokens to every session and 3,897 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it C with 2 findings (reads agent configuration directories, reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

Migrate

Intakes external content (notes, CLAUDE.md, Cursor rules, Obsidian/Notion/Apple Notes exports), classifies chunks against the LifeOS taxonomy, and commits with provenance after confidence-tiered approval. USE WHEN /migrate, migrate content, import from other LifeOS, bring in old notes, import Cursor rules, import…

danielmiessler/LifeOS · 104 tokens

Cortex

LifeOS memory, prior-session recall, and learning capture. USE WHEN capture this learning, document this learning, what did we learn recently, recent learnings, cortex, knowledge, knowledge base, search knowledge, what do we know about, archive, harvest, knowledge status, develop note, add to knowledge, add a people…

danielmiessler/LifeOS · 184 tokens

Profile

View, edit, or clear the LifeOS User Model (PRINCIPALIDENTITY.md) — persistent identity context loaded at session startup. Three intents: View, Edit (identity, goals, constraints, preferences), Clear (reset). Read by Algorithm OBSERVE and skills for personalization. USE WHEN profile, show profile, view profile, who am…

danielmiessler/LifeOS · 108 tokens

wiki-dashboard

Create dynamic, queryable Obsidian dashboard views using Bases or Dataview. Use for auto-updating tables, indexes, or structured views of vault content; not for ordinary question answering.

Ar9av/obsidian-wiki · 42 tokens

relevance-coarse-filter

Cheap, high-recall first-pass filter that removes obvious junk from a detector candidate pool before expensive story-origin research and PR judgment. Decides keep, monitoronly, or reject — never ranks, writes angles, verifies dates, or decides whether to pitch.

elvisun/newsjack · 57 tokens

session-compact

AI DevKit · Compact a historical AI coding session with Jev when context is long, work is handed off or resumed, or durable continuation facts and memory candidates need extraction.

codeaholicguy/ai-devkit · 39 tokens