
obsidian-diary
by you-n-g
My dot files and automatic environment deployment scripts
SKILL.md
name: obsidian-diary
description:
Expertise in processing raw notes or dictations into an Obsidian Vault. It organizes content into Daily Logs and People files, resolving person aliases using the obsidian-people skill.
Obsidian Diary & Note Organizer
Description
This skill acts as an intelligent secretary for your Obsidian knowledge base. It takes raw content from Tools/chat/daily summary.md and put it into the right place, when compiling the content, it follows following steps:
- Formats it according to your
Tools/chat/daily summary.mdprompt. - Appends diary entries to
Logging/Daily/. - Identifies people, resolves their aliases, and updates their files in
People/. - Extracts knowledge points to relevant documents.
You should process the raw content one section at a time, usually by day. Do not compile all sections together in a single batch.
Workflow
1. Context Loading
- Read the file `Tools/chat/daily summary.md` in the vault. Follow the prompt and instructions at the top of that file to decide how to summarize and format the text.
- The raw content that needs to be compiled is found in the `User` section.
2. Entity Resolution (Crucial)
Before writing, you must identify who is mentioned in the text.
- Step 1: Run the
obsidian-peopleskill to get a master list of names and aliases.~/.gemini/skills/obsidian-people/run.sh <PATH_TO_VAULT_ROOT> - Step 2: Analyze the raw text. Match any names, nicknames, or references (e.g., "Jim", "Boss") to the canonical filenames returned by the script (e.g., "Jim" might match
People/James.mdvia an alias).
3. Execution (File Editing)
A. Update Daily Log
- Target:
Logging/Daily/YYYY-MM-DD.md(Use today's date). - Action:
- Read the file to understand its current structure.
- move the raw content to the diary.
- add the compiled content to the diary (Please follow the instructions in
Tools/chat/daily summary.md).
B. Update People Files
- Target: The matched
People/<CanonicalName>.mdfiles. - Action:
- For each person mentioned, extract the relevant context or information about them.
- Read their file.
- Append a new entry (e.g., a bullet point with today's date link
[[YYYY-MM-DD]]) containing this info. - Leave a tag like
#p/...to that people file.
C. Knowledge & Concepts
- Target: Relevant topic files (search for them if needed) or new files.
- Action: Append or insert the structured knowledge points.
D. Remove the compiled text from the raw text
- Target: The compiled raw text in
Tools/chat/daily summary.md.
Example Usage
User: "Today I met with Lao Wang, we discussed the new AI project structure. Also, I realized that RAG requires better chunking strategies."
Agent Actions:
- Read
Tools/chat/daily summary.md. - Run
obsidian-people/run.sh. Find that "Lao Wang" is an alias forPeople/Wang Xiaoming.md. - Update
Logging/Daily/202X-XX-XX.md: Append the meeting note and the realization about RAG. - Update
People/Wang Xiaoming.md: Append "- [[202X-XX-XX]]: Discussed AI project structure." - Update
RAG.md(or similar): Append the note about chunking strategies.
Tips
The text in Tools/chat/daily summary.md is generated by speech recognition, so it may not be perfect.
So try to align the people mentioned in the text with the canonical names in People/ directory. But don't change the content in People/
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
1ヶ月以内に更新
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です
