Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

obsidianObsidian 知识库

Agent Skill

obsidian 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,776

周安装

74

GitHub Stars

6

下载量

592
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:obsidian(Obsidian 知识库)
来源仓库:https://github.com/synapsync/synapse_registry
仓库路径:skills/obsidian
安装命令:
npx skills add https://github.com/synapsync/synapse_registry --skill obsidian
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/synapsync/synapse_registry --skill obsidian

简介

obsidian 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 适用于知识库查询、笔记关联或信息溯源等研究检索类任务场景。
  • 通过关键词、任务描述或来源线索触发检索,返回结构化候选信息供进一步核验。
  • 安装命令为 npx skills add https://github.com/synapsync/synapse_registry --skill obsidian。
  • 使用前建议确认权限范围、维护状态,以及是否会触发联网或文件读写操作。

SKILL.md

Obsidian Vault Manager

Assets

This skill uses a modular assets architecture. Detailed workflows, templates, and helpers are in the assets/ directory:

  • assets/modes/ - 2 operation modes with detailed workflows
  • assets/helpers/ - Shared helpers for frontmatter, cross-refs, ranking, batch operations

See assets/README.md for the directory index.

Metadata note: This file's YAML frontmatter defines runtime behavior (auto_invoke triggers, allowed-tools, scope). The manifest.json defines registry metadata (version, tags, providers, dependencies). The frontmatter is consumed by the Claude Code skill loader; the manifest is consumed by the skills CLI for installation and updates.

Purpose

Unified skill for all Obsidian vault operations. Acts as a bidirectional knowledge bridge between the agent workspace and your Obsidian vault (MCP preferred, filesystem fallback when unavailable):

  • SYNC mode: Write documents from workspace to vault (markdown reports, plans, analysis)
  • READ mode: Read, search, and reason over vault notes as contextual knowledge source

Combines the capabilities of the former obsidian-sync and obsidian-reader skills into one cohesive tool with progressive disclosure.


Language Support (i18n)

This skill supports bilingual operation (English + Spanish):

  • Trigger keywords: Both English (sync, read, search) and Spanish (guardar, lee, busca) are recognized for mode detection.
  • ## Referencias section header: Uses the Spanish form intentionally as an Obsidian convention adopted by this project. All documents produced by this skill use ## Referencias (not ## References).
  • Example queries: Documentation includes examples in both languages to reflect real bilingual usage.
  • Output language: The skill responds in the same language the user uses. If the user writes in Spanish, respond in Spanish. If in English, respond in English. Document content is never translated — it is synced/read exactly as-is.
Convention: ## Referencias is a fixed section header. Never translate it to ## References in generated documents.

Critical Rules

