Chuyển đến nội dung
Skillpedia
Viết lách12k · #11571

obsidian

Skill này làm gì

Skill này cho agent làm việc với ghi chú trong kho Obsidian bằng công cụ dòng lệnh chính thức của Obsidian. Dành cho người giữ ghi chú của mình trong Obsidian.

Khi nào nên dùng

  • ✓Khi bạn muốn agent tìm trong ghi chú Obsidian một chủ đề hoặc cụm từ.
  • ✓Khi bạn muốn tạo ghi chú mới hoặc sửa một ghi chú có sẵn trong kho.
  • ✓Khi bạn muốn agent xem lại hoặc cập nhật các tác vụ, liên kết hoặc thuộc tính trong ghi chú.

Liên kết skill

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/obsidian/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/obsidian/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm trong kho Obsidian của tôi các ghi chú về ngân sách Q3 và tóm tắt chúng.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent dùng công cụ dòng lệnh Obsidian, công cụ này kết nối với ứng dụng máy tính đang chạy, để đọc và thay đổi ghi chú. Nếu bạn có nhiều kho, nó hỏi bạn chọn một kho.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Obsidian

Use the official obsidian CLI for Obsidian-aware vault operations. Vault notes are Markdown, so direct file reads and edits are appropriate when the exact vault path is known and the change does not require Obsidian to update links or metadata.

Prerequisites

  • Obsidian 1.12.7 or newer is installed.
  • Settings > General > Command line interface is enabled.
  • obsidian is registered on PATH.
  • Obsidian is running; the CLI connects to the desktop application.

Check without changing the vault:

obsidian version
obsidian help

If the CLI is absent, explain how to enable the official CLI in Obsidian. Do not silently install a third-party obsidian-cli package.

Vault selection

Multiple vaults are common. Use vault="<name>" when the target is ambiguous, and ask the user to choose rather than guessing. Prefer path="Folder/Note.md" for exact vault-relative resolution; file=<name> uses Obsidian's name-based resolution.

Do not edit .obsidian/ configuration unless the user explicitly requested a settings or plugin change. Avoid reading or exposing unrelated notes from a private vault.

Command pattern

obsidian <command> [name=value] [flag]
obsidian vault="Notes" search query="meeting notes" format=json

Quote parameter values containing spaces. Prefer structured output such as format=json when available.

Open and read

obsidian open file=Recipe
obsidian open path="Inbox/Idea.md" newtab
obsidian read
obsidian read file=Recipe

Search

obsidian search query="TODO" matches
obsidian search query="status::active" format=json
obsidian search:open query="project notes"

Create and modify

obsidian create name="New Note"
obsidian create path="Inbox/Idea.md" content="# Idea"
obsidian append file=Note content="New line"
obsidian prepend file=Note content="After frontmatter"

Create and modify notes only when requested. For multiline or user-provided content, avoid fragile shell interpolation; use a safe file-based workflow or the agent's file tools after resolving the exact vault path.

Move and delete

obsidian move file=Note to=Archive/
obsidian move path="Inbox/Old.md" to="Projects/New.md"
obsidian delete file=Note

Prefer Obsidian's move command so links can be maintained. Verify the exact source and destination. Confirm immediately before deletion if the target was not already explicit in the user's request.

Daily notes and tasks

obsidian daily
obsidian daily:read
obsidian daily:append content="- [ ] Review inbox"
obsidian tasks all todo
obsidian task file=Note line=8 done

Completing a task changes a note. Resolve the file and task line before applying it.

Properties and links

obsidian tags all counts
obsidian property:read file=Note name=status
obsidian property:set file=Note name=status value=done
obsidian backlinks file=Note
obsidian unresolved verbose counts

Plugin and developer commands

obsidian plugin:reload my-plugin
obsidian dev:errors
obsidian dev:screenshot file=shot.png
obsidian eval "app.vault.getFiles().length"

Plugin reloads and eval can change or inspect broad application state. Use them only for an explicit plugin-development or diagnostic task. Do not run arbitrary user-supplied JavaScript through obsidian eval without reviewing its effects.

File model

  • Notes are *.md files.
  • Canvases are *.canvas JSON files.
  • Attachments live in the vault's configured attachment folder.
  • .obsidian/ stores vault configuration.

Use direct Markdown edits for bounded bulk text changes after locating the correct vault. Use CLI move, delete, property, and task operations when Obsidian-aware behavior matters.

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

Obsidian có cần đang mở không?

Có. Công cụ dòng lệnh kết nối với ứng dụng máy tính Obsidian đang chạy, nên ứng dụng phải được mở.

Nó có thay đổi cài đặt hoặc plugin của tôi không?

Không, trừ khi bạn yêu cầu cụ thể. Mặc định skill tránh thư mục cài đặt.

Nếu tôi có nhiều kho thì sao?

Agent yêu cầu bạn chọn một kho thay vì đoán.

Chi tiết

Mô tả gốc của tác giả

Read, search, create, edit, organize, and inspect Obsidian vault notes, tasks, links, properties, and plugins with the official CLI.

repo: EKKOLearnAI/ekko-studio

Độ phổ biến

Sao GitHub
12k
Vị trí xếp hạng
#11571
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự