Logo Obsidian Vault

Obsidian Vault

Cộng đồng
arozumenko
obsidian-vault

Use when the user says 'save to vault', 'log this note', 'find my notes about X', 'what's in my inbox', 'open loops', or when filing an incoming signal (email/chat/memo) or updating people/project/meeting notes. Headless, file-system Obsidian vault operations, no Obsidian app needed.

Tổng quan

Nhà phát hànharozumenko
Kho mãsdlc-skills
Tên kỹ năngobsidian-vault
Sao
26
Bản fork
10
Tệp đi kèm
17
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 17 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được arozumenko công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Obsidian Vault trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/arozumenko/sdlc-skills/tree/main/skills/obsidian-vault
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arozumenko/sdlc-skills.git /tmp/sdlc-skills
mkdir -p .claude/skills
cp -r /tmp/sdlc-skills/skills/obsidian-vault .claude/skills/obsidian-vault
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Obsidian Vault trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Obsidian Vault ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Obsidian Vault với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Obsidian Vault

Operate the user's Obsidian vault as a queryable second-brain — headlessly. The vault is plain markdown plus YAML frontmatter; the agent reads and writes files directly. Obsidian itself is for the user to browse the result later.

This skill is self-contained and stdlib-only. It pairs well with an agent-internal memory skill (e.g. the memory skill), but doesn't require one:

WhereWhat goes hereWho reads it
Agent memory (if any)Short-lived cognition, operational logsThe agent
$OBSIDIAN_VAULT_PATH/User-facing knowledge base, signals, contactsThe user (in Obsidian); agent files into it

If unsure where something belongs: short-lived agent thought → memory; user might want to read it later → vault.

The CLI is scripts/vault.py. Vault path comes from $OBSIDIAN_VAULT_PATH or --vault; the CLI exits with an error if neither is set. Output is human-readable on stdout; errors → stderr; non-zero exit on failure.

Vault layout

The skill enforces this layout for any note it creates. Existing notes are not migrated.

<vault>/
  inbox/                    # raw, unprocessed signals — landing zone
  daily/YYYY-MM-DD.md       # user-facing daily note (append-only)
  people/                   # one note per contact — the leverage folder
  projects/                 # active projects
  researches/               # deep-dive notes, reading captures
  meetings/                 # synchronous events with attendees + outcomes
  decisions/                # decision log — "why did we do X"
  memories/                 # user-facing long-term memories
  mails/                    # processed email archive
  chats/                    # processed chat snippets (Telegram, Teams, Slack)
  plans/                    # plans, roadmaps, intent docs
  attachments/              # binaries (images, PDFs, audio)
  templates/                # frontmatter templates per note type
  open-loops.md             # active follow-ups (single flat file)
  open-loops-archive/
    YYYY-MM.md              # one file per month, closed loops

Two hard rules:

  1. Folder = type. Frontmatter = state. PA filters by status: inbox across folders to find work. Folders never carry state. Don't invent inbox/-flavored subfolders inside other folders.
  2. Always wikilinks. Use [[people/anna-petrenko]], never [Anna](./people/anna-petrenko.md). Free backlinks, rename-tracking, and the user gets a graph view.

Frontmatter schema

Every note carries this baseline. Per-type extensions are listed below.

yaml
---
type: signal | project | research | decision | meeting | person | plan | memory | mail | chat
status: inbox | active | done | archived
created: 2026-04-07
source: email | telegram | teams | manual | web | voice
people: [[people/anna-petrenko]]
projects: [[projects/q2-launch]]
tags: [urgent, finance]
processed_at: 2026-04-07T15:23:00
---

Per-type extensions

TypeExtra fields
personorg, role, last_contact, topics, urgency
meetingattendees (list of [[people/...]]), agenda, actions, duration_min
decisionalternatives, rationale, would_change_mind_if
projectstarted, target_date, blocker, next_action
mailfrom, to, subject, received_at, thread_id
chatchannel, participants, received_at

Unknown fields are tolerated (warn-on-unknown, never blocking) — the user may extend the schema in Obsidian and the skill must not break their notes.

Decision tree — where does an incoming signal go?

Is it a synchronous event (call, meeting)?           → meetings/
Is it an email?                                      → mails/
Is it a chat fragment (Telegram/Slack/Teams)?        → chats/
Is it a deep dive / web capture / reading note?     → researches/
Is it a plan / roadmap / intent doc?                 → plans/
Is it a decision the user wants to remember why?    → decisions/
Is it long-term knowledge for the user to reread?   → memories/
Is it a person mentioned 2+ times?                   → people/<slug>.md (autocreate)
Is it about an active project?                       → also wikilink to projects/<slug>
None of the above + user might care later?          → inbox/  (PA triages later)
None of the above + agent-internal only?             → memory log (NOT vault)

The wikilink convention means a single signal can be filed in one place and referenced from many. Don't duplicate notes — link them.

CLI commands

