← 返回 Skills 市场
cosmofang

Daily Poem

作者 Cosmos Fang · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
118
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install daily-poem
功能描述
Daily Poem delivers one carefully chosen poem every morning — rotating between Chinese classical poetry (唐诗宋词), modern Chinese verse, and English poems — com...
使用说明 (SKILL.md)

Daily Poem — 每日诗词

私人诗词助手 — 每日精选 · 中英双语 · 赏析解读 · 按需查诗


何时使用

  • 用户说"来首诗""送我一首诗""今日诗词""给我推一首"
  • 用户说"来首关于秋天/离别/励志/雨/爱情的诗"
  • 用户说"唐诗宋词""现代诗""英文诗"
  • 用户说"开启诗词推送""每天给我推诗"
  • 每周日晚间自动发送本周诗词合辑

🌐 语言规则

  • 默认中文;用户英文提问切英文
  • 中文诗保留原文,附英译;英文诗保留原文,附中译
  • 专有名词(诗人名、词牌名)保留原文,括号内附拼音/译文

📖 功能列表

每日推送

每日 08:00 推送一首精选诗,按以下规律轮换:

  • 周一/三/五:中国古典诗词(唐诗、宋词、元曲)
  • 周二/四:中国现代诗(1919-今)
  • 周六/日:英文诗(莎士比亚、济慈、聂鲁达、弗罗斯特等)

每首包含:标题·作者·朝代/年代 → 原文 → 译文 → 背景故事(2-3句)→ 赏析要点(2-3个意象/手法)→ 朗读节奏

按需查诗

命令 示例
按心情 来首悲秋的诗 / 推荐励志的诗
按季节 春天的诗 / 冬日诗词
按主题 关于离别的诗 / 月亮诗词 / 战争诗
按作者 李白的诗 / 苏轼的词 / Keats poem
按体裁 五言绝句 / 宋词 / 英文十四行诗
随机 来首诗 / 随机一首

每周诗词合辑

每周日 20:00 推送本周 7 首诗词合辑,附本周诗词主题总结。


🛠️ 脚本说明

# 每日推送(由 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

⏰ Cron 配置

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 \x3C任务ID>

📁 数据文件

data/push-log.json    # 推送历史(避免7天内重复推送同一首诗)
scripts/
  morning-push.js     # 每日早晨推送
  query.js            # 按需查诗
  weekly-digest.js    # 周合辑
  push-toggle.js      # cron 开关

⚠️ 注意事项

  1. 不依赖外部 API,由 Agent 凭文学知识或 WebSearch 选诗
  2. push-log.json 记录最近推送过的诗,避免短期内重复
  3. 赏析内容由 Agent 生成,不代表唯一解读,欢迎用户提出不同见解
  4. 英文诗版权:只推送版权已过期的作品(作者逝世超过 70 年)或引用公共领域作品

Version: 1.0.0 · Created: 2026-04-04

安全使用建议
This skill appears internally consistent and low-risk: review the scripts (they only generate prompts and read a local push-log), and if you enable scheduled pushes, run the printed openclaw cron commands yourself so you know when/where they will run. Note: the agent may use WebSearch or its internal model to source poem text — if you are concerned about copyrighted content, keep in mind the SKILL.md asks to prefer public domain English works and that the agent's behavior (not the scripts) determines sourcing. Finally, confirm where the agent will deliver pushed poems (chat channel, email, etc.) before enabling cron so you understand downstream recipients and privacy implications.
功能分析
Type: OpenClaw Skill Name: daily-poem Version: 1.0.1 The daily-poem skill bundle is a well-structured tool for delivering scheduled and on-demand poetry. The scripts (morning-push.js, query.js, weekly-digest.js) function as prompt generators that instruct the AI agent to source and format literary content. The code includes basic input sanitization in query.js to prevent shell injection and uses the platform's native cron functionality for scheduling without any evidence of data exfiltration, unauthorized execution, or malicious prompt injection.
能力评估
Purpose & Capability
Name/description (daily poem push and query) align with the included Node scripts and the SKILL.md. The scripts implement prompt-generation, local push-log reading, cron guidance, and enable/disable instructions — all coherent with a poetry push/query skill. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md and scripts limit actions to generating formatted prompts for poem content, reading/updating a local push-log (data/push-log.json), and printing cron commands. They do not call external endpoints, modify other skills, or read unrelated system files. The SKILL.md suggests the agent may use its own knowledge or WebSearch to source poems — that is a content-sourcing choice but remains in scope for a poetry skill.
Install Mechanism
There is no install spec; this is primarily an instruction-and-script package. No downloads, no package installation steps, and no extraction from arbitrary URLs are present.
Credentials
The skill requires no environment variables or external credentials. The only filesystem access is to its own data/push-log.json within the skill directory and to printing cron commands that reference the skill path — both proportional to the stated purpose.
Persistence & Privilege
always is false and the skill does not autonomously alter other skills or system-wide config. It prints openclaw cron commands but does not execute them itself; enabling pushes requires the user to run the provided cron commands, so the skill does not force persistent presence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install daily-poem
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /daily-poem 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
No user-facing changes in this release. - Version updated to 1.0.1 with no file or documentation changes detected.
v1.0.0
Initial release of Daily Poem (每日诗词): - Delivers a curated daily poem every morning, rotating between Chinese classical, modern Chinese, and English poetry. - Each poem features translation, background story, annotation, and recitation rhythm guide (with tonal or metrical markings). - Supports on-demand poem queries by mood, season, theme, author, or genre. - Sends a weekly digest collection of all poems every Sunday evening. - No external API required; poem selection is based on internal literary knowledge or WebSearch. - Includes scripts and cron job setup for automation and management.
元数据
Slug daily-poem
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Daily Poem 是什么?

Daily Poem delivers one carefully chosen poem every morning — rotating between Chinese classical poetry (唐诗宋词), modern Chinese verse, and English poems — com... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 118 次。

如何安装 Daily Poem?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install daily-poem」即可一键安装,无需额外配置。

Daily Poem 是免费的吗?

是的,Daily Poem 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Daily Poem 支持哪些平台?

Daily Poem 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Daily Poem?

由 Cosmos Fang(@cosmofang)开发并维护,当前版本 v1.0.1。

💬 留言讨论