obsidian-process-pageslisted
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