name: update-substack-archive description: Pull latest Alexey On Data Substack posts and update the local archive files. Use when the user asks to pull latest Substack articles, update the Substack archive, refresh substack.csv, or update articles/substack-archive-index.md.
Update Substack Archive
Update the local lookup index for published posts on alexeyondata.substack.com.
Files
articles/substack-archive-index.md: human-readable archive table with dates, URLs, and searchable descriptionssubstack.csv: compact URL/title/description list used by tooling or ad hoc lookuparticles/_index.md: root article index entry forSubstack Archive Index
Workflow
- Run
scripts/update-substack-archive.py missingto list feed items not yet in the archive. - Compare feed URLs against
articles/substack-archive-index.md. - Add only missing posts, newest first.
- Bump
updated:inarticles/substack-archive-index.mdto today's date. - Update the
Substack Archive Indexrow inarticles/_index.mdwith the same date. - Add the missing posts near the top of
substack.csv, after the header. - Run
scripts/update-substack-archive.py validate. - Check
git diff -- articles/substack-archive-index.md articles/_index.md substack.csvis scoped to archive updates.
Description Style
For articles/substack-archive-index.md, prefer searchable descriptions over RSS subtitles. Include named tools, libraries, projects, products, and workflows mentioned by the post when known.
For substack.csv, use the RSS description unless it is malformed. Keep it compact and CSV-safe.
Commands
python scripts/update-substack-archive.py missing
python scripts/update-substack-archive.py validate
python scripts/update-substack-archive.py feed