Obsidian Daily Dump
Create a standalone session note. Add a backlink from that session note to the daily note.
Default Paths
Daily note directory:
/Users/nsttt/Documents/Nsttt Vault/06 - Journal/Daily
Session note directory:
/Users/nsttt/Documents/Nsttt Vault/06 - Journal/Agent Sessions
Override with:
OBSIDIAN_DAILY_DIROBSIDIAN_SESSION_DIR- flags
--daily-dirand--session-dir
Workflow
-
Create a short session title (3-7 words) from what was accomplished. Example:
Obsidian Session Capture Setup. -
Write one short description sentence for the session. Frontmatter + daily backlink line will be inserted at the top of the note.
-
Build done items as a bullet list only:
- ...
- ...
- ...
- Create the note:
cat <<'MD' | bun /Users/nsttt/.codex/skills/obsidian-daily-dump/scripts/create_session_note.ts \
--heading "Obsidian Session Capture Setup" \
--summary "Implemented Obsidian session capture workflow."
- ...
- ...
- ...
MD
- Confirm printed paths:
- created session note path
- daily note backlink target
- backlink format is wiki-style
[[...]]
Guardrails
- Never overwrite an existing session note.
- File content must contain only:
- YAML frontmatter:
- tags:
agent-session - date:
<YYYY-MM-DD>
- tags:
- then line:
Daily note: [[...]] - one short description sentence
- one bullet list of done items
- YAML frontmatter:
- Keep bullets concrete; avoid filler.
- Use
--date YYYY-MM-DDto target another daily note date. - Default filename format:
<Heading> - YYYY-MM-DD.md. --headingis required and should be a short descriptive session title.--summaryis required and should be a short description sentence.- Use
--filenameto force a specific file name. - Use
--dry-runto preview file paths and note content. - Allow script to create the daily note file if missing.
Script
Path:
/Users/nsttt/.codex/skills/obsidian-daily-dump/scripts/create_session_note.ts
Usage:
bun create_session_note.ts [--daily-dir PATH] [--session-dir PATH] [--date YYYY-MM-DD] --heading TEXT --summary TEXT [--content TEXT] [--filename NAME.md] [--dry-run]
Input source:
- done items from
--contenttext, or piped STDIN if--contentis omitted.