Logo To Wiki

To Wiki

Cộng đồng
elianiva
to-wiki

Take knowledge from the current conversation and compound it into a living wiki in the personal Obsidian vault. The agent scouts existing pages via QMD first, proposes what to write, quizzes the user, then upserts.

Tổng quan

Nhà phát hànhelianiva
Kho mãdotfiles
Tên kỹ năngto-wiki
Sao
204
Bản fork
9
Tệp đi kèm
Chỉ có hướng dẫn
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được elianiva 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 To Wiki 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/elianiva/dotfiles/tree/master/agents/skills/to-wiki
  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/elianiva/dotfiles.git /tmp/dotfiles
mkdir -p .claude/skills
cp -r /tmp/dotfiles/agents/skills/to-wiki .claude/skills/to-wiki
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 To Wiki 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 To Wiki 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 To Wiki 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.

To Wiki

Turn what you and the user have been discussing into a living wiki — a persistent, interlinked collection of markdown pages that grows richer with every conversation. You do the reading, writing, and cross-referencing; the user curates what's worth keeping.

Everything lives in the personal vault at ~/Development/personal/notes/. The only variable is which directory within it:

DirectoryWhen
Vault/<topic>/General knowledge — concepts, techniques, definitions, reference material.
Projects/<project>/Knowledge about a specific project — architecture decisions, domain concepts, code patterns, findings.

The skill picks the directory based on context. If the conversation is about code in a known project, it goes in Projects/<project>/. If it's general, it goes in Vault/<topic>/. When ambiguous, it asks.

Conventions

Frontmatter

yaml
---
tags:
  - <kebab-case-tag>
  - <topic-area>
created_at: <YYYY-MM-DD>
aliases: []
id: <Title as in filename>
---

Rules:

  • id matches the filename (minus .md). This is how [[Wiki-Links]] resolve.
  • created_at is set once on creation. Add updated_at on subsequent edits.
  • Tags are kebab-case. Reuse existing tags from the vault where possible.
  • #public is never added automatically. Only when the user explicitly confirms a page is for the digital garden. Everything is private by default.

Writing style

  • Structured markdown with ### subsections.
  • Bullet lists for takeaways or enumerations.
  • Code blocks with language tags for technical content.
  • Every page links to at least one other page. A page with zero links is an orphan — orphan pages get lost. Link from new pages to existing ones, and offer to add backlinks from existing pages to new ones.

Inside Projects/

Each project gets its own directory under Projects/:

notes/
└── Projects/
    └── <project-name>/
        ├── index.md          # Catalog — auto-updated on every upsert
        └── <Topic>.md        # Knowledge pages

The project name matches the directory name you use for the project (e.g. remix-app, lutra). The agent figures out which project you're working on from the current working directory, the files in context, or your conversation.

Process

1. Scout the terrain

Search the existing wiki before writing anything. Do this autonomously — don't ask the user first.

Use QMD to search broadly first — it covers the whole vault:

bash
qmd query "<topic>" -c vault

Then narrow down based on what you find:

  • If the knowledge relates to a project, also search within Projects/<project>/ using QMD or by reading the directory.
  • If the topic has an obvious home (e.g. Vault/Software Engineering/ for a dev concept), scan that directory too.
  • Read any relevant pages in full with qmd get or the read tool.

