Logo Wiki

Wiki

Tổ chức
plasma-ai
wiki

wiki CLI 和 node 的两个知识库:项目 wiki 与 memory。

Add to TypingMind

Tổng quan

Nhà phát hànhplasma-ai
Kho mãfractal
Tên kỹ năngwiki
Sao
782
Bản fork
57
Tệp đi kèm
Chỉ có hướng dẫn
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ộ.

  • 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 plasma-ai 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 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/plasma-ai/fractal/tree/main/fractal/_node/skills/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/plasma-ai/fractal.git /tmp/fractal
mkdir -p .claude/skills
cp -r /tmp/fractal/fractal/_node/skills/wiki .claude/skills/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 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 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 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.

Wiki

A wiki is an indexed folder tree of _index.md files. A node works with two:

  • Project wiki ($WIKI_DIR) -- shared across nodes; per-branch, reaching others only through merges (use fractal radio for live coordination). Holds architecture, conventions, and patterns; contribute durable project-wide knowledge here.
  • Memory ($MEMORY_DIR) -- this node's private knowledge base. See the memory skill for how to maintain it.

Todo lists follow the same split: a private working checklist lives in memory; a task list other nodes should see and track lives in the project wiki. Either way it is living state -- current open items, pruned as they complete -- never an append-only log.

Run wiki --help and wiki <command> --help for the CLI (init, update, lint, map, search, read). Always pass --path ($WIKI_DIR or $MEMORY_DIR) -- a bare command resolves the enclosing wiki by walking up, else {cwd}/wiki, which from the node's cwd is the project wiki at best and never memory, so an omitted --path silently targets the wrong wiki or errors. Run wiki update --path=<dir> after adding, moving, or deleting pages; wiki lint --path=<dir> validates structure.

Editing discipline

Name pages and folders in ascii snake_case (command_core, not command-core) -- both wikis enforce identifier-safe names (the project wiki's mirror the source modules they document), so wiki lint rejects hyphens and spaces.

wiki update regenerates derived state: each page's entry line in _index.md (name and description) is pulled from the page's own frontmatter, so fix a desc: on the page and rerun update -- hand edits to an index line are overwritten by the next update, and each page's H1 is rewritten to its name unless an authored frontmatter title: supplies the heading, which update keeps and renders as the H1 (index entry lines still show the name). wiki lint is regenerate-and-compare: it prints the diff wiki update would apply plus any real defects, and separates issues (must fix) from advisory notes. Work the loop -- edit pages, wiki update, wiki lint -- until clean (clean = lint exits 0; scripts branch on the exit code, not the prose summary); lint validates structure, not content truth, so verify facts against your sources yourself. Frontmatter is read as strict YAML: quote a one-line desc: that contains : or # (desc: "Note: x."), since the unquoted form is invalid YAML.

Cross-linking

Cross-reference aggressively -- the links between pages are the wiki's primary value -- but link only to pages that already exist. Sibling nodes build their pages in parallel, so a page you would link to may not exist yet: defer that forward link rather than emit a wikilink to a not-yet-created page. Stale sibling links are an expected transient, not a failure -- wiki lint reports a stale link in index or page prose as an advisory note (exit 0), so never stall an iteration chasing them. Broken links in the generated index link block -- the rows wiki update maintains -- are the exception: each is a hard issue, fixed by repairing the target or by rerunning wiki update, which prunes the row. The parent reconciles stale sibling links when children merge up: indexes refresh mechanically at commit and merge, so its integration job is repairing or pruning what lint reports, not rerunning wiki update -- plus refreshing any navigation or status tables it authored (lint cannot see a stale "in flight" row for a page that has since merged).

Wikilinks also stay inside the wiki you are writing in. A [[...]] link targets another page in the same wiki; anything outside it -- source files, configs, or the other knowledge base (project wiki vs. memory) -- is referenced in plain text or backticks, never linked; wiki lint notes a wikilink that points outside the wiki. Write in-wiki links prefix-free, from the wiki root ([[overview]], [[core/overview]]), never [[./overview]] or [[../overview]] -- a ./ or ../ target reads from the page's folder and marks a link that leaves the wiki, so lint reports one that lands inside it.

Structure

Lay the wiki out as topical folders from the start: each domain area gets a folder with its own _index.md, and pages join the folder that owns their subsystem. A flat root is fine below ~6-8 pages; planning more, create the folders before the pages -- the directory tree is what makes a wiki browsable, searchable, and navigable, and it should mirror the domain the way a good module layout mirrors a design. A shape to aim for:

text
wiki/
  _index.md
  <subsystem>/
    _index.md
    <topic>.md
    ...
  <subsystem>/
    _index.md
    <sub-area>/
      _index.md
      <topic>.md
      ...
    <sub-area>/
      ...
    <topic>.md
    ...
  ...

Nest deeper as areas grow: when a folder accumulates pages spanning more than one concern, split them into sub-folders, each with its own _index.md. Every index is the table of contents for its level, so structured nesting is what keeps the wiki navigable at any size -- a reader answers "where does this live?" by descending a few links instead of scanning one long list, and related pages sit beside each other where cross-links suggest themselves.

A grown flat wiki shards into folders the same way after the fact: move related pages into a subfolder and rerun wiki update -- indexes regenerate around the new layout, and inbound links the move broke surface as stale-link notes to repair. Before dumping a big tree, preflight with wiki map --stat (a one-line size summary of what the same flags would print) and bound the dump with --depth and --desc-limit=<n> -- descriptions print untruncated by default.

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

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

wiki CLI 和 node 的两个知识库:项目 wiki 与 memory。

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/plasma-ai/fractal/tree/main/fractal/_node/skills/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 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 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 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 Wiki có miễn phí không?

Có. Kỹ năng này được plasma-ai 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 👇