obsidian-capture
Installation
SKILL.md
obsidian-capture
One capture = one scripts/capture.py call. The script handles everything deterministic — resolves today's daily / this week's weekly note (creates it from the vault template if missing), routes to the right section, fills empty placeholder slots before appending, formats Tasks-plugin dates — so never edit the notes by hand. Needs $OBSIDIAN_VAULT and python3 (stdlib only).
Commands
scripts/capture.py todo "回 offer 邮件" # daily ✅ 其他, due today
scripts/capture.py todo "准备 design review" --must # daily 🎯 今天必须完成, due today
scripts/capture.py todo "写 freshrss theme" --weekly # weekly ## Todos, due = today+3d, capped at Sunday
scripts/capture.py todo "读论文" --due friday -p high # any todo: explicit due + ⏫ priority
scripts/capture.py log "和 recruiter 通话" # daily 🪵 Log, timestamped now (--time HH:MM to backfill)
scripts/capture.py learned "TIL 内容" # daily 📝 今日记 → 新知:
scripts/capture.py diary "发生的事" # daily 📝 今日记 → 新事:
scripts/capture.py fun "有趣的事" # weekly ## Something Fun This Week
scripts/capture.py reflect "杠杆" "答案全文" # weekly Reflections, under the Q: matching the substring
scripts/capture.py done "package 邮件" # tick first matching open #agent-todo (today's notes first, then all), appends ✅ date
scripts/capture.py annotate "加 CI" "blocked: 缺权限" # append a sub-bullet under first matching open #agent-todo