Agent Skills: Diary

Append completed tasks and learnings to an Obsidian daily note. Use when "diary", "log", "record what I did", "end of day", or "wrap up". Not for session quality — use session-insights. Not for personal reflection — use retrospect.

UncategorizedID: hairihou/dotfiles/diary

Install this agent skill to your local

pnpm dlx add-skill https://github.com/hairihou/dotfiles/tree/HEAD/src/.config/claude/skills/diary

Skill Files

Browse the full folder contents for diary.

Download Skill

Loading file tree…

src/.config/claude/skills/diary/SKILL.md

Skill Metadata

Name
diary
Description
Append completed tasks and learnings to an Obsidian daily note. Use when "diary", "log", "record what I did", "end of day", or "wrap up". Not for session quality — use session-insights. Not for personal reflection — use retrospect.

Diary

Context

  • Date: !date "+%Y%m%d"
  • Time: !date "+%H:%M"
  • Repository: !git rev-parse --show-toplevel

Target: ~/Documents/Obsidian Vault/Diary/YYYYMMDD.md

Entry Format

### repository-name

#### HH:MM

- [What was done]
  - [Reason for decision, if applicable]

> 💭
  • repository-name: basename of git root (extract from command output, do not use basename command)
  • HH:MM: Current time via date "+%H:%M"
  • Reason: Add only when a decision or choice was made
  • 💭: Reflection placeholder for user

Steps

  1. Analyze: Review conversation and git log for completed tasks

  2. Read/Create: ~/Documents/Obsidian Vault/Diary/<date>.md

    New file template:

    ## Tasks
    
    - [ ]
    
    ## Meeting
    
    -
    
    ## Memo
    
  3. Append: Add new time entry under existing repository section, or create new repository section

  4. Confirm: Show appended content

Error Handling

  • If ~/Documents/Obsidian Vault/Diary/ does not exist, stop and inform the user. Do not create the vault directory structure — the user may need to set up Obsidian first.
  • If the daily note exists but has unexpected format, append at the end rather than guessing structure.

Guidelines

  • Factual, concise, past tense
  • Append only - never overwrite