Agent skill · Security

vault-cleanup-auditor

Audit your Obsidian vault in Claude Code — finds stale drafts, empty folders, duplicate filenames, and incomplete files. Saves a dated report.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/analysis/vault-cleanup-auditor/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. How to Use
  2. Skill Instructions (for Claude Code)
  3. PHASE 1: INTAKE
  4. PHASE 2: ANALYZE
  5. PHASE 3: OUTPUT
  6. PHASE 4: SELF-CRITIQUE
  7. Example Report
  8. Requirements
Ships with 1 file
  • metadata.json
Commands it runs
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; then
More from claude-skill-registry
All skills →
About this skill
What 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.

Keep going