← 返回 Skills 市场
175
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install daily-history
功能描述
Today in history — 3–5 major events on this date with context and lasting impact. Bilingual EN/CN timeline card. Daily morning push.
使用说明 (SKILL.md)
Today in History / 历史上的今天
Generate a beautiful visual timeline of significant historical events that happened on today's date.
Workflow
- Get today's date — Determine the month and day.
- Search for events — Use
web_searchto find 5-6 notable events that happened on this date across different centuries and categories. Query:"on this day [month] [day] history events". Try to cover: science/tech, politics, culture, sports, and notable births/deaths. - Curate and translate — Select the 5 most interesting/diverse events. Write each as a concise 1-2 sentence description in both English and Chinese.
- Generate the visual — Create a single-file HTML artifact.
Visual Design Requirements
Create a vertical timeline layout, full-viewport:
- Layout: Vertical timeline with alternating left-right event cards. Timeline line runs down the center. Year markers on the timeline.
- Typography: Use a distinguished font pair — a bold condensed display font for years (e.g., Oswald, Bebas Neue) and an elegant body font for descriptions (e.g., Source Serif Pro, Lora).
- Color scheme: Deep, rich palette — think aged paper tones, or a modern editorial look with dark backgrounds and gold/amber accents. Rotate themes.
- Event cards: Each card has: Year (large), Event title (bold), Description (EN + CN), and a category icon (emoji: 🔬 science, 🏛️ politics, 🎨 culture, ⚽ sports, 👤 people).
- Animation: Cards should fade and slide in on load with staggered delays. Timeline line draws itself downward.
- Header: "历史上的今天 / Today in History" with today's full date (e.g., "April 2 / 4月2日").
- Ad-ready zone:
\x3Cdiv id="ad-slot-middle">between 3rd and 4th event (min-height 90px, centered).\x3Cdiv id="ad-slot-bottom">at page bottom. - Footer: "Powered by ClawCode" at bottom.
Content Guidelines
- Mix different centuries — don't cluster in one era
- Include at least one event relevant to China or Asia
- Include at least one science/technology event
- Keep descriptions concise but vivid — make history feel alive
Output
Save as /mnt/user-data/outputs/daily-history.html and present to user.
推送管理
# 开启每日推送(早晚各一次)
node scripts/push-toggle.js on \x3CuserId>
# 自定义时间和渠道
node scripts/push-toggle.js on \x3CuserId> --morning 08:00 --evening 20:00 --channel feishu
# 关闭推送
node scripts/push-toggle.js off \x3CuserId>
# 查看推送状态
node scripts/push-toggle.js status \x3CuserId>
支持渠道:telegram / feishu / slack / discord
安全使用建议
This skill appears coherent: it generates a bilingual HTML timeline and provides small Node scripts to enable/disable scheduled morning/evening pushes. Before installing, be aware that: (1) the agent will perform web searches to gather events — verify source quality and watch for incorrect or biased summaries; (2) enabling pushes will create local files under data/users/<userId>.json and will request the OpenClaw scheduler (via the special __OPENCLAW_CRON_ADD__ lines) to run the local push scripts on the specified channels (telegram/feishu/slack/discord); (3) the generated HTML includes ad slot placeholders and a required footer — if you do not want ads or branding, modify the SKILL.md/templates accordingly. No credentials or external downloads are required. If you need higher assurance, inspect or run the scripts in a sandboxed environment and confirm how your OpenClaw instance handles the scheduler control tokens.
功能分析
Type: OpenClaw Skill
Name: daily-history
Version: 1.0.2
The skill provides a daily historical event timeline generator with automated notification features. The included Node.js scripts (scripts/push-toggle.js, scripts/morning-push.js) implement basic security practices, such as path sanitization and ID validation, to prevent path traversal when managing user configuration files. The use of platform-specific cron hooks (__OPENCLAW_CRON_ADD__) is consistent with the stated purpose of scheduling daily updates, and no evidence of malicious intent, data exfiltration, or unauthorized execution was found.
能力评估
Purpose & Capability
Name/description match the SKILL.md and the three scripts: the SKILL.md describes generating a bilingual timeline HTML and the scripts implement morning/evening push message templates and local push scheduling. There are no unrelated environment variables or external binaries requested.
Instruction Scope
SKILL.md instructs the agent to use web_search, curate/translate content, and save a single-file HTML to /mnt/user-data/outputs/daily-history.html — all consistent with the stated purpose. Note: the HTML template includes two ad slots (<div id="ad-slot-middle"> and ad-slot-bottom) and a required footer text; web_search results are untrusted content by nature, so the agent should sanitize/verify sources when summarizing.
Install Mechanism
No install spec is provided (instruction-only), and included code files are small local Node scripts. There are no downloads from arbitrary URLs or archive extraction steps.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The scripts read and write local per-user JSON under data/users (with filename sanitization) but do not request or exfiltrate secrets.
Persistence & Privilege
always is false. The push-toggle script writes per-user state to a local data/users directory and emits scheduler-control lines (__OPENCLAW_CRON_ADD__/__OPENCLAW_CRON_RM__) to integrate with the platform scheduler — this matches the declared push functionality and does not modify other skills or system-wide configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install daily-history - 安装完成后,直接呼叫该 Skill 的名称或使用
/daily-history触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Shortened and clarified the skill description for improved readability.
- Updated timeline card requirements: now focuses on 3–5 major historical events per day with added context and long-term impact.
- Emphasized fully bilingual (EN/CN) event descriptions and visual presentation.
- Highlighted daily morning push functionality in the description.
- Added a new README.md file for better documentation.
v1.0.1
Daily push notification support added.
- Added scripts for managing morning and evening push notifications.
- Introduced push-toggle.js to enable/disable and check status of daily pushes per user.
- Push management supports custom time and channel (telegram, feishu, slack, discord).
- Updated documentation with usage instructions for push control.
v1.0.0
- Initial release of "daily-history": generates a visual timeline of major historical events from this day, in both English and Chinese.
- Produces a stylish vertical HTML timeline including 5 diverse events, spanning different categories and centuries.
- Features alternating event cards with year markers, bilingual descriptions, and emoji icons for category.
- Responsive design with elegant fonts, rich color themes, and smooth animated effects.
- Includes dedicated "ad slot" zones and a branded footer.
元数据
常见问题
Daily History 是什么?
Today in history — 3–5 major events on this date with context and lasting impact. Bilingual EN/CN timeline card. Daily morning push. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 175 次。
如何安装 Daily History?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install daily-history」即可一键安装,无需额外配置。
Daily History 是免费的吗?
是的,Daily History 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Daily History 支持哪些平台?
Daily History 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Daily History?
由 jiajiaoy(@jiajiaoy)开发并维护,当前版本 v1.0.2。
推荐 Skills