RULE 1 — MODE DETECTION: AUTO-SELECT FROM USER INTENT Detect the operation mode from the user's input. Never force a mode that doesn't match the scenario.
RULE 2 — PRESERVE CONTENT INTEGRITY (SYNC mode) Read source files completely before writing. Never modify document body content (headings, paragraphs, tables, code blocks, ## Referencias section). Only add/merge frontmatter metadata. Cross-reference fixes update the related frontmatter array only — never the document body.
RULE 3 — NEVER FABRICATE CONTENT (READ mode) Only report information that exists verbatim in notes. Quote sources with paths. Distinguish between "the note says X" and "I interpret X based on notes".
RULE 4 — FOLLOW OBSIDIAN MARKDOWN STANDARD All operations follow the Obsidian markdown standard specification for frontmatter, wiki-links, types, and cross-references.

Tool Dependencies

This skill uses native Claude Code tools only: Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion. No MCP or external dependencies required.


Operation Modes

Mode Detection

Auto-detect from user intent using these signals:

ModeSignals (EN)Signals (ES)Example Inputs
SYNC"sync", "save", "store", "write", "move" + "obsidian""guardar", "sincronizar" + "obsidian""sync this report to obsidian", "guardar en obsidian"
READ"read", "search", "find", "check", "consult", "what do my notes say" + "obsidian"/"vault"/"notes""lee", "busca", "consulta" + "obsidian"/"vault"/"notas""read my vault notes about X", "busca en obsidian"

Ambiguous intent resolution: If the user's intent does not clearly match SYNC or READ signals (e.g., "help me with obsidian", "manage my notes", "obsidian" with no verb), ask the user to clarify:

AskUserQuestion:
  question: "What would you like to do with your Obsidian vault?"
  header: "Mode"
  options:
    - label: "Read / Search"
      description: "Read notes, search for information, or get project context from your vault"
    - label: "Sync / Write"
      description: "Save or sync documents from your workspace to your vault"

Mode Capabilities Matrix

CapabilitySYNC ModeREAD Mode
Write to vault
Read from vault
Search vault
Generate frontmatter
Cross-ref fix (frontmatter)
Cross-ref diagnose
Batch operations
Vault browsing
Priority ranking
Standard compliance check
Delete/archive notes
Move/reorganize notes
Patch notes (partial edit)
Metadata-only reads

Asset Loading (Mode-Gated)

After detecting the mode, read ONLY the assets listed for that mode. Do NOT read assets for other modes — they waste context tokens.

ModeRead These AssetsDo NOT Read
SYNCassets/modes/SYNC.mdREAD.md, priority-ranking.md, obsidian-linter.md
READassets/modes/READ.mdSYNC.md, frontmatter-generator.md, cross-ref-validator.md, batch-sync-pattern.md

Each mode asset references its required helpers and standards internally. Read them on-demand as the mode workflow instructs — not upfront.

For MCP tool parameter contracts (needed in both modes), see assets/helpers/tool-reference.md — read only if ToolSearch output is insufficient.


Quick Start

SYNC Mode

Use to save documents from workspace to your Obsidian vault:

Sync this report to obsidian.

Assets to read now: assets/modes/SYNC.md (references frontmatter-generator, cross-ref-validator, batch-sync-pattern on-demand)

READ Mode

Use to read, search, and reason over your vault notes:

Read my vault notes about the architecture.

Assets to read now: assets/modes/READ.md (references priority-ranking, obsidian-linter on-demand)


Mode Workflows

SYNC Mode - Write to Obsidian Vault

Sync markdown documents from workspace to Obsidian vault with proper frontmatter and cross-reference validation.

Assets to read now: assets/modes/SYNC.md (references frontmatter-generator, cross-ref-validator, batch-sync-pattern on-demand)

Quick summary:

  1. Identify source files (Glob workspace docs)
  2. Detect access mode (MCP or filesystem fallback)
  3. Browse vault and ask user for destination
  4. Read source files
  5. Generate frontmatter (→ SYNC.md references frontmatter-generator)
  6. Write to vault with mcp__obsidian__write_note
  7. Validate cross-references (→ SYNC.md references cross-ref-validator)
  8. Report results

READ Mode - Read from Obsidian Vault

Read, search, and reason over vault notes to provide contextual knowledge for decision-making.

Assets to read now: assets/modes/READ.md (references priority-ranking, obsidian-linter on-demand)

Quick summary:

  1. Load MCP tools (fallback to filesystem if MCP unavailable)
  2. Parse user intent (read note, search, get project context, answer question)
  3. Execute operation (search/read/reason)
  4. Rank results by priority (→ READ.md references priority-ranking)
  5. Present structured output with source citations

Configuration Resolution

{vault_destination} is resolved at runtime — SYNC mode browses the vault and asks the user where to save. No pre-configuration or persistence needed. See SYNC.md Step 3.

Staging-aware: When the user says "sync my output to vault", SYNC mode detects .agents/ directories from producer skills (universal-planner, code-analyzer), lists available output, lets the user pick, and syncs to the chosen vault destination.


Shared Helpers


Obsidian Output Standard

All operations follow the internal Obsidian markdown standard:

  1. Frontmatter: Universal schema with title, date, project, type, status, version, tags, changelog, related
  2. Type taxonomy: 14 document types (analysis, plan, sprint-plan, technical-report, etc.)
  3. Wiki-links: [[note-name]] format, never markdown links
  4. Bidirectional refs: If A→B, then B→A
  5. Status transitions: draft → active → completed → archived

For compliance validation, see assets/validators/obsidian-linter.md.


Integration with Other Skills

Producer SkillHow obsidian Integrates
universal-plannerSYNC: Saves planning docs to vault. READ: Provides historical plans as context
code-analyzerSYNC: Saves technical reports. READ: Surfaces architecture notes
universal-planner (EXECUTE mode)READ: Retrieves sprint plans and progress

Composition pattern:

Producer skill generates docs → obsidian SYNC mode writes to vault
Agent needs context → obsidian READ mode retrieves from vault

Cross-Skill Invocation

When another skill or agent needs to invoke obsidian, use this priority order:

Priority 1: Skill Tool (recommended)

If running in Claude Code with skills loaded:

Skill("obsidian")

Then describe the operation (e.g., "sync the files in.agents/staging/code-analyzer/ to the vault").

Priority 2: Natural Language Trigger

Say a phrase that matches auto_invoke:

  • "Sync the output to obsidian"
  • "Save these reports to the vault"
  • "Guardar en obsidian"

Priority 3: Direct SKILL.md Read (subagents without skill context)

If the Skill tool is unavailable (e.g., team subagents via Task tool), read the SKILL.md directly:

Read: cognitives/skills/integrations/obsidian/SKILL.md

Then follow the SYNC or READ mode workflow. NEVER call mcp__obsidian__* tools without reading this skill first.


Best Practices

SYNC mode:

  • Verify source files exist before syncing
  • Always ask user where to save (never assume destination)
  • Validate cross-references after batch syncs
  • Report exact vault paths where files were saved

READ mode:

  • Try MCP first, fallback to filesystem if unavailable
  • Scope searches to relevant folders (don't search entire vault unnecessarily)
  • Always cite sources with exact note paths
  • Distinguish quoted content from interpretation

Limitations

  • Markdown only: Handles .md files, not binary assets/images
  • Single vault: Operates on one vault at a time
  • No bidirectional sync: Writes TO vault (SYNC) or reads FROM vault (READ), not both-way sync
  • Read-only in READ mode: Cannot modify notes in READ mode (use SYNC for writing)
  • Search is regex/literal: Uses Grep — no fuzzy search. Broaden the pattern if results are sparse.

Troubleshooting

IssueModeSolution
"Tool not found: mcp__obsidian__*"BothRun ToolSearch query: "+obsidian write" first
"MCP server not connected"BothSkill automatically falls back to filesystem mode. Provide vault path when prompted.
"Note already exists"SYNCConfirm with user before overwriting
"No results found"READBroaden search, check different folders, verify vault path
"Empty content"SYNCVerify source file path with Glob
"Confirmation path mismatch"SYNCdelete_note requires confirmPath to exactly match path
"Multiple matches found"SYNCpatch_note with replaceAll: false fails on multiple matches; set replaceAll: true or refine the string
"Frontmatter merge conflict"SYNCupdate_frontmatter with merge: true preserves existing; use merge: false to replace entirely
Slow metadata queriesREADUse get_frontmatter or get_notes_info instead of reading full notes

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.37%
按下载量换算227

Claude

27.38%
按下载量换算162

Cursor

17.43%
按下载量换算103

Gemini CLI

9.56%
按下载量换算57

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills