Daily Digest
This skill provides a structured way to get a quick overview of your day. It relies on locally configured tools (himalaya for email and gog for calendar) and does not store any personal credentials within the skill itself.
Workflow
- 1. Email Triage: Use
himalaya --output json envelope list --page-size 20 to get recent emails. Identify urgent items needing attention. - Calendar & Task Sync: Use
gog calendar events [calendarId] --from [today_start] --to [today_end] to fetch today's schedule. Also check for due tasks using gog tasks/contacts or specific list commands if available. - News Retrieval: Use
web_fetch or browser to find the top 3-5 news stories of the day. - Log & Present: Use
scripts/digest.js to assemble these components into a stylized HTML report. CRITICAL: The script automatically saves this report as a permanent Markdown file in .openclaw/cron/DailyDigest_logs/[date].md for historical record. - Notify User: Send a brief notification via the
message tool to the user's active channel. Mention that the full detailed log is available at .openclaw/cron/DailyDigest_logs/[date].md.
Data Sources
- - Email:
himalaya CLI. - Calendar:
gog CLI. - News: Web search or trusted RSS feeds.
- Logs: Saved locally to
~/.openclaw/cron/DailyDigest_logs/.
Example Output
📅 Daily Briefing - 2026-02-12
📧 Emails (Recent)
- - Google: Security alert (04:10)
- The Replit Team: Unlock Replit Agent's Full Potential (Feb 11)
🗓️ Calendar
- - 10:30 AM: Workout (Shoulder)
- 02:00 PM: Project Review
📰 News
- - [Top news item 1]
- [Top news item 2]
每日摘要
本技能提供了一种结构化的方式来快速了解您的一天概况。它依赖于本地配置的工具(himalaya用于邮件,gog用于日历),并且不会在技能本身中存储任何个人凭证。
工作流程
- 1. 邮件分类:使用himalaya --output json envelope list --page-size 20获取最近的邮件。识别需要关注的紧急事项。
- 日历与任务同步:使用gog calendar events [calendarId] --from [todaystart] --to [todayend]获取今天的日程安排。同时使用gog任务/联系人命令或特定列表命令(如有)检查到期任务。
- 新闻获取:使用webfetch或browser查找当天排名前3-5的新闻故事。
- 日志记录与呈现:使用scripts/digest.js将这些组件整合成一份风格化的HTML报告。关键提示:该脚本会自动将此报告保存为永久性Markdown文件,路径为.openclaw/cron/DailyDigestlogs/[date].md,以供历史记录。
- 通知用户:通过message工具向用户的活跃频道发送简短通知。提示完整详细日志位于.openclaw/cron/DailyDigest_logs/[date].md。
数据来源
- - 邮件:himalaya命令行工具。
- 日历:gog命令行工具。
- 新闻:网络搜索或可信的RSS订阅源。
- 日志:本地保存至~/.openclaw/cron/DailyDigest_logs/。
示例输出
📅 每日简报 - 2026-02-12
📧 邮件(最近)
- - Google:安全警报(04:10)
- The Replit团队:解锁Replit Agent的全部潜力(2月11日)
🗓️ 日历
- - 上午10:30:锻炼(肩部)
- 下午02:00:项目评审
📰 新闻