Close Daily Skill
This skill closes out yesterday's daily note by canceling unchecked todos and fixing completion dates.
Instructions
- •
Calculate yesterday's date from today's date (use the current date provided in the environment)
- •
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
- •Format:
- •
Read the daily note file using the Read tool
- •
Process unchecked todos (
- [ ]):- •Change checkbox to canceled status:
- [-] - •Append
❌ YYYY-MM-DDusing yesterday's date - •Example:
- [ ] Some taskbecomes- [-] Some task ❌ 2026-01-29
- •Change checkbox to canceled status:
- •
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-30becomes- [x] Task ✅ 2026-01-29
- •Look for todos with
- •
Save changes using the Edit tool (make targeted edits for each change)
- •
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)