wiki-mode
Skill này làm gì
Skill này đọc phương pháp sắp xếp mà bạn đã chọn cho kho Obsidian và gợi ý nơi một ghi chú mới nên được đặt. Skill dành cho người muốn ghi chú của mình theo một hệ thống nhất quán.
Khi nào nên dùng
- ✓Khi bạn muốn biết kho của mình dùng phương pháp sắp xếp nào.
- ✓Khi bạn muốn chuyển kho sang một phương pháp khác, như PARA, LYT hoặc Zettelkasten.
- ✓Khi bạn sắp tạo một ghi chú mới và muốn biết nó nên nằm ở đâu.
Liên kết skill
https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-mode/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Với cách kho của tôi được thiết lập, một ghi chú mới về dự án khách hàng nên đặt ở thư mục nào?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc cài đặt phương pháp đã lưu của bạn và nhờ một công cụ hỗ trợ gợi ý vị trí. Nó chỉ gợi ý nơi đặt; không lưu ghi chú hay di chuyển ghi chú đã có.
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.
Route by vault methodology
This skill returns filing suggestions. It does not write knowledge pages or
move existing notes. If .vault-meta/mode.json is absent, use generic. If
the file exists but is invalid, fail closed and repair it through a reviewed
configuration operation before suggesting routes; never silently substitute
Generic for corrupt user configuration.
Resolve the installed product root from this skill's own location, not from the vault or current working directory:
PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"
MODE_HELPER="$PRODUCT_ROOT/scripts/wiki-mode.py"
test -f "$CORE" && test -f "$MODE_HELPER"
Every ../wiki/references/ link in this file resolves the same way, relative
to this skill's own directory under $PRODUCT_ROOT, never relative to the
selected vault's wiki/ directory.
Read and route safely
Always select the vault explicitly:
python3 "$MODE_HELPER" --vault "$VAULT" get
python3 "$MODE_HELPER" --vault "$VAULT" config
python3 "$MODE_HELPER" --vault "$VAULT" route concept "Concept name"
python3 "$MODE_HELPER" --vault "$VAULT" route source "Source title"
The helper validates the selected vault, confines paths, sanitizes names, and prints a suggestion only. A calling skill may override the suggestion when the user supplies a more specific project, area, MOC, or parent note, but it must still apply its eventual writes through one operation transaction.
| Mode | Routing intent |
|---|---|
generic |
Type-based folders such as sources, entities, concepts, and sessions. |
lyt |
Atomic notes under wiki/notes/, connected through MOCs. |
para |
Projects, Areas, Resources, or Archives chosen by actionability. |
zettelkasten |
Flat atomic notes with time-sortable, collision-resistant identifiers and explicit links. |
Use the templates as structural guidance: LYT atomic,
LYT MOC, PARA area,
PARA project,
PARA resource, or
Zettelkasten atomic. They use canonical
type values from claude_obsidian/page_schema.py and a separate flat
methodology_role property:
| Template | Type | Methodology role |
|---|---|---|
| LYT atomic | concept |
atomic |
| LYT MOC | meta |
moc |
| PARA area | concept |
area |
| PARA project | entity |
project |
| PARA resource collection | concept |
resource |
| Zettelkasten atomic | concept |
zettel |
A resource template describes a topic collection. Use source instead when the
new page represents a particular captured source. The methodology role does not
add a router type: pass the canonical type and respect the chosen project, area,
or MOC destination. Structural MOCs use an explicit destination; meta is not a
routable new-note type. Existing user pages, custom type vocabularies, and saved
Dataview queries remain unchanged. Any requested migration needs its own reviewed
plan; switching mode never rewrites existing notes.
Change mode
A mode change is one configuration operation, dry-run first:
Read the current
.vault-meta/mode.json, or start from the helper's default config when it is absent.Validate the requested mode as exactly
generic,lyt,para, orzettelkasten. Preserve the other mode-specific settings.Choose and retain a pinned UTC timestamp and operation ID for both commands.
Preview the canonical configuration transaction; the command records the current target hash and limits the write to
.vault-meta/mode.json:python3 "$CORE" mode set "$MODE" --vault "$VAULT" \ --generated-at "$GENERATED_AT" --operation-id "$OPERATION_ID"Show the old mode, new mode, exact changed path, and complete preview. Copy its
approved_plan_sha256only after review.Apply by regenerating that exact vault-bound plan:
python3 "$CORE" mode set "$MODE" --vault "$VAULT" \ --generated-at "$GENERATED_AT" --operation-id "$OPERATION_ID" \ --approved-plan-sha256 "$APPROVAL_SHA256" --apply
Follow the operation transaction contract.
Do not use scripts/wiki-mode.py's legacy direct-write set action or a setup
script to bypass this workflow.
Changing mode affects routing for future
Câu hỏi thường gặp
Nó có di chuyển ghi chú của tôi khi tôi đổi phương pháp không?
Không. Skill không chuyển đổi hay di chuyển ghi chú hiện có; nó chỉ trả về gợi ý.
Nếu chưa đặt phương pháp thì sao?
Kho dùng phương pháp chung (generic) khi không có file cài đặt nào.
Nó có lưu nội dung mới không?
Không. Nó chỉ gợi ý nơi đặt, còn việc lưu do một skill khác đảm nhiệm.
Chi tiết
Mô tả gốc của tác giả
Read or configure the vault filing methodology and suggest destinations for planned knowledge creation under Generic, LYT, PARA, or Zettelkasten. Use for wiki mode, methodology mode, what is my vault mode, set vault mode, switch to PARA, use LYT, Zettelkasten setup, change mode, configure mode, or methodology routing. This skill does not save content or migrate notes.
Độ phổ biến
- Sao GitHub
- 16k
- Vị trí xếp hạng
- #10815
- Giấy phép
- MIT
- Cập nhật
- 25/10/2026
Bình luận
- …
Thêm skill từ kho mã này
autoresearch
16kCho phép agent của bạn nghiên cứu một chủ đề trong giới hạn đã đặt và soạn báo cáo có trích dẫn. Kết quả web chỉ là bằng chứng, không tự vào ghi chú.
canvas
16kGiúp agent của bạn tạo và cập nhật bảng canvas trong Obsidian để chứa ghi chú, file, liên kết và nhóm. Hữu ích cho bản đồ và bố cục không gian.
defuddle
16kGiúp agent của bạn lên kế hoạch làm sạch một trang web thành văn bản dễ đọc và giữ bản sao cục bộ của các file nguồn. Làm sạch qua mạng chưa khả dụng.
obsidian-bases
16kGiúp agent của bạn thiết kế các chế độ xem Obsidian Bases hoạt động như cơ sở dữ liệu đơn giản, với bộ lọc, công thức và bố cục bảng hoặc thẻ.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.