← Về thư mục
📄 / / projects / personal / policy-research / .agents / skills / vault-linking-audit / SKILL.md

name: vault-linking-audit description: Audits cross-linking, YAML frontmatter compliance, and keyword associations between vault files to ensure robust interlinking with open research questions.


Vault Linking & YAML Frontmatter Audit Skill

This skill allows agents to automatically run a diagnostic audit across all research documents in the Obsidian Vault to check for frontmatter compliance, detect orphan/broken wikilinks, and identify context-based cross-linking recommendations (especially regarding open research questions).

When to Use

  1. At the end of every Sprint: Run this skill to verify that the newly created chapters and reports are correctly cross-linked.
  2. After a Logic Audit: The logic_auditor_agent or supervisor_agent should run this skill to check if statements/topics in the draft are properly linked to existing research pages or open questions.
  3. When requested by the User: Whenever the user wants to audit the status of the vault's semantic links.

How to Execute

  1. Execute the Python script from the project root: bash python3 scripts/audit_links.py
  2. Read the generated report:
  3. File location: vault/linking_audit_report.md
  4. Analyze the results:
  5. Identify files marked with ❌ THIẾU YAML or ⚠️ CHƯA ĐỦ and apply the proper frontmatter tags.
  6. Fix all broken links listed under 2. Kiểm duyệt Tính liên kết (Link Validity).
  7. Review and implement the cross-linking recommendations listed under 3. Khuyến nghị Bổ sung Liên kết Nhân quả (Linking Recommendations) to ensure related files are properly interconnected using Obsidian [[wikilinks]].