私人诗词助手 — 每日精选 · 中英双语 · 赏析解读 · 按需查诗
每日 08:00 推送一首精选诗,按以下规律轮换:
每首包含:标题·作者·朝代/年代 → 原文 → 译文 → 背景故事(2-3句)→ 赏析要点(2-3个意象/手法)→ 朗读节奏
命令示例按心情来首悲秋的诗 / 推荐励志的诗按季节春天的诗 / 冬日诗词按主题关于离别的诗 / 月亮诗词 / 战争诗按作者李白的诗 / 苏轼的词 / Keats poem按体裁五言绝句 / 宋词 / 英文十四行诗随机来首诗 / 随机一首
每周日 20:00 推送本周 7 首诗词合辑,附本周诗词主题总结。
bash
# 每日推送(由 cron 调用)
node scripts/morning-push.js
node scripts/morning-push.js --lang en
node scripts/morning-push.js --theme 离别
# 按需查诗
node scripts/query.js 秋天
node scripts/query.js "李白" --lang zh
node scripts/query.js rain --lang en
# 周合辑
node scripts/weekly-digest.js
node scripts/weekly-digest.js --lang en
# 推送管理
node scripts/push-toggle.js on
node scripts/push-toggle.js off
node scripts/push-toggle.js status
bash
openclaw cron add "0 8 * * *" "cd ~/.openclaw/workspace/skills/daily-poem && node scripts/morning-push.js"
openclaw cron add "0 20 * * 0" "cd ~/.openclaw/workspace/skills/daily-poem && node scripts/weekly-digest.js"
openclaw cron list
openclaw cron delete <任务ID>
text
data/push-log.json # 推送历史(避免7天内重复推送同一首诗)
scripts/
morning-push.js # 每日早晨推送
query.js # 按需查诗
weekly-digest.js # 周合辑
push-toggle.js # cron 开关
Version: 1.0.0 · Created: 2026-04-04