vault-cleanup-auditor
Audit your Obsidian vault in Claude Code — finds stale drafts, empty folders, duplicate filenames, and incomplete files. Saves a dated report.
npx skills add majiayu000/claude-skill-registry --skill vault-cleanup-auditor --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Vault Cleanup Auditor Runs 4 targeted checks against your Obsidian vault and saves a prioritized audit report to `vault-audit/YYYY-MM-DD-audit.md`. Takes under 30 seconds. No APIs, no paid services. Run it monthly or whenever the vault starts feeling messy. --- ## How to Use Open Claude Code and say: ``` Run the Vault Cleanup Auditor skill against my vault at /path/to/vault. ``` --- ## Skill Instructions (for Claude Code) When this skill is invoked, follow these phases exactly. --- ### PHASE 1: INTAKE Check whether the user has provided: - `vault_path` — absolute path to their Obsidian vault root **If missing, ask:** ``` What's the absolute path to your Obsidian vault? (e.g. /root/obsidian-vault) ``` Do not proceed until confirmed. --- ### PHASE 2: ANALYZE Run all 4 checks. Capture raw output from each before writing the report. **Check 1 — Stale drafts (30+ days, unposted):** ```bash VAULT="VAULT_PATH_HERE" echo "=== CHECK 1: STALE DRAFTS ===" find "$VAULT/content/ready-to-post" -name "*.md" -mtime +30 2>/dev/null | while read f; do if grep -q '\*\*Posted:\*\* ❌' "$f" 2>/dev/null; then days=$(( ($(date +%s) - $(stat -c %Y "$f")) / 86400 )) echo "${days}d|${f##$VAULT/}" fi done e
- How to Use
- Skill Instructions (for Claude Code)
- PHASE 1: INTAKE
- PHASE 2: ANALYZE
- PHASE 3: OUTPUT
- PHASE 4: SELF-CRITIQUE
- Example Report
- Requirements
echo "=== CHECK 1: STALE DRAFTS ==="
find "$VAULT/content/ready-to-post" -name "*.md" -mtime +30 2>/dev/null | while read f; do
if grep -q '\*\*Posted:\*\* ❌' "$f" 2>/dev/null; then
echo "${days}d|${f##$VAULT/}"
fi
done
echo "=== END CHECK 1 ==="
echo "=== CHECK 2: INCOMPLETE FILES ==="
find "$VAULT" -name "*.md" \
if ! grep -qE '^#{1,6} ' "$f" 2>/dev/null; thenWhat does the vault-cleanup-auditor skill do?
Audit your Obsidian vault in Claude Code — finds stale drafts, empty folders, duplicate filenames, and incomplete files. Saves a dated report.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill vault-cleanup-auditor --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
