跳到正文
cccskills
免费在 GitHub 公开

obsidian-daily

Manages Obsidian Daily Notes via the official Obsidian CLI. Creates and opens daily notes, appends entries (journals, logs, tasks, links), reads daily notes and vault files, searches vault content, and handles relative dates like "yesterday", "last Friday", and "3 days ago". Requires Obsidian 1.12+ with Command line interface enabled.

中文简介正在准备中。当前显示原文说明。

集成工具Obsidian

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Obsidian Daily Notes

Interact with Obsidian Daily Notes through the official obsidian command: create or open today's note, append entries, read notes, and search vault content.

Setup

Check that the official CLI is available:

obsidian version

If the command is unavailable, ask the user to enable Obsidian's CLI:

  1. Install or update to Obsidian 1.12 or newer.
  2. Open Settings > General.
  3. Enable Command line interface and follow the registration prompt.

Target a vault explicitly when needed by placing vault=<name-or-id> before the command:

obsidian vault="Work" daily

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):

ReferenceCommand
Todaydate +%Y-%m-%d
Yesterdaydate -d yesterday +%Y-%m-%d 2>/dev/null || date -v-1d +%Y-%m-%d
Last Fridaydate -d "last friday" +%Y-%m-%d 2>/dev/null || date -v-1w -v+fri +%Y-%m-%d
3 days agodate -d "3 days ago" +%Y-%m-%d 2>/dev/null || date -v-3d +%Y-%m-%d
Next Mondaydate -d "next monday" +%Y-%m-%d 2>/dev/null || date -v+monday +%Y-%m-%d

Commands

Open/Create Today's Note

obsidian daily

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

Append Entry

obsidian daily:append content="ENTRY_TEXT"

Append without adding a newline:

obsidian daily:append content="ENTRY_TEXT" inline

Read Note

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"

Search Content

obsidian search query="TERM"

Search Notes

Machine-readable search:

obsidian search query="TERM" format=json

Specific Vault

Put vault="NAME" before the command:

obsidian vault="Work" read path="Daily Notes/2025-01-10.md"

Example Output

- Went to the doctor
- [ ] Buy groceries
- https://github.com/anthropics/skills
- 15:45 This is a log line

Use Cases

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"

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Primary accessibility skill for VS Code. REQUIRED for new feature and contribution work, and also applies to updates of existing UI. Covers accessibility help dialogs, accessible views, verbosity settings, signals, ARIA announcements, keyboard navigation, and ARIA labels/roles.

中文简介正在准备中。当前显示原文说明。

jcasnellie69/homelab-config22026年10月16日 更新

Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document this architecture", "onboard me to this repo", or "create codebase docs". Do not trigger for routine feature implementation, bug fixes, or narrow code edits unless the user asks for repository-level discovery.

中文简介正在准备中。当前显示原文说明。

jcasnellie69/homelab-config22026年10月16日 更新

Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.

中文简介正在准备中。当前显示原文说明。

jcasnellie69/homelab-config22026年10月16日 更新

Add educational comments to the file specified, or prompt asking for file to comment if one is not provided.

中文简介正在准备中。当前显示原文说明。

jcasnellie69/homelab-config22026年10月16日 更新

Use when adding, modifying, or reviewing VS Code configuration policies. Covers the full policy lifecycle from registration to export to platform-specific artifacts. Run on ANY change that adds a `policy:` field to a configuration property.

中文简介正在准备中。当前显示原文说明。

jcasnellie69/homelab-config22026年10月16日 更新

Patterns and techniques for adding governance, safety, and trust controls to AI agent systems. Use this skill when: - Building AI agents that call external tools (APIs, databases, file systems) - Implementing policy-based access controls for agent tool usage - Adding semantic intent classification to detect dangerous prompts - Creating trust scoring systems for multi-agent workflows - Building audit trails for agent actions and decisions - Enforcing rate limits, content filters, or tool restrictions on agents - Working with any agent framework (PydanticAI, CrewAI, OpenAI Agents, LangChain, AutoGen)

中文简介正在准备中。当前显示原文说明。

jcasnellie69/homelab-config22026年10月16日 更新

查看 jcasnellie69 的全部技能

报告此技能的问题