daily-log
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-07-27
- Stars
- ★ 0
- Forks
- 0
02 资源文件 3
- 其他.gitignore41 B
- 参考文档package.json271 B
- 脚本scripts/daily_activity.js2.5 KB
03 SKILL.md 正文
daily-log
End-of-day skill for ObsVault/. Populates the structured/derived portions
of today's 400_log/ note and ensures today's _journal/ note exists.
Spec: 02_Design_Specs.md §3 / §3a.
Trigger: manual invocation only — no scheduled task/cron wiring yet.
Step 1: Gather today's vault activity
Script: scripts/daily_activity.js
node scripts/daily_activity.js
Walks ObsVault/ for .md files with mtime on today's date, excluding
_journal/, 400_log/, 900_system/templates/,
.smart-env/, .obsidian/. Writes daily_activity_report.json
(gitignored) with shape:
{
"date": "YYYY-MM-DD",
"generated_at": "...",
"files_touched": [{ "path": "...", "mtime": "..." }]
}
This mirrors the same data the 400_log/ Dataview block (file.mtime)
surfaces live in Obsidian — the script just gives the model a snapshot to
summarize from.
Step 2: Query task management connector
Query your task management connector (see AgentOS/reference/harness_compat.md
for harness-specific tool names). The three queries needed:
- User info — identify self for scoping subsequent queries.
- Completed today — tasks completed today, assigned to self.
- Due today — tasks due today (exclude overdue), assigned to self.
If using the Todoist MCP connector (Claude Code / Cowork), the specific calls are:
user-info, find-completed-tasks (getBy: "completion", since/until = today,
responsibleUser = self), and find-tasks-by-date (startDate: "today",
overdueOption: "exclude-overdue", responsibleUser = self).
If no task connector is available on your harness, skip this step and omit
## Tasks (Todoist) from the log.
Data availability varies — if the connector can't cleanly distinguish "newly added" vs "rescheduled," note only what's confidently knowable (completed today; due today) rather than guessing.
Step 3: Ensure today's notes exist
For 400_log/YYYY-MM-DD.md and _journal/YYYY-MM-DD.md (today's date):
- If the file doesn't exist, create it from
900_system/templates/Log - Daily.md/900_system/templates/Journal - Daily.md, substituting{{date}}→ today's date (YYYY-MM-DD) and{{title}}→ today's date. - If it already exists, leave structure intact — only edit the sections below.
Step 4: Write the AI-manageable sections of 400_log/
Per 02_Design_Specs.md §8 (AI Authorship Boundary):
## Summary— replace the placeholder/existing AI summary with a bounded 1-3 sentence description of the day's vault activity, derived from Step 1'sfiles_touched(e.g. "Captured 2 lecture notes (ENGR201), refined Sample Concept A into 100_concepts/."). Keep it factual/structural — no interpretive prose.## Tasks (Todoist)— replace the placeholder with three short lists from Step 2: Completed, Due today, and (if confidently knowable) Newly added. Omit a sub-list entirely if empty rather than writing "none."
Step 5: Leave handwritten sections untouched
## Plans for Tomorrowin400_log/— never write to this beyond the initial template stub on file creation. Interpretive, user-only._journal/YYYY-MM-DD.mdbody — never write to this beyond creating the file from template if missing. Free-form, user-only, never read for summarization (privacy boundary, §3).
Future steps
- Wire
## Tasks (Todoist)Step 2 queries into thevault-maintenanceinbox-aging checks if useful overlap emerges — not yet explored. - Convert manual invocation to a scheduled task once a cadence is confirmed.
04 同仓库更多 Skills
vocab-anki
暂无简介
vault-maintenance
暂无简介
transcript-distillation
暂无简介
capture-promotion
暂无简介
review
Clear due memory reviews with free recall — the two-minute habit that makes learning permanent. Use when reviews are due, or the user wants to review, practice, or "do my engram reviews".
learn
Learn any topic properly — first-principles curriculum, generation-first tutoring, verified free recall, FSRS scheduling. Use when the user wants to learn, understand, study, or continue studying something.