index-refresh
Skill này làm gì
Công cụ này sắp xếp và cập nhật một chỉ mục (danh sách các trang) cho một hệ thống ghi chú gọi là Wiki. Nó đảm bảo danh sách luôn đúng, phản ánh các trang hiện có và loại bỏ các trang đã xóa.
Khi nào nên dùng
- ✓Khi danh sách trang của Wiki đã lỗi thời.
- ✓Khi bạn vừa xóa hoặc thêm các trang quan trọng.
- ✓Khi bạn muốn đảm bảo việc điều hướng trong Wiki dễ và nhanh.
Liên kết skill
https://github.com/paperclipai/paperclip/blob/master/packages/plugins/plugin-llm-wiki/skills/index-refresh/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
“Cập nhật chỉ mục Wiki để nó hiển thị tất cả trang hiện có và xóa những trang đã bị xóa.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ so sánh danh sách trang hiện tại với những gì thực sự có trong Wiki. Nó thêm các trang mới vào danh sách và xóa những trang không còn tồn tại, đồng thời ghi lại mọi thứ trong lịch sử.
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.
Index Refresh
Keep wiki/index.md accurate and scannable. The index is the maintainer's first stop for navigation — its quality determines how cheap every subsequent operation becomes.
Inputs
- An operation issue with
operationType: "index"(or theindex-refreshroutine title). - The operation issue's target
wikiId,spaceSlug, and space root. Refresh only that space unless the issue explicitly says this is a multi-space sweep.
Workflow
- Read the target space's
wiki/index.mdas it currently stands. - Walk the target space's
wiki/.wiki/projects/<slug>/standup.mdentries are current-state companions for durablewiki/projects/<slug>/index.mdpages; index them only as links attached to the matching project entry. Walkwiki/by category (sources/,projects/,entities/,concepts/,synthesis/, plus any custom subdirectories the wiki schema added). - Read the target space's last ~50 entries of
wiki/log.mdto spot pages that were created or substantially changed but never made it to the index. - Per category, produce sorted entries of the form:
The summary is one factual sentence pulled from the page's first paragraph or its title. No status, no datestamps in the index — those belong in the page itself or in the log.- [[<path>]] — <one-line summary> - Drop entries whose page no longer exists. Note the deletion in the log:
## [YYYY-MM-DD] index-refresh | reconciled - removed: [[wiki/old-page]] (page deleted) - added: [[wiki/new-page]] — <summary> - Add entries for pages that exist on disk but were missing from the index. Skip
wiki/log.mdandwiki/index.mdthemselves. For standalonewiki/projects/<slug>/standup.mdwithout a matching durable project page, add it under Projects and flag it for later durable-page distillation. - Write project entries editorially. The Projects section should group work by the project's concept and purpose, not by issue ids, dates, statuses, UUIDs, or source metadata. Link task identifiers only as supporting evidence.
- Preserve custom categories. If the wiki has added e.g.
wiki/papers/orwiki/runbooks/, keep its index section. Do not collapse to the default five categories. - Append a log entry with counts:
If the index was already accurate, the log entry says## [YYYY-MM-DD] index-refresh | added=N removed=M - operation issue: <issue identifier>added=0 removed=0— still write it so future audits can see the run happened.
What this skill does NOT do
- Does not change page content.
- Does not resolve contradictions, fix broken links, or fill concept gaps. Those go to the next
wiki-lintrun. - Does not write summaries that are not already supported by the page itself. If a page lacks a clear first paragraph to summarise, flag it for
wiki-lint.
Voice
- Index entries are one factual line per page, present tense.
- No emojis, no statuses, no dates in
wiki/index.md. Dates live in the log.
Verification
Before closing the operation issue:
-
wiki/index.mdmatches the actual contents ofwiki/— no missing pages, no dangling entries. - Project entries include current
wiki/projects/<slug>/standup.mdlinks when standups exist. - Each index line has the form
- [[path]] — <summary>. - Custom category sections are preserved.
-
wiki/log.mdhas the index-refresh entry with counts (even if the counts are zero). - No page bodies were modified. No file under
raw/was modified.
Tools
wiki_search, wiki_read_page, wiki_write_page (for wiki/index.md and wiki/log.md only). Always include the operation issue's wikiId and spaceSlug.
Câu hỏi thường gặp
Công cụ có thay đổi nội dung ghi chú của tôi không?
Không, nó chỉ sắp xếp danh sách trang (chỉ mục) và không thay đổi nội dung ghi chú.
Điều gì xảy ra nếu một trang bị xóa?
Công cụ gỡ trang đã xóa khỏi chỉ mục và ghi lại hành động này trong lịch sử.
Công cụ có tạo tóm tắt cho các trang không?
Nó dùng bản tóm tắt ngắn có sẵn trong trang hoặc tiêu đề trang cho chỉ mục. Nếu trang không có tóm tắt rõ ràng, nó có thể nhờ công cụ khác hỗ trợ.
Chi tiết
Mô tả gốc của tác giả
Use when an LLM Wiki operation issue requests an index refresh. Rebuild `wiki/index.md` from the actual wiki tree, reconcile missing/deleted entries, and log counts without editing page bodies.
repo: paperclipai/paperclip
Độ phổ biến
- Sao GitHub
- 103k
- Vị trí xếp hạng
- #790
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
delegate-work
103kGiúp agent giao việc cho agent khác. Hữu ích để chia nhỏ các tác vụ phức tạp và theo dõi tiến độ có tổ chức.
follow-up-results
103kGiúp agent kiểm tra kết quả từ các công việc trước. Hữu ích để theo dõi tiến độ tác vụ và thêm phản hồi từ con người.
review-my-team
103kGiúp agent rà soát nhóm đã kết nối. Hữu ích để có bản tóm tắt về nhóm, tác vụ, điểm nghẽn và các phê duyệt đang chờ.
paperclip-task-bridge
103kGiúp agent tạo và quản lý tác vụ trên nền tảng khác. Hữu ích để làm việc trực tiếp với các hệ thống quản lý dự án.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.