obsidian-daily

obsidian-daily is a skill for Claude Code, Codex from lisihao/Solar. It costs 79 tokens per session (1,149 once invoked), scanned A, original, MIT.

A tool for creating and managing Obsidian daily notes through the command line. Obsidian is a Markdown-based note-taking app where notes are stored in a local vault, or folder.

In plain words
What is it for?
Use it to create daily notes, append journals or tasks, read notes by date, and search vault content.
Why use it?
It makes daily journaling and note retrieval repeatable without manually opening files. It also handles dates such as yesterday, last Friday, or three days ago.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create daily notes, append journals or tasks, read notes by date, and search vault content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lisihao/solar/obsidian-daily
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lisihao/Solar --skill obsidian-daily
Clone the repo
git clone --depth 1 https://github.com/lisihao/Solar

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for obsidian-daily

README.md
[![agentmods](https://agentmods.dev/badge/skills/lisihao/solar/obsidian-daily/github.svg)](https://agentmods.dev/skills/lisihao/solar/obsidian-daily)
Your own site
<a href="https://agentmods.dev/skills/lisihao/solar/obsidian-daily"><img src="https://agentmods.dev/badge/skills/lisihao/solar/obsidian-daily/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for obsidian-daily

Your own site · 80×15
<a href="https://agentmods.dev/skills/lisihao/solar/obsidian-daily"><img src="https://agentmods.dev/badge/skills/lisihao/solar/obsidian-daily.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,149 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.01149
Opus 5 $0.00039 $0.00575
Sonnet 5 $0.00016 $0.00230
Haiku 4.5 $0.00008 $0.00115

Measured 6d ago against content hash dac31a9b2816, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

obsidian-daily scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/obsidian-daily/SKILL.md · 162 lines

How it starts

The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Obsidian Daily Notes

Interact with Obsidian Daily Notes: create notes, append entries, read by date, and search content.

Setup

Check if a default vault is configured:

obsidian-cli print-default --path-only 2>/dev/null && echo "OK" || echo "NOT_SET"

If NOT_SET, ask the user:

  1. Vault name (required)
  2. Daily notes folder (default: vault root, common: Daily Notes, Journal, daily)
  3. Date format (default: YYYY-MM-DD)

Configure the vault:

obsidian-cli set-default "VAULT_NAME"

Obsidian Daily Notes plugin defaults:

  • Date format: YYYY-MM-DD
  • New file location: Vault root
  • Template file location: (none)

Date Handling

Get 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-friday +%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

Commands

Open/Create Today's Note

obsidian-cli daily

Opens today's daily note in Obsidian, creating it from template if it doesn't exist.

Append Entry

obsidian-cli daily && obsidian-cli create "$(date +%Y-%m-%d).md" --content "$(printf '\n%s' "ENTRY_TEXT")" --append

With custom folder:

obsidian-cli daily && obsidian-cli create "Daily Notes/$(date +%Y-%m-%d).md" --content "$(printf '\n%s' "ENTRY_TEXT")" --append

Read Note

Today:

obsidian-cli print "$(date +%Y-%m-%d).md"

Specific date:

obsidian-cli print "2025-01-10.md"

Relative date (yesterday):

obsidian-cli print "$(date -d yesterday +%Y-%m-%d 2>/dev/null || date -v-1d +%Y-%m-%d).md"

Search Content

obsidian-cli search-content "TERM"

Read the full file on GitHub · 162 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 162 lines · 79 tokens per session scan A dac31a9b2816

Subscribe to this mod's changes

obsidian-daily is a skill published in the GitHub repository lisihao/Solar (2 stars, last pushed 27d ago), licensed MIT. It adds 79 tokens to every session and 1,149 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.