AgentSkillsCN

ideaverse-maintenance

通过审计、诊断与维护工作流,持续守护Ideaverse知识库的健康状态。适用于运行知识库诊断、检测链接失效、识别孤立笔记、寻找MOC膨胀问题、推荐归档候选、验证前言信息,或生成知识库健康报告。当收到诸如“审计我的知识库”、“查找失效链接”、“检查知识库健康”、“哪些内容需要归档”、“寻找孤立笔记”或“执行维护工作”等请求时,该技能便会自动触发。

SKILL.md
--- frontmatter
name: ideaverse-maintenance
description: Keep Ideaverse vaults healthy through audits, diagnostics, and maintenance workflows. Use when running vault diagnostics, detecting link rot, identifying orphan notes, finding MOC bloat, suggesting archival candidates, validating frontmatter, or generating vault health reports. Triggers on requests like "audit my vault", "find broken links", "check vault health", "what needs archiving", "find orphan notes", or "run maintenance".

Ideaverse Maintenance Skill

Run audits, diagnostics, and maintenance workflows to keep Ideaverse-based Obsidian vaults healthy. Assume familiarity with the core Ideaverse methodology.

Requirements

  • Python 3.8 or later
  • No external dependencies (uses only Python standard library)

Vault Health Diagnostics

Quick Health Check

Run these in sequence for a complete vault audit. Scripts can be invoked directly (if executable) or via python3:

bash
# 1. Find broken links (critical)
./scripts/find_broken_links.py /path/to/vault
# or: python3 scripts/find_broken_links.py /path/to/vault

# 2. Find orphan notes (structural)
./scripts/find_orphans.py /path/to/vault

# 3. Check frontmatter compliance (consistency)
./scripts/check_frontmatter.py /path/to/vault

# 4. Detect MOC bloat (scale)
./scripts/detect_moc_bloat.py /path/to/vault

# 5. Find squeeze points (opportunities)
./scripts/validate_squeeze_points.py /path/to/vault

# 6. Suggest archival candidates (hygiene)
./scripts/suggest_archival.py /path/to/vault

Note: If python3 is not available on your system, use python if it points to Python 3.x.

Script Descriptions

ScriptPurposeOutput
find_broken_links.pyDiscover wikilinks pointing to non-existent notesList of source files with broken links
find_orphans.pyIdentify notes with no incoming linksList of orphan note paths
check_frontmatter.pyVerify required properties (up, created)Issues grouped by type
detect_moc_bloat.pyFind MOCs with 50+ direct linksMOCs sorted by link count
validate_squeeze_points.pyFind unstructured clusters needing MOCsTerms linked 10+ times without MOC
suggest_archival.pyIdentify stale notes for archival considerationNotes sorted by staleness indicators

All scripts accept a vault path argument and return structured output. Exit code 0 = healthy, 1 = issues found.

Maintenance Cadences

Daily (5 minutes)

  • Review today's daily log for unprocessed fleeting notes
  • Quick scan for any broken links introduced today

Weekly (15-30 minutes)

  • Run find_broken_links.py and fix any issues
  • Run find_orphans.py - triage: link, archive, or delete
  • Spot-check frontmatter on recently created notes

Monthly (1-2 hours)

  • Full diagnostic suite (all 6 scripts)
  • Review MOC bloat - split any MOCs over 50 links
  • Process squeeze points - create MOCs where warranted
  • Review archival suggestions - archive confirmed stale notes
  • Generate and save vault health report

Quarterly (Half day)

  • Comprehensive vault audit
  • Review and clean Archive folder
  • Assess MOC hierarchy - simplify or restructure as needed
  • Update any vault-level documentation

Deep Dives

Use reference docs for detailed decision trees, workflows, and maintenance playbooks: