daily-updatelisted
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