← Back to Skills Marketplace
cosmofang

Daily Poem

by Cosmos Fang · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
118
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install daily-poem
Description
Daily Poem delivers one carefully chosen poem every morning — rotating between Chinese classical poetry (唐诗宋词), modern Chinese verse, and English poems — com...
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install daily-poem
  3. After installation, invoke the skill by name or use /daily-poem
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug daily-poem
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Daily Poem?

Daily Poem delivers one carefully chosen poem every morning — rotating between Chinese classical poetry (唐诗宋词), modern Chinese verse, and English poems — com... It is an AI Agent Skill for Claude Code / OpenClaw, with 118 downloads so far.

How do I install Daily Poem?

Run "/install daily-poem" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Daily Poem free?

Yes, Daily Poem is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Daily Poem support?

Daily Poem is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Daily Poem?

It is built and maintained by Cosmos Fang (@cosmofang); the current version is v1.0.1.

💬 Comments