تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

archive-daily-note

بواسطة meimakes

Search & Research
—لم يُقيَّم بعد
تقييمك

موجز

Automatically moves yesterday's Obsidian daily note into a past-days/ archive folder using the Obsidian CLI move.

الوصف

ما الذي تفعله هذه المهارة

Moves yesterday's Obsidian daily note into a past-days/ archive folder on a nightly schedule. Uses the Obsidian CLI move command so internal wiki-links update automatically. Safe to run multiple times — skips if the note is already archived or missing.

Using obsidian move instead of a raw file rename keeps all wiki-links pointing to the correct location without manual link repair.

متى تستخدمها

  • Keeping the vault root uncluttered after each day
  • Auto-archiving notes without breaking backlinks
  • Running a midnight cron to file notes before morning review
  • Maintaining a browsable past-days/ history in Obsidian
  • Replacing a manual drag-and-drop filing habit

مثال على سير العمل

الإدخال

User asks: Move yesterday's daily note to the archive folder

الوكيل
  1. 1

    Calculates yesterday's date and constructs the expected filename in MM-DD-YYYY DayOfWeek.md format

  2. 2

    Checks if the note exists at the vault root

  3. 3

    Verifies the note is not already in past-days/

  4. 4

    Runs obsidian move to relocate the file and update all internal links

الإخراج

Note moved to past-days/03-13-2026 Thursday.md with all wiki-links updated; silent skip if already archived

المتطلبات

  • Obsidian CLI with obsidian move command available
  • past-days/ folder created in the Obsidian vault
  • Daily notes named in MM-DD-YYYY DayOfWeek.md format

التثبيت

clawhub install meimakes/archive-daily-note

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط