daily-update

仓库创建 2026年4月6日最近提交 23 天前SkillHot 收录 20 天前
▸ 精选理由

适合定时保持知识库新鲜,减少手动同步与索引工作量。

▸ 风险提示

会写入索引和状态文件,并可被计划任务触发,注意权限与备份。

这个 Skill 做什么

执行日常维基维护:刷新来源、更新索引并生成 hot.md 等状态文件。

跑一遍日常的 wiki 维护:检查所有来源是否新鲜、刷新索引并重生 hot.md,还会写入供终端提醒读取的状态文件。通常在早上 9 点的 cron 或你下达 '/daily-update'、'morning sync' 时触发,也能帮你首次设置 cron 和终端通知。目标是让站点索引和提醒始终是最新的,方便早间例行检查。

▸ 展开 SKILL.md 英文原文

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?").

自动化集成日常维护索引更新自动化通用
2.7k
Stars
274
Forks
35
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Ar9av/obsidian-wiki/main/.skills/daily-update/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Ar9av/obsidian-wiki/main/.skills/daily-update/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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. **Resolve config** — follow the Config Resolution Protocol in `llm-wiki/SKILL.md` (inline `@name` override → walk up CWD for `.env` → `~/.obsidian-wiki/config` → prompt setup). This gives `OBSIDIAN_VAULT_PATH` and `OBSIDIAN_WIKI_REPO`.
2. **Derive vault-scoped state dir** — all runtime state is scoped to the resolved vault, not global:
   ```bash
   VAULT_ID=$(echo "$OBSIDIAN_VAULT_PATH" | md5sum 2>/dev/null | cut -c1-8 || md5 -q - <<< "$OBSIDIAN_VAULT_PA
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有