obsidian-attachment-janitor
Installation
SKILL.md
Obsidian Attachment Janitor
Clean up and organize attachments in the Obsidian vault. Two jobs:
- Find and delete unreferenced attachments
- Rename referenced attachments with consistent, searchable names
Naming convention
YYYY-MM-DD description.ext
- Date prefix: from the referencing note's filename. Extract the
YYYY-MM-DDportion only (ignore time like1230in2026-03-09 1230 ...) - Description: short English kebab-case phrase describing what the attachment is, based on the embedding context in the note. Keep it under 5 words.
- Extension: preserved from original
When the same note embeds multiple attachments, differentiate by what each one depicts, not by index number. Read the surrounding text to understand each attachment's role.