This skill helps you manage Obsidian Daily Notes with obsidian-cli, creating, appending, reading by date, and searching vault content.
npx playbooks add skill bastos/skills --skill obsidian-daily
Interact with Obsidian Daily Notes through the official obsidian command: create
or open today's note, append entries, read notes, and search vault content.
Check that the official CLI is available:
obsidian version
If the command is unavailable, ask the user to enable Obsidian's CLI:
Target a vault explicitly when needed by placing vault=<name-or-id> before the
command:
obsidian vault="Work" daily
Obsidian Daily Notes plugin defaults:
YYYY-MM-DDGet current date:
date +%Y-%m-%d
Cross-platform relative dates (GNU first, BSD fallback):
| Reference | Command |
|-----------|---------|
| Today | date +%Y-%m-%d |
| Yesterday | date -d yesterday +%Y-%m-%d 2>/dev/null \|\| date -v-1d +%Y-%m-%d |
| Last Friday | date -d "last friday" +%Y-%m-%d 2>/dev/null \|\| date -v-1w -v+fri +%Y-%m-%d |
| 3 days ago | date -d "3 days ago" +%Y-%m-%d 2>/dev/null \|\| date -v-3d +%Y-%m-%d |
| Next Monday | date -d "next monday" +%Y-%m-%d 2>/dev/null \|\| date -v+monday +%Y-%m-%d |
obsidian daily
Opens today's daily note in Obsidian, creating it from template if it doesn't exist.
obsidian daily:append content="ENTRY_TEXT"
Append without adding a newline:
obsidian daily:append content="ENTRY_TEXT" inline
Today:
obsidian daily:read
Specific date, using the vault's configured daily-note folder and date format:
obsidian read path="Daily Notes/2025-01-10.md"
Relative date (yesterday):
obsidian read path="Daily Notes/$(date -d yesterday +%Y-%m-%d 2>/dev/null || date -v-1d +%Y-%m-%d).md"
obsidian search query="TERM"
Machine-readable search:
obsidian search query="TERM" format=json
Put vault="NAME" before the command:
obsidian vault="Work" read path="Daily Notes/2025-01-10.md"
- Went to the doctor
- [ ] Buy groceries
- https://github.com/anthropics/skills
- 15:45 This is a log line
Journal entry:
obsidian daily:append content="- Went to the doctor"
Task:
obsidian daily:append content="- [ ] Buy groceries"
Link:
obsidian daily:append content="- https://github.com/anthropics/skills"
Timestamped log:
obsidian daily:append content="- $(date +%H:%M) This is a log line"
Read last Friday:
obsidian read path="Daily Notes/$(date -d 'last friday' +%Y-%m-%d 2>/dev/null || date -v-1w -v+fri +%Y-%m-%d).md"
Search for "meeting":
obsidian search query="meeting"Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.