Also assess the conversation context to determine which directory the content belongs in:

  • Is the conversation about code in a specific project (visible from cwd, open files, or what you're discussing)? → Projects/<project>/
  • Is it a general concept, technique, or reference? → Vault/<topic>/
  • If Vault/<topic>/ has an existing subdirectory that matches the content (e.g. Islam/, Motorsports/, Software Engineering/), use it. If none fits and there's no clear project, place it in Vault/ directly.

Completion criterion: You know what exists (or that nothing does), have identified the right directory for the new content, and can articulate whether this is a creation, revision, or cross-reference addition.

2. Formulate

Based on scouting, determine the shape of the work:

  • Create — a new concept not yet in the wiki. Choose a title distinct from existing pages.
  • Update — an existing page needs new sections, revised content, or corrected facts. Changing updated_at is required.
  • Cross-reference — existing pages should link to each other, or a new page needs links to existing ones. Every page needs at least one link.

Also determine:

  • Title — concise, matches the concept name the user used.
  • Target — Projects/<project>/ or Vault/<topic>/. For project content, also determine the project name (from cwd, git remote, or files in context).
  • Key information — distil what matters from the conversation. The wiki is compiled knowledge, not a transcript. Keep the essential, drop the ephemeral.

Completion criterion: You have a concrete proposal: what page(s) to touch, where they go, and what changes to make.

3. Present to the user

Show your proposal concisely:

→ **<Page Title>** in Projects/<project>/
  New page: <1-2 sentence summary>
  Links to: [[Existing Page]], [[Another Page]]

Or for general content:

→ **<Page Title>** in Vault/<topic>/
  New page: <1-2 sentence summary>
  Links to: [[Existing Page]], [[Another Page]]

Ask only what the user needs to decide:

  • "The title I'm thinking is X — does that work?"
  • "This is related to Y which already has a page — merge or keep separate?"
  • "I found these existing cross-references — should I add backlinks?"

Keep it tight. One round of confirmation resolves most cases. If the proposal is straightforward (new page, no ambiguity), a single "This looks right — write it" from the user is enough.

Completion criterion: The user has confirmed the plan. If there was ambiguity, one exchange resolves it.

4. Upsert

Write or update the pages with the agreed conventions.

New page — use the write tool to create the file with full frontmatter, content, and wiki-links.

Existing page — read it first with read, then use edit to update specific sections, or rewrite the whole file if changes are extensive. Always update updated_at in frontmatter.

Cross-references are a two-way street. After writing, check if pages you linked to should link back. Offer this to the user rather than doing it silently.

Update the index. If index.md exists, add or update the entry for every page you touched. If it doesn't exist and this is the first real page, create it:

markdown
# Wiki Index

## <Category>

- [[<Page Title>]] — <one-line summary>

Append to the appropriate category section. Create a new category if none fits.

Never touch:

  • Daily/ or Inbox/ — they are private and ephemeral by design.
  • Articles/ or People/ — they are for source summaries and profiles, not wiki knowledge. Only write there if the user explicitly asks.
  • Templates/, Images/, Music/ — each has a specialised purpose. The wiki lives in Vault/ and Projects/.

Never overwrite without confirmation. If a page already exists and you're proposing significant changes, show the diff to the user before applying.

Completion criterion: All approved pages are written or updated, with proper frontmatter, cross-references, and an updated index. The wiki is internally consistent — no orphan pages created, no stale index entries left.

5. Confirm

Summarise what was done:

Done. Created [[<Page>]] in project wiki, linked from [[<Related Page>]]. Index updated.

If anything is noteworthy — new tags created, a subdirectory was created for a dense topic, an existing page was significantly revised — mention it briefly.

Completion criterion: The user knows what happened and can verify the result.

What makes this different

  • Scout before write. Never assume the wiki is empty. Never overwrite knowledge that already exists.
  • Compile, don't transcribe. The wiki is distilled knowledge, not a chat log. If the user said something in passing that isn't worth keeping, leave it out.
  • Link or be orphaned. Every page connects to at least one other. The wiki's value is in the cross-references.
  • Index as table of contents. Without the index, the agent has to grep for everything. Maintain it on every upsert.

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

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

Take knowledge from the current conversation and compound it into a living wiki in the personal Obsidian vault. The agent scouts existing pages via QMD first, proposes what to write, quizzes the user, then upserts.

Vì sao nên dùng To Wiki 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. To Wiki 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 To Wiki trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/elianiva/dotfiles/tree/master/agents/skills/to-wiki. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 To Wiki?

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 To Wiki 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 To Wiki 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 To Wiki có miễn phí không?

Kỹ năng này được elianiva phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. 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 👇