Logo Vault Maintenance

Vault Maintenance

Cộng đồng
louisfb01
vault-maintenance

Weekly maintenance of this Obsidian vault: inventory and diff against the last snapshot, keep hub and index notes current, check wiki links and orphans, report where AGENT-RULES.md is not followed, grade how the skills did in the week's agent sessions and draft skill edits for the owner to approve, and log the run. Run it from any scheduler, or on request.

Add to TypingMind

Tổng quan

Nhà phát hànhlouisfb01
Kho mãobsidian-agent-vault-template
Tên kỹ năngvault-maintenance
Sao
56
Bản fork
13
Tệp đi kèm
4
Giấy phépMIT
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ộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được louisfb01 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 Vault Maintenance 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/louisfb01/obsidian-agent-vault-template/tree/main/Skills/vault-maintenance
  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/louisfb01/obsidian-agent-vault-template.git /tmp/obsidian-agent-vault-template
mkdir -p .claude/skills
cp -r /tmp/obsidian-agent-vault-template/Skills/vault-maintenance .claude/skills/vault-maintenance
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 Vault Maintenance 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 Vault Maintenance 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 Vault Maintenance 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.

Vault Maintenance

Keeps the vault navigable as it grows. It is careful and local: it updates links and hub lists, and reports everything else. It never rewrites personal prose, reorganises folders, or deletes anything.

Steps 9, 11 and 12 are optional slots for steps that depend on your machine, such as closing browser tabs a run opened or sending a recap. Leave them out, or fill them in your own vault. When a scheduler runs this skill, it also loads [[Skills/scheduled-runs/SKILL|Scheduled Runs]].

Run sequence

  1. Read AGENT-RULES.md at the vault root, then the open entries in this skill's FEEDBACK.md. The rules bind this run; this skill adds the maintenance steps.
  2. Inventory the vault, excluding .obsidian/, .git/, .DS_Store and generated OS cruft. Count Markdown files and major asset types.
  3. Load or create working-dir/vault-maintenance/state.json and working-dir/vault-maintenance/weekly-log.md. The state file tracks file paths, mtimes, sizes, and a content hash for Markdown files. On the first run, create a baseline but still do a full index health pass.
  4. Compare the current inventory with the prior state and classify:
    • added notes and assets
    • removed notes and assets
    • likely renamed notes and assets, inferred from matching basename, content hash or nearby path
    • recently modified notes, especially new files without inbound links
  5. Read the relevant hub notes before editing and keep their style. Update only the list items or sections that need it. Keep wikilinks valid and readable.
  6. Maintain the hubs named in the AGENT-RULES.md §1 folder map:
    • START-HERE.md: keep its hub links valid. It links hubs only, never single notes.
    • Each area hub (for example Areas/Professional/Professional.md): link sub-hubs and active project folders. Do not dump every generated asset into a hub.
    • The skills index: update only when a skill SKILL.md is added, removed or renamed. Do not rewrite skill instructions.
    • Project front notes and working-dir/**/index.md: update only when files inside that same folder were added, removed or renamed. Skip files marked as generated.
  7. Run a wiki-link health check. Resolve links by vault-relative path, source-relative path, basename and extensionless match. Fix a broken link only when the intended target is clear; otherwise list it in the weekly log.
  8. Find orphan notes outside _archive/, raw/ folders and generated research sources. Link genuinely active orphans from the right hub. Report ambiguous or scratch notes instead of forcing them into a hub.
  9. Note lightweight cleanup opportunities in the weekly log: duplicate or raw/cleaned meeting pairs, stale TODO lists, unreferenced assets, high-value notes with no inbound links, broken links with no obvious target. 8b. Rules health (report only; never rewrite notes to fix these). Check the vault against AGENT-RULES.md and record the results in the weekly log:
    • Skill folders without FEEDBACK.md, skill folders missing from the skills index, and index links to a SKILL.md that does not exist.
    • Promotion candidates: open FEEDBACK.md entries that propose a rule change (the step 8c scan lists them; an entry whose proposed change is "none" is not one). Flag them when two say the same thing or when the owner stated the rule (AGENT-RULES.md §5). Do not edit SKILL.md.
    • Project folders added since the last run that have no front note or are not linked from their hub.
    • Markdown notes added since the last run that have no frontmatter, excluding raw imports, raw/ and wiki/sources/ folders, generated files and private folders. Give the count and up to 20 paths; mark the ones named in this week's agent log as agent-written.
    • Root-level files or folders that are not in the AGENT-RULES.md §1 folder map.
    • Possible secrets: files named .env*, *.pem, *.key, credentials*.json or token*.json, and Markdown lines that look like API keys (sk-, AIza, ghp_, xoxb-). Report the path and line number only; never copy the value.
    • Agent log: whether working-dir/agent-log/ has lines for this week, and which agents wrote them.
    • Scheduled tasks: if your scheduler keeps its prompts in files, check that each active task's prompt is a short pointer to a skill that exists (Templates/Scheduled task prompt.md) and that the task has a row in the AGENT-RULES.md §1 "Scheduled tasks" table. List the ones that fail. 8c. Skill health (report only; never edit a skill). Follow [[Skills/vault-maintenance/references/skill-health-review|Skill health review]], adapted from Warp's skill-doctor:
    • Run scripts/skill_health.py on the last 7 days of local Claude Code and Codex sessions. It writes skill-health.json to working-dir/vault-maintenance/skill-health/YYYY-MM-DD/ and condensed transcripts of the flagged sessions to a folder outside the vault (for example ~/.local/state/vault-skill-health/YYYY-MM-DD/).
    • Read and score each flagged session (efficiency, procedure compliance, verbosity, output quality), add the week's row to skill-health/trend.md, and draft skill edits only for failures that clear the reference's bar, as proposed/<skill>/SKILL.md plus a diff.
    • Write report.md in the same folder. Never copy transcript text, secrets or private content into the vault or a recap.
  10. Optional host housekeeping, for example closing stale browser tabs. Leave this out unless your setup needs it.
  11. Save the updated state after successful edits. The weekly log entry includes the date, counts, changed hub files, added/removed/renamed files, broken links fixed and left, orphans linked and left, rules health findings, the skill health scores and proposals, and 3 to 5 suggested next improvements. Add one line for this run to working-dir/agent-log/YYYY-MM.md.
  12. Optional recap. If your scheduler can notify you (email, chat), send a short summary of the weekly log entry, including the skill health score and the number of skill edits proposed. Never put credentials in the vault.
  13. Close or clean up anything this run opened (browser tabs, temporary files) and record it.

