计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
daily-stoic【效率与协作】Send daily Stoic philosophy quotes from "The Daily Stoic" by Ryan Holiday. Use when setting up daily wisdom reminders via email or Telegram, or when a user wants stoic quotes for a specific date. Supports all 366 days with title, quote, and reflection.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Deliver daily Stoic wisdom from "The Daily Stoic" by Ryan Holiday. Each day has a title, opening quote, and reflection.
# Get today's stoic message
python3 {baseDir}/scripts/get-stoic.py
# Get specific date (MM-DD format)
python3 {baseDir}/scripts/get-stoic.py 02-03
# Output formats
python3 {baseDir}/scripts/get-stoic.py --format text # Plain text (default)
python3 {baseDir}/scripts/get-stoic.py --format json # JSON
python3 {baseDir}/scripts/get-stoic.py --format html # Email-ready HTML
python3 {baseDir}/scripts/get-stoic.py --format telegram # Telegram markdown
# Use Clawdbot's message tool with telegram format
MESSAGE=$(python3 {baseDir}/scripts/get-stoic.py --format telegram)
# Then send via Clawdbot message action
# Generate HTML email
HTML=$(python3 {baseDir}/scripts/get-stoic.py --format html)
# Send via gog gmail
gog gmail send --to recipient@email.com --subject "Daily Stoic - $(date +%B\ %d)" --body-html="$HTML"
Schedule daily delivery at 7am:
0 7 * * * python3 /path/to/scripts/get-stoic.py --format telegram | send-to-telegram
Or use Clawdbot cron with text:
"Send today's Daily Stoic quote via Telegram and email to the configured recipients"
date_label, title, quote, source, reflectionassets/stoic-daily.jsonFebruary 3rd — THE SOURCE OF YOUR ANXIETY
"When I see an anxious person, I ask myself, what do they want?" —EPICTETUS, DISCOURSES, 2.13.1
The anxious father, worried about his children. What does he want? A world that is always safe...
Edit the HTML template in assets/email-template.html to match your brand.