← ClaudeAtlas

obsidian-process-pageslisted

Batch-clean and sort old unsorted notes in the pages/ folder of the Obsidian Zettelkasten vault: classify each note's type (Note, Quote, Book, Person, etc.), rebuild frontmatter in the correct template field order, strip inline footnotes into structured fields (authors, year, sources, publication, published, urls, reference), run prettier, and move the note to its target folder. Trigger on "process N notes", "process N pages", "clean up pages", "sort old notes", or any request to work through the pages/ archive. This is NOT obsidian-process-notes (which builds a separate wiki vault from inbox/ clippings) — this skill sorts the vault's own legacy pages/ folder into 04 Permanent/ and 03 Resources/.
kogakure/skills · ★ 8 · Data & Documents · score 67
Install: claude install-skill kogakure/skills
# obsidian-process-pages Replicate the manual cleanup workflow for the vault's `pages/` archive (old, flat, unsorted notes) so an agent can process them in batches instead of one at a time by hand. Processes notes **alphabetically from the top of `pages/`**, in full, one at a time. Run this skill from the vault root (the Obsidian Zettelkasten vault directory). All paths below are relative to that root. Never read, write, or move anything outside it. ## Argument parsing Arguments: `<N> [--dry-run] [--enrich]` - `N` (optional, default **20**): how many notes to process this batch. - `--dry-run`: run detection + plan the transform and destination for each note, print the full report, but make **no edits and no moves**. Recommend this for a user's first run. - `--enrich` (optional, default **off**): when a referenced Person/Book/etc. note already exists but is malformed, fix it via the `obsidian-vault-add` skill (keeping any info already present in it). Never creates a new note for something that doesn't exist yet — that's out of scope even with `--enrich`. Leave this off unless the user explicitly asks. Examples: `Process 20 notes`, `Process 50 pages --dry-run`, `Process 10 notes --enrich`. If the user just says "process notes" with no number, use N=20 and tell them you did. ## Batch selection 1. List `pages/*.md` and sort alphabetically — this mirrors what the user sees at the top of Obsidian's file explorer. ```bash ls "pages/" | grep '\.md$' | sort