# Archive Daily Note

> Automatically moves yesterday's Obsidian daily note into a past-days/ archive folder using the Obsidian CLI move command to preserve wiki-links.

- Skill: `johnalbertini14-glitch/archive-daily-note` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add johnalbertini14-glitch/archive-daily-note`
- Raw SKILL.md: https://api.skillmd.com/api/skills/johnalbertini14-glitch/archive-daily-note/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: johnalbertini14-glitch (https://skillmd.com/u/johnalbertini14-glitch)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/johnalbertini14-glitch/archive-daily-note

---


# Archive Daily Note Skill

Automatically moves yesterday's Obsidian daily note into a `past-days/` archive folder.

## What It Does

Runs daily (e.g., at 12:05 AM) to move the previous day's note from the vault root into `past-days/`. Uses `obsidian move` to preserve wiki-links.

## Cron Setup

Schedule as an isolated cron job running shortly after midnight:

```
Schedule: 5 0 * * * (daily at 00:05)
Target: isolated
```

**Prompt:**
```
Move yesterday's Obsidian daily note into the past-days/ folder.
The note is at the vault root named like 'MM-DD-YYYY DayOfWeek.md'.
Use `obsidian move` so links stay updated.
If it's already in past-days or doesn't exist, skip silently.
```

## Requirements

- Obsidian CLI (`obsidian move` command)
- Daily notes named in `MM-DD-YYYY DayOfWeek.md` format
- A `past-days/` folder in the vault

## Behavior

- **Idempotent**: Safe to run multiple times; skips if already archived or missing
- **Link-safe**: Uses Obsidian's move command to update all internal links
- **Silent**: No output on skip — only reports if something goes wrong

