Daily Quote / 每日金句
Generate a beautiful daily inspirational quote card with bilingual (Chinese + English) presentation.
Workflow
- 1. Get today's date — Use the current date to seed the quote selection.
- Search for a quote — Use
web_search to find an inspiring, thought-provoking quote. Search for quotes related to today's date, or a rotating theme (Monday=courage, Tuesday=wisdom, Wednesday=creativity, Thursday=perseverance, Friday=joy, Saturday=love, Sunday=reflection). Query example: "inspirational quote [theme] famous". - Select and translate — Pick ONE powerful quote. Provide both English original and Chinese translation. Include the author name and brief context (1 line).
- Generate the visual card — Create a single-file HTML artifact (saved to
/mnt/user-data/outputs/daily-quote.html) with:
Visual Design Requirements
Create a stunning, full-viewport quote card. Each day should feel different:
- - Layout: Centered quote with generous whitespace. Author below. Date at top-right corner.
- Typography: Use a distinctive serif or display font from Google Fonts (rotate between: Playfair Display, Cormorant Garamond, DM Serif Display, Libre Baskerville). Body text in a clean sans-serif.
- Background: Rotating aesthetic — use CSS gradients, subtle patterns, or mesh gradients. Avoid plain white. Examples: warm sunset gradient, deep ocean tones, forest green to black, golden hour warmth.
- Bilingual display: English quote prominent, Chinese translation below in slightly smaller size with a different weight.
- Micro-interactions: Subtle fade-in animation on load. Quote text should animate in with a gentle reveal.
- Ad-ready zone: Include a tasteful, empty
<div id="ad-slot-bottom" style="..."> at the bottom of the card (min-height 90px, centered, with a subtle dashed border in dev mode). This is the future ad placement area. - Footer: Small "Powered by ClawCode" text at the very bottom.
Content Tone
- - Prefer quotes from diverse sources: Eastern and Western philosophers, scientists, writers, leaders
- Avoid overly cliché quotes (no "be the change you wish to see" etc.)
- Each quote should genuinely make someone pause and think
Output
Save as /mnt/user-data/outputs/daily-quote.html and present to user.
推送管理
CODEBLOCK0
支持渠道:telegram / feishu / slack / INLINECODE8
Daily Quote / 每日金句
生成一张精美的每日励志金句卡片,采用双语(中文+英文)呈现。
工作流程
- 1. 获取今日日期 — 使用当前日期作为金句选取的种子。
- 搜索金句 — 使用web_search查找富有启发性和思考性的金句。搜索与今日日期相关的金句,或按轮换主题(周一=勇气、周二=智慧、周三=创造力、周四=毅力、周五=欢乐、周六=爱、周日=反思)进行搜索。查询示例:inspirational quote [主题] famous。
- 选择并翻译 — 挑选一句有力量的金句。提供英文原文和中文翻译。包含作者姓名和简短背景介绍(1行)。
- 生成视觉卡片 — 创建一个单文件HTML产物(保存至/mnt/user-data/outputs/daily-quote.html),包含以下内容:
视觉设计要求
创建一张令人惊艳的全屏金句卡片。每天应呈现不同风格:
- - 布局:居中显示金句,四周留有充足空白。作者信息位于下方。日期位于右上角。
- 排版:使用Google Fonts中独特的衬线或展示字体(轮换使用:Playfair Display、Cormorant Garamond、DM Serif Display、Libre Baskerville)。正文使用简洁的无衬线字体。
- 背景:轮换美学风格——使用CSS渐变、微妙图案或网格渐变。避免纯白色。示例:温暖日落渐变、深海色调、森林绿到黑色、黄金时刻的暖色调。
- 双语展示:英文金句突出显示,中文翻译位于下方,字号略小且使用不同字重。
- 微交互:加载时呈现微妙的淡入动画。金句文字以轻柔的揭示效果呈现。
- 广告预留区:在卡片底部包含一个雅致的空
(最小高度90px,居中,开发模式下带有微弱的虚线边框)。这是未来的广告位区域。
- 页脚:最底部显示小字Powered by ClawCode。
内容基调
- - 优先选择多元来源的金句:东西方哲学家、科学家、作家、领袖
- 避免过于陈词滥调的金句(不要成为你希望看到的改变等)
- 每句金句应能真正让人停下来思考
输出
保存为/mnt/user-data/outputs/daily-quote.html并呈现给用户。
推送管理
bash
开启每日推送(早晚各一次)
node scripts/push-toggle.js on
自定义时间和渠道
node scripts/push-toggle.js on --morning 08:00 --evening 20:00 --channel feishu
关闭推送
node scripts/push-toggle.js off
查看推送状态
node scripts/push-toggle.js status
支持渠道:telegram / feishu / slack / discord
标签
skill
ai