360 Secure SkillHub
360 安全技能中心

Daily Quote

核心功能:按日期或周主题筛选多元领域优质名言,生成含作者背景、中英双语的精美HTML卡片,支持飞书、Telegram等多渠道早晚定时推送。典型场景:早安励志、日常反思、社交分享。无需手动输入,自动生成,输出为HTML卡片或推送消息。

jiajiaoy
jiajiaoy
热度 55.37
最近更新 2026-05-11 17:39:22
分类:创作依赖:联网浏览搜索 / 读写文件 / 内部调用大模型 / 代码执行应用场景:文案创作 / 社交媒体 / 翻译 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add daily-quote
Metadata
name
daily-quote
description
Daily curated quote from philosophers, leaders, and thinkers — with author context and why it resonates today. Bilingual EN/CN shareable visual card.
keywords
["每日金句","今日金句","名言","励志","鸡汤","早安语录","每日名言","人生格言","daily quote","quote of the day","motivational quote","morning motivation","inspirational quote","wisdom","daily inspiration"]
metadata
{"openclaw":{"runtime":{"node":">=18"}}}

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.
  2. 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".
  3. Select and translate — Pick ONE powerful quote. Provide both English original and Chinese translation. Include the author name and brief context (1 line).
  4. 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.


推送管理

# 开启每日推送(早晚各一次)
node scripts/push-toggle.js on <userId>

# 自定义时间和渠道
node scripts/push-toggle.js on <userId> --morning 08:00 --evening 20:00 --channel feishu

# 关闭推送
node scripts/push-toggle.js off <userId>

# 查看推送状态
node scripts/push-toggle.js status <userId>

支持渠道:telegram / feishu / slack / discord