obsidian-daily — команда для Claude Code
Команда obsidian-daily автоматически создаёт или обновляет заметку дня в Obsidian, подтягивая события из календаря, просроченные задачи и контекст текущего разговора.
MIT ★ 5 412 обновлён 2026-10-24
/plugin marketplace add eugeniughelbur/obsidian-second-brain
/plugin install obsidian-second-brain@obsidian-second-brainЧто делает obsidian-daily
Команда obsidian-daily читает ваш vault, проверяет шаблон дневной заметки и заполняет её за один вызов. Сначала она ищет конфиг в _CLAUDE.md и временную зону в CRITICAL_FACTS.md, затем создаёт или обновляет файл сегодняшней даты в папке дневных заметок (путь берёт из references/folder-map.md).
Если к Claude Code подключен MCP для Google Calendar, команда подтягивает события на сегодня в новый раздел ## Calendar с временем, названием и участниками. Для знакомых людей добавляет ссылки на их страницы в vault. Также сканирует доски kanban на предмет задач с меткой @{date} на сегодня или просроченные, добавляет их в раздел Focus. Изучает текущий разговор на предмет упомянутых задач, людей, решений и добавляет этот контекст в заметку.
Если ночью работал агент консолидации (проверяет логи в Logs/YYYY-MM-DD.md), команда добавляет краткую справку о том, что произошло. Все создаваемые заметки должны соответствовать правилам из references/ai-first-rules.md с фронтматтером, вики-ссылками и метаданными — это нужно, чтобы будущие агенты могли работать с vault эффективнее.
Какие задачи решает
- собрать ежедневную заметку из шаблона и данных календаря
- добавить к дню список просроченных и спешных задач
- сохранить контекст разговора в дневник автоматически
- узнать, что изменилось в vault за ночь
Примеры запросов агенту
- Создай мне заметку на сегодня с календарём и задачами
- Запусти
/obsidian-dailyи обнови мой дневник - Подготовь заметку дня с контекстом из нашего разговора
Как установить obsidian-daily
1Через маркетплейс плагинов
/plugin marketplace add eugeniughelbur/obsidian-second-brain/plugin install obsidian-second-brain@obsidian-second-brain2Вручную: положить файлы
.claude/commands/obsidian-daily.mdВызов — /obsidian-daily. Для всех проектов — ~/.claude/commands/
Вручную: положить файлы
~/.codex/prompts/obsidian-daily.mdВызов — /prompts:obsidian-daily. В Codex этот формат помечен устаревшим, замена — скиллы
Вручную: положить файлы
.github/prompts/obsidian-daily.prompt.mdВручную: положить файлы
.gemini/commands/obsidian-daily.tomlGemini хранит команды в TOML: текст запроса — в поле prompt
Вопросы об obsidian-daily
Как установить obsidian-daily в Claude Code?
Выполните /plugin marketplace add eugeniughelbur/obsidian-second-brain, потом /plugin install obsidian-second-brain@obsidian-second-brain. Командный файл загружается по пути .claude/commands/obsidian-daily.md.
Что делает obsidian-daily?
Команда создаёт или обновляет дневную заметку, подтягивая события календаря, задачи с доски kanban, контекст из текущего разговора и отчёт о ночных изменениях в vault.
Что нужно для работы obsidian-daily?
Шаблон дневной заметки в папке Templates (путь уточняется в references/folder-map.md), опционально MCP для Google Calendar. Файлы конфига _CLAUDE.md и CRITICAL_FACTS.md в корне vault помогут команде работать точнее.
Исходный текст
obsidian-daily.md · MIT
---
description: Create or update today's daily note - pulls calendar events, overdue tasks, and conversation context
category: vault
trigger-mode: proactive
triggers_en: ["todays note", "create todays daily", "open daily", "today daily note"]
triggers_de: ["heutige Notiz", "erstelle die heutige Tagesnotiz", "Tagesnotiz öffnen", "Notiz für heute"]
triggers_es: ["nota de hoy", "crea la diaria de hoy", "abre mi diaria", "abre la nota de hoy", "dame mi diaria"]
triggers_pt: ["nota de hoje", "crie a nota diária de hoje", "abra a diária", "nota diária de hoje"]
triggers_zh: ["打开今天的日记", "创建今天的每日笔记", "更新今天的日记", "看看今天要做什么"]
---
Use the obsidian-second-brain skill. Execute `/obsidian-daily`:
1. Read `_CLAUDE.md` first if it exists in the vault root
2. If `CRITICAL_FACTS.md` exists in the vault root, read it for timezone; otherwise use the system timezone
3. Check if today's `YYYY-MM-DD.md` exists in the daily folder, resolved per `references/folder-map.md` (wiki-style `wiki/daily/`, Obsidian-style `Daily/`)
- If not: read the daily-note template (`Templates/Daily Note.md`, or lowercase `templates/` if that is the vault's folder), fill in date fields, create the file
- If yes: update existing note (inject, don't overwrite)
4. Pull calendar events (if a Google Calendar MCP is connected):
- Find the primary calendar with `mcp__claude_ai_Google_Calendar__list_calendars`, then fetch today's events with `mcp__claude_ai_Google_Calendar__list_events` (these are the tool names exposed by the claude.ai Google Calendar connector; if your calendar MCP namespaces its tools differently, use that server's `list_events` equivalent)
- Add a ## Calendar section to the daily note with:
- Time, title, attendees for each event
- For meetings with known entities: link to their `[[Person Name]]` pages
- If no calendar MCP is connected, skip silently (don't error)
5. Pull overdue and due-today tasks from kanban boards:
- Scan the boards folder (resolved per `references/folder-map.md`) for items with `@{date}` that match today or are past due
- Add to the daily note's Focus section with priority markers
6. Scan the current conversation for anything relevant to today:
- Tasks in progress, people mentioned, decisions made, what's being worked on
- Pre-fill or update the note's sections with that context
7. Check the operation log for last night's sleeptime consolidation (if `Logs/` exists: read yesterday's `Logs/YYYY-MM-DD.md`; otherwise read `log.md`):
- If the nightly agent ran, summarize what it did (reconciled, synthesized, healed)
- Add a brief "Overnight changes" note so the user knows what happened while they slept
8. Return the path of the daily note when done.
---
**AI-first rule:** Every note created or updated by this command MUST follow `references/ai-first-rules.md` - `## For future agent` preamble, rich frontmatter (`type`, `date`, `tags`, `ai-first: true`, plus type-specific fields), recency markers per external claim, mandatory `[[wikilinks]]` for every person/project/concept referenced, sources preserved verbatim with URLs inline, and confidence levels where applicable. If that path does not resolve from your working directory, search upward for it; if you still cannot read it, say so before writing rather than producing a note that silently skips the rule. The vault is for future agent retrieval - not human reading.
**Anti-fabrication:** Search exhaustively before claiming any note, person, or file is absent - false absence is the most common failure mode - and never invent facts, entities, or dates (mark unknowns as `TBD`). See the anti-fabrication and search-completeness hard rules in `references/ai-first-rules.md`.
© Eugeniu Ghelbur · MIT · eugeniughelbur/obsidian-second-brain