Create one Obsidian note per Codex session in a dedicated vault folder and include a backlink to today's daily note. Use when asked to dump session context, log work done, or archive session knowledge in Obsidian.
Create a standalone session note. Add a backlink from that session note to the daily note.
Daily note directory:
/Users/nsttt/Documents/Nsttt Vault/06 - Journal/DailySession note directory:
/Users/nsttt/Documents/Nsttt Vault/06 - Journal/Agent SessionsOverride with:
OBSIDIAN_DAILY_DIROBSIDIAN_SESSION_DIR--daily-dir and --session-dirCreate 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:
- ...
- ...
- ...
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
[[...]]agent-session<YYYY-MM-DD>Daily note: [[...]]--date YYYY-MM-DD to target another daily note date.<Heading> - YYYY-MM-DD.md.--heading is required and should be a short descriptive session title.--summary is required and should be a short description sentence.--filename to force a specific file name.--dry-run to preview file paths and note content.Path:
/Users/nsttt/.codex/skills/obsidian-daily-dump/scripts/create_session_note.tsUsage:
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:
--content text, or piped STDIN if --content is omitted.