obsidian-attachment-janitor

Installation
SKILL.md

Obsidian Attachment Janitor

Clean up and organize attachments in the Obsidian vault. Two jobs:

  1. Find and delete unreferenced attachments
  2. 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-DD portion only (ignore time like 1230 in 2026-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.

Related skills
Installs
11
First Seen
Mar 22, 2026