Tooluck logoTooluck
SKILL.md

daily-update

Agent skill fromAr9av/obsidian-wiki

Run or configure the daily wiki maintenance cycle: check source freshness, refresh the index and hot.md, and manage its scheduled 9 AM launchd/systemd/cron reminder. Use for daily or morning wiki refresh or scheduler setup and verification.

How to install daily-update

install daily-update
# install the obsidian-wiki pack with the skills CLI
npx skills add Ar9av/obsidian-wiki

# or add only this skill to Claude Code: copy the folder

skills/daily-update/

# into

~/.claude/skills/daily-update/ (all projects)

.claude/skills/daily-update/ (one project)

skills/daily-update/SKILL.md

MITFull file
1# Daily Update — Wiki Maintenance Cycle
2
3You 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.
4
5## Before You Start
6
71. **Resolve config** — follow the Config Resolution Protocol in `llm-wiki/SKILL.md` (inline `@name` override → walk up CWD for `.env` → global config → prompt setup). This gives `OBSIDIAN_VAULT_PATH` and `OBSIDIAN_WIKI_REPO`.
82. **Derive vault-scoped state dir** — all runtime state is scoped to the resolved vault, not global:
9 ```bash
10 VAULT_ID=$(echo "$OBSIDIAN_VAULT_PATH" | md5sum 2>/dev/null | cut -c1-8 || md5 -q - <<< "$OBSIDIAN_VAULT_PATH" | cut -c1-8)
11 STATE_DIR="$(obsidian_wiki_config_dir)/state/$VAULT_ID"
12 mkdir -p "$STATE_DIR"
13 ```
143. Read `$OBSIDIAN_VAULT_PATH/.manifest.json`.
15
16## Modes
17
18### Run Mode (default — triggered by cron or `/daily-update`)
19
20Execute the maintenance cycle:
21
22**Step 1: Source freshness check**
23
24Compare each source in `.manifest.json` against its file's modification time. Classify as:
25- **Fresh** — `mtime ≤ ingested_at`
26- **Stale** — `mtime > ingested_at` (new content exists, not yet ingested)
27- **Missing** — source file no longer exists
28
29**Step 2: Index refresh**
30
31```bash
32obsidian-wiki memory index --vault "$OBSIDIAN_VAULT_PATH"
33```
34…

Excerpt shown under the repository's MIT license.

More skills in obsidian-wiki

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates