name: today
description: Generate today's journal note when the user says /today or asks for a daily log. Use template 00_inbox/日记模版.md (fallback 00_inbox/日记模板.md), create the note in 99_学习情况记录, add a bilingual (Chinese + English) major-news section for the latest 24 hours (world, finance, technology), list unfinished tasks from existing notes in 99_学习情况记录, and list today's tasks extracted from Overview & Study Record.md as markdown checkboxes.
Today
Overview
Create one completed daily note with three ordered modules and save it to the study-log folder.
Use this workflow every time the user asks for /today.
Workflow
Resolve required paths.
- Prefer template
00_inbox/日记模版.md. - If missing, fallback to
00_inbox/日记模板.md. - Use output folder
99_学习情况记录. - Use overview file
Overview & Study Record.md.
- Prefer template
Determine today's target filename.
- Format:
YYYY-MM-DD——<DayAbbrev>.md(for example2026-02-02——Mon.md). - If the file already exists, update it in place instead of creating a duplicate.
- Format:
Build module 1 (news, bilingual).
- Search the web for major news in the latest 24 hours in three categories:
- World
- Finance
- Technology
- Keep 3 items per category.
- For each item, write one Chinese line and one English line.
- Include publish time and source.
- Follow
references/news-format.md.
- Search the web for major news in the latest 24 hours in three categories:
Build module 2 and module 3 (tasks) with the helper script.
- Run:
python3 .codex/skills/today/scripts/extract_today_tasks.py --date YYYY-MM-DD
- Use the generated markdown block directly.
- If the script reports missing data, insert explicit placeholders instead of guessing.
- Run:
Compose the final note.
- Start from the resolved diary template content.
- Place module order exactly:
- Module 1: 24h News (bilingual)
- Module 2: Unfinished Tasks (from old diaries)
- Module 3: Today's Tasks (from overview plan)
- Use markdown checkboxes (
- [ ]) for all task bullets.
Save and verify.
- Confirm file is under
99_学习情况记录. - Confirm all three modules exist.
- Confirm module 1 is bilingual and within latest 24 hours.
- Confirm file is under
Notes
- Do not edit
.obsidian/files. - Do not fabricate news. If data is insufficient, state that clearly in the note.
- Keep wording concise and execution-focused.