Agent Skill
2/7/2026

close-daily

This skill should be used when the user wants to "close daily", "finish yesterday's note", "cancel remaining todos", or "clean up daily note". Closes out yesterday's daily note.

L
lylaminju
0GitHub Stars
1Views
npx skills add lylaminju/obsidian-mjuudev

SKILL.md

Nameclose-daily
DescriptionThis skill should be used when the user wants to "close daily", "finish yesterday's note", "cancel remaining todos", or "clean up daily note". Closes out yesterday's daily note.

name: close-daily description: This skill should be used when the user wants to "close daily", "finish yesterday's note", "cancel remaining todos", or "clean up daily note". Closes out yesterday's daily note. version: 1.0.0

Close Daily Skill

This skill closes out yesterday's daily note by canceling unchecked todos and fixing completion dates.

Instructions

  1. Calculate yesterday's date from today's date (use the current date provided in the environment)

  2. Construct the file path for yesterday's daily note:

    • Format: 2. Area/Daily Note/YYYY/MM/YYYY-MM-DD.md
    • Example: 2. Area/Daily Note/2026/01/2026-01-29.md
  3. Read the daily note file using the Read tool

  4. Process unchecked todos (- [ ]):

    • Change checkbox to canceled status: - [-]
    • Append ❌ YYYY-MM-DD using yesterday's date
    • Example: - [ ] Some task becomes - [-] Some task ❌ 2026-01-29
  5. Fix completion dates for checked todos (- [x]):

    • Look for todos with followed by a date
    • If the date doesn't match yesterday's date (the file name), update it
    • Example: - [x] Task ✅ 2026-01-30 becomes - [x] Task ✅ 2026-01-29
  6. Save changes using the Edit tool (make targeted edits for each change)

  7. Report results to the user:

    • Number of todos canceled
    • Number of completion dates fixed
    • Confirm the file was updated

Important Notes

  • Only process the daily note for yesterday, not today
  • Preserve all other content in the file unchanged
  • The emoji characters are: ❌ (canceled) and ✅ (completed)
Skills Info
Original Name:close-dailyAuthor:lylaminju