daily-update

Runs a daily Obsidian wiki maintenance cycle checking source freshness, reconciling the index, and regenerating hot.md.

Updated Nov 9, 2023
One-click install
npx skills add https://github.com/oresttokovenko/dot-files --skill daily-update-oresttokovenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: daily-update
Source: https://github.com/oresttokovenko/dot-files/tree/main/chezmoi/dot_agents/skills/daily-update
Command: npx skills add https://github.com/oresttokovenko/dot-files --skill daily-update-oresttokovenko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Personal knowledge wikis drift out of sync as source files change, indexes go stale, and context snapshots age. This Skill automates the recurring maintenance pass so the wiki stays current without manual bookkeeping. ## Core Features & Use Cases - Source Freshness Check: Compares each source in .manifest.json against file modification times and classifies entries as fresh, stale, or missing. - Index and hot.md Refresh: Reconciles index.md against actual vault pages and regenerates the hot.md semantic snapshot when it is older than 48 hours. - Scheduled Health Checks and Notifications: Runs wiki-lint on a configurable cadence, writes vault-scoped state files, and supports launchd cron plus terminal notification setup. - Use Case: A user with an Obsidian-based wiki ingests Claude and Codex session histories; each morning the cron triggers this Skill to detect stale sources, update the index, refresh hot.md, and surface a terminal reminder of pending syncs. ## Quick Start Ask the assistant to run the daily update to check source freshness, refresh the wiki index, and regenerate hot.md.

Frequently Asked Questions about daily-update

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate daily maintenance of an Obsidian wiki?

Run the daily-update cycle manually or install the provided launchd plist to trigger it at 9 AM daily. The cycle checks source freshness against .manifest.json, reconciles index.md with actual vault pages, and refreshes hot.md when it is over 48 hours old.

How do I set up a cron job for wiki updates on macOS?

Use the setup mode by asking to set up the daily cron. It copies the com.obsidian-wiki.daily-update.plist into ~/Library/LaunchAgents with your repo path substituted, loads it with launchctl, and runs the script once to initialize state.

Can I get a terminal notification when my wiki is stale?

Yes, the setup mode can append a source line for wiki-notify.sh to your .zshrc or .bashrc. The notification appears when the wiki state is more than 20 hours old, and Fish shell users receive manual instructions since sourcing syntax differs.

How often does the wiki-lint health check run?

The LINT_SCHEDULE variable controls the cadence: weekly by default, daily for every cycle, or manual to disable automatic runs. The last run timestamp is stored in the vault-scoped state directory to enforce the schedule.

Does the daily update support multiple Obsidian vaults?

Yes, runtime state is scoped per vault using an MD5-derived vault ID under the config directory. Each vault maintains independent .last_update, .pending_delta, and .last_lint files, so multiple vaults never share state.