ASP源码
PHP源码
.NET源码
JSP源码
每日律动 (Daily Rhythm) 技能是一个全面的个人管理系统,旨在为您的每一天带来结构感和目的性。通过将其集成到您的 Openclaw Skills 库中,您可以获得一个自动化的智能助手,负责管理从规划到执行的过渡。该技能综合了来自多个来源的数据,包括 Google Tasks、用于财务追踪的 Stripe 以及 ICS 日历,以便在每天早晨提供您全天行程的高级概览。
除了简单的任务管理,每日律动还关注生产力的心理层面。它包含一个可自定义的“定心”板块,用于每日意图、祈祷或肯定语,并配有自动化的晚间收尾提示。这确保了您不仅能以清晰的路线图开始新的一天,还能在结束时捕捉未尽事宜,从而获得更好的休息,并持续朝着您的关注领域迈进。
下载入口:https://github.com/openclaw/skills/tree/main/skills/anthonyfrancis/daily-rhythm
从源直接安装技能的最快方式。
npx clawhub@latest install daily-rhythm
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 daily-rhythm。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
首先,安装所需的 Python 依赖项以处理 API 集成:
pip install google-auth google-auth-oauthlib google-auth-httplib2 google-api-python-client stripe
在 ~/.openclaw/google-tasks/ 中配置您的 Google Tasks API 凭据,并在 .env.stripe 文件中设置您的 Stripe API 密钥。最后,通过将脚本添加到系统 crontab 来自动化此循环:
crontab -e
# 同步数据并生成晨间简报
0 7 * * * cd /path/to/workspace && python3 skills/daily-rhythm/scripts/sync-stripe-arr.py
30 8 * * * cd /path/to/workspace && python3 skills/daily-rhythm/scripts/morning-brief.sh
该技能通过本地文件结构管理持久数据和状态,以确保隐私和速度。以下是 Openclaw Skills 数据的组织方式:
| 文件路径 | 功能 |
|---|---|
memory/YYYY-MM-DD.md |
记录每日收尾响应和确定的优先级。 |
memory/google-tasks.json |
存储同步任务的本地缓存,以便离线访问。 |
memory/stripe-data.json |
包含计算出的收入指标和 ARR 进度跟踪。 |
HEARTBEAT.md |
关注领域和每日意图的主要配置文件。 |
memory/heartbeat-state.json |
自动化引擎的内部状态跟踪。 |
name: daily-rhythm
description: Automated daily planning and reflection system with morning briefs, wind-down prompts, sleep nudges, and weekly reviews. Use when the user wants to set up a structured daily routine, morning briefings, evening reflection prompts, or weekly planning sessions. Triggers include requests for daily schedules, morning briefs, wind-down routines, sleep reminders, weekly reviews, productivity systems, or daily planning automation.
A comprehensive daily planning and reflection system that automates morning briefs, evening wind-downs, sleep nudges, and weekly reviews to help users stay focused, track progress, and maintain work-life balance.
Ensure Python 3 and required packages:
pip install google-auth google-auth-oauthlib google-auth-httplib2 google-api-python-client stripe
credentials.json to ~/.openclaw/google-tasks/python3 scripts/sync-google-tasks.pySee CONFIGURATION.md for detailed steps.
For ARR tracking in morning briefs:
.env.stripe in workspace root:STRIPE_API_KEY=sk_live_...
Add ICS URL to TOOLS.md:
### Calendar
- **ICS URL:** `https://calendar.google.com/calendar/ical/...`
Option A: System Cron (Traditional)
crontab -e
# Add these lines:
0 7 * * * cd /path/to/workspace && python3 skills/daily-rhythm/scripts/sync-stripe-arr.py
30 8 * * * cd /path/to/workspace && python3 skills/daily-rhythm/scripts/morning-brief.sh
0 20 * * 0 cd /path/to/workspace && echo "Weekly review time"
30 22 * * * cd /path/to/workspace && echo "Wind-down time"
0 23 * * * cd /path/to/workspace && echo "Sleep nudge"
Option B: OpenClaw Cron (If Available) Use the cron tool to create jobs with agentTurn payloads that generate and send briefs.
Copy the template from assets/HEARTBEAT_TEMPLATE.md to workspace root and customize:
The brief is generated by:
memory/YYYY-MM-DD.mdWhen user replies to 10:30pm prompt:
memory/YYYY-MM-DD.mdSunday 8pm prompt asks reflection questions. When user replies:
The morning brief opens with a centering section you can customize:
Examples:
Edit in HEARTBEAT.md or modify the morning brief generation.
Update default focus in HEARTBEAT.md:
### Focus
Your primary focus (e.g., "Product growth and customer acquisition")
Modify cron expressions:
30 8 * * * = 8:30am daily30 22 * * * = 10:30pm daily0 23 * * * = 11:00pm daily0 20 * * 0 = 8:00pm SundaysModify scripts/morning-brief.sh to include additional data sources.
workspace/
├── memory/
│ ├── YYYY-MM-DD.md # Wind-down responses
│ ├── google-tasks.json # Synced tasks
│ ├── stripe-data.json # ARR data
│ └── heartbeat-state.json # State tracking
├── skills/daily-rhythm/
│ ├── scripts/
│ │ ├── sync-google-tasks.py
│ │ ├── sync-stripe-arr.py
│ │ └── morning-brief.sh
│ ├── references/
│ │ └── CONFIGURATION.md
│ └── assets/
│ └── HEARTBEAT_TEMPLATE.md
└── HEARTBEAT.md # Your custom schedule
Syncs Google Tasks to local JSON. Requires credentials.json.
Calculates ARR from active Stripe subscriptions. Requires .env.stripe.
Orchestrates data sync and brief generation.
Google Tasks not syncing?
credentials.json existsStripe ARR not showing?
.env.stripe with valid API keyCron jobs not firing?
crontab -lSee CONFIGURATION.md for detailed troubleshooting.