Guardrails

  • Do not delete, move or rename notes or assets.
  • Do not edit private or personal content except to update links or add and remove index references.
  • Keep existing headings and tone.
  • Keep changes small, reviewable and focused on navigation health.
  • Rules health (step 8b) is report-only: never add frontmatter, create FEEDBACK.md files, move folders or edit skills to fix a finding.
  • Skill health (step 8c) is report-only: it drafts edits under working-dir/vault-maintenance/skill-health/, and only the owner, in a session, decides what is applied. Session transcripts stay on the machine, outside the vault.
  • If a change is ambiguous, write it to the weekly log instead of guessing.
  • Local maintenance only: no web search.

Final response format

  • Whether the run completed.
  • Hub and index files updated.
  • Added, removed and renamed files found.
  • Broken links fixed and left unresolved.
  • Rules health findings in one or two lines.
  • Skill health score, its trend, and the number of skill edits proposed, with the report path.
  • Top 3 suggested improvements.
  • Link to working-dir/vault-maintenance/weekly-log.md.

Feedback log

After each run, add an entry to [[Skills/vault-maintenance/FEEDBACK|FEEDBACK]] only when something about the procedure itself went wrong or should change. Routine results go in working-dir/vault-maintenance/weekly-log.md. Rules: [[AGENT-RULES]] §5.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Weekly maintenance of this Obsidian vault: inventory and diff against the last snapshot, keep hub and index notes current, check wiki links and orphans, report where AGENT-RULES.md is not followed, grade how the skills did in the week's agent sessions and draft skill edits for the owner to approve, and log the run. Run it from any scheduler, or on request.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/louisfb01/obsidian-agent-vault-template/tree/main/Skills/vault-maintenance. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Vault Maintenance?

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

Có. Kỹ năng này được louisfb01 phát hành trên GitHub theo giấy phép MIT. 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 👇