← ClaudeAtlas

daily-updatelisted

Run the daily wiki maintenance cycle: check all source freshness, update the index, and regenerate hot.md. Use this skill when the user says "/daily-update", "run the daily update", "update everything", "morning sync", "refresh the wiki index", or when triggered by the launchd cron at 9 AM. Also use to set up or verify the cron + terminal notification infrastructure for the first time ("set up the daily cron", "install the terminal notification", "how do I get the morning reminder?").
mustafa4101996ahmed/obsidian-vault-kit · ★ 1 · AI & Automation · score 69
Install: claude install-skill mustafa4101996ahmed/obsidian-vault-kit
# Daily Update — Wiki Maintenance Cycle You run a lightweight maintenance pass over the wiki: check source freshness, refresh the index, update hot.md, and write the state file that the terminal notification reads. ## Before You Start 1. Read `~/.obsidian-wiki/config` to get `OBSIDIAN_VAULT_PATH` and `OBSIDIAN_WIKI_REPO`. 2. Read `$OBSIDIAN_VAULT_PATH/.manifest.json`. ## Modes ### Run Mode (default — triggered by cron or `/daily-update`) Execute the maintenance cycle: **Step 1: Source freshness check** Compare each source in `.manifest.json` against its file's modification time. Classify as: - **Fresh** — `mtime ≤ ingested_at` - **Stale** — `mtime > ingested_at` (new content exists, not yet ingested) - **Missing** — source file no longer exists **Exclude from freshness check:** `archive/`, `memory/`, `.agents/`, `.claude/`, `.obsidian/` Pages in `archive/` have `lifecycle: archived` — they are intentionally static and should never be flagged as stale. **Step 2: Index refresh** Read `$OBSIDIAN_VAULT_PATH/index.md`. If any pages in the vault are missing from the index (or vice versa), update the index. Use the following command to enumerate vault pages, then reconcile against the index: ```bash find $OBSIDIAN_VAULT_PATH -name "*.md" \ -not -path "*/_*" \ -not -path "*/archive/*" \ -not -path "*/.agents/*" \ -not -path "*/.claude/*" \ -not -path "*/.obsidian/*" \ -not -path "*/docs/superpowers/*" ``` **Step 3: hot.md update** Read `hot.md`. If it's >4