All commands respect --vault <path> (overrides env) and --role <name> (defaults to the agent's role name).

Filing & creation

bash
# Move from inbox/ to its right home, fill frontmatter, set processed_at
vault.py file inbox/2026-04-07-anna-question.md --type chat --person anna-petrenko --project q2-launch

# Create a new note from template, opens for editing (or --content "...")
vault.py new project q2-launch --description "Q2 launch coordination"
vault.py new meeting 2026-04-07-team-sync --attendees anna-petrenko,bob
vault.py new decision use-postgres-not-sqlite --rationale "We need MVCC and JSONB"

Querying

bash
# Find notes by frontmatter facets — uses ripgrep, returns paths + summary
vault.py find --type meeting --since 30d
vault.py find --status inbox
vault.py find --person anna-petrenko --tag finance
vault.py find --project q2-launch --since 7d

# Get a single note's frontmatter + first paragraph
vault.py show people/anna-petrenko.md

People

bash
# Find or create a person note. --touch updates last_contact and bumps counter.
vault.py person anna-petrenko --touch
vault.py person "Anna Petrenko" --org "Acme" --role-field "CFO" --touch

People notes are autocreated only on the second touch to avoid noise from one-off mentions. The first touch records the person in <vault>/.obsidian-vault/<role>/people-pending.md (vault-local agent state, ignored by Obsidian); the second touch promotes it to a real people/<slug>.md.

Open loops

bash
vault.py loop add "Follow up with Anna re: contract by Tue"
vault.py loop list
vault.py loop done --id <id>        # cuts from open-loops.md → archive/YYYY-MM.md

<id> is a short hash printed by loop add and loop list. Closed loops archive into the month they were closed (not the month they were opened).

Daily note

bash
vault.py daily append "Spoke with Anna about Q2 launch — green light"
vault.py daily show                  # prints today's note
vault.py daily show --date 2026-04-06

NEVER use the Write tool on daily notes. They're append-only and shared between you and the user. Only vault.py daily append is safe.

Linking

bash
# Add wikilink from a → b, idempotent (safe to call repeatedly)
vault.py link meetings/2026-04-07-team-sync.md people/anna-petrenko.md

Bases (Obsidian dashboards for the user)

bash
# Copy starter .base files into the vault root (one-time, opt-in)
vault.py bases install

# What's available
vault.py bases list

Bases require Obsidian 1.9+. If the user is on an older version they're harmless YAML files that don't render — no error.

Validation

bash
# Lint all frontmatter against the schema; warn-only by default
vault.py validate
vault.py validate --strict           # exit 1 on any warning
vault.py validate --type meeting

validate reports unknown fields, missing required fields, and invalid date formats. It is not blocking — the user is allowed to evolve the schema. The skill must continue to function on notes that fail validation.

Querying without Bases

Bases require Obsidian. For headless queries the skill uses ripgrep over frontmatter:

bash
# All notes tagged urgent
rg -l '^tags:.*urgent' "$OBSIDIAN_VAULT_PATH"

# All notes with status: inbox
rg -l '^status: inbox' "$OBSIDIAN_VAULT_PATH"

# Backlinks to a person (substitute the wikilink target)
rg -l '\[\[people/anna-petrenko\]\]' "$OBSIDIAN_VAULT_PATH"

vault.py find wraps these patterns. Don't roll your own grep — use the CLI so the schema stays consistent.

Conventions for content

  • Wikilinks for everything internal: [[people/anna]], [[projects/q2-launch]], [[decisions/use-postgres]].
  • Markdown links only for external URLs: [Acme press release](https://acme.example/news).
  • Callouts for structured note sections (the user gets nice rendering, the agent gets greppable headers):
    markdown
    > [!info] Context
    > Anna asked about Q2 budget.
    
    > [!todo] Action
    > Reply by Tuesday with revised numbers.
    
    > [!quote] What she said
    > "We need to ship by end of May or push to Q3."
  • Block references (^block-id) when the daily note needs to point back to a specific paragraph in a meeting note.
  • Headings for navigation, not styling. One H1 per note (the title); H2 for sections.

Sync conflicts

If the vault is on Obsidian Sync / iCloud / syncthing, you may see conflict files like Note (Anna's iPhone).md. The skill detects them and refuses to operate on them — they require human resolution. vault.py validate lists conflict files in its report.

What NOT to do

  • Never overwrite a daily note. Append only, via vault.py daily append.
  • Never duplicate a note across folders. Link instead.
  • Never invent new top-level folders. The schema is fixed; extend via tags or new note types.
  • Never store agent-internal state in the vault. That belongs in .agents/memory/.
  • Never write a person note for a one-off mention. Wait for the second touch.
  • Never use markdown links for internal references. Wikilinks only.
  • Never operate on sync conflict files (*(.* iPhone)*.md, *conflict*.md).

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Obsidian Vault làm được gì?

Use when the user says 'save to vault', 'log this note', 'find my notes about X', 'what's in my inbox', 'open loops', or when filing an incoming signal (email/chat/memo) or updating people/project/meeting notes. Headless, file-system Obsidian vault operations, no Obsidian app needed.

Vì sao nên dùng Obsidian Vault trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Obsidian Vault là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Obsidian Vault trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/arozumenko/sdlc-skills/tree/main/skills/obsidian-vault. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Obsidian Vault?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Obsidian Vault với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Obsidian Vault với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Obsidian Vault có miễn phí không?

Có. Kỹ năng này được arozumenko phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