| name | log |
| description | Use when /log is invoked or when Shane wants to capture a lightweight session note. Appends a timestamped entry to today's daily note under Session Log. |
Skill: /log
Lightweight session capture. No Qwen needed — this is a direct write.
Steps
-
Determine today's date (YYYY-MM-DD format)
-
Get the current time (HH:MM format)
-
Capture Shane's session note from his message (everything after /log)
-
Run: obsidian append file='[today's date]' content='**[HH:MM]** [Shane's note]'
- If today's daily note doesn't exist yet, first run:
obsidian create name='Daily Notes/[today's date]' content='# [YYYY-MM-DD]\n\n## Session Log\n\n**[HH:MM]** [Shane's note]' silent
- If it exists but has no
## Session Log heading, prepend ## Session Log\n\n to the content being appended
-
Commit the vault change:
VAULT="$HOME/Library/Mobile Documents/iCloud~md~obsidian/Documents/Personal"
git -C "$VAULT" add -A && git -C "$VAULT" commit -m "docs: log session entry [HH:MM]"
-
Confirm to Shane: "Logged at [HH:MM]."
Notes
- Keep it fast — this skill should feel like a 2-second action