← 返回
未分类 中文

ZenQuote

Daily inspirational quotes from ZenQuotes.io. Get daily wisdom, random quotes, quote images. Supports automated daily delivery via cron scheduling.
每日灵感语录,源自ZenQuotes.io,提供每日智慧、随机名言、名言图片,支持通过 cron定时自动推送。
chrisluo5311
未分类 clawhub v1.0.7 1 版本 100000 Key: 无需
★ 0
Stars
📥 369
下载
💾 0
安装
1
版本
#inspiration#latest#quotes

概述

ZenQuote - Daily Inspirational Quotes

Overview

ZenQuote skill fetches inspirational quotes from ZenQuotes.io API and delivers them to users. All features use the free API tier.

Features

  • ✅ Daily quote (today)
  • ✅ Random quote (random)
  • ✅ Multiple quotes (quotes)
  • ✅ Quote images (image)
  • ✅ Automated daily delivery (setup)

API Limits: 5 requests per 30 seconds. Attribution required.

Dependencies

This skill requires the following system tools:

  • curl - For HTTP requests to ZenQuotes API
  • jq - For JSON parsing

These are usually pre-installed on most Linux/macOS systems.

Quick Start

Get Today's Quote

bash ~/.openclaw/skills/zenquote/scripts/zenquote.sh today

Get Random Quote

bash ~/.openclaw/skills/zenquote/scripts/zenquote.sh random

Setup Daily Morning Quote (9:00 AM)

bash ~/.openclaw/skills/zenquote/scripts/zenquote.sh setup <chat_id>

User Commands

  • /zenQuote or /zenQuote today - Today's inspirational quote
  • /zenQuote random - Random quote
  • /zenQuote quotes - Get 5 quotes
  • /zenQuote image - Get and send quote image
  • /zenQuote setup - Configure daily delivery (text or image)

Image Command Handling

When user requests /zenQuote image, execute:

bash ~/.openclaw/skills/zenquote/scripts/zenquote.sh image

The script will download the image and output:

{"image_path": "/tmp/zenquote_image.jpg", "caption": "Provided by ZenQuotes API https://zenquotes.io/"}

AI must then send the image using the message tool with the provided caption. No additional text should be added.

Daily Cron Setup

To automatically send a quote every morning at 9:00 AM:

Daily Text Quote (default)

bash ~/.openclaw/skills/zenquote/scripts/zenquote.sh setup <chat_id> text [account_id]

Daily Image Quote

bash ~/.openclaw/skills/zenquote/scripts/zenquote.sh setup <chat_id> image [account_id]

This creates a cron job that runs daily at 9:00 AM.

Examples

Natural Language Usage

  • "Give me today's quote"
  • "Show me a random inspirational quote"
  • "Send me the quote of the day"
  • "Setup daily quotes for me"

Command Examples

# Today's quote
bash ~/.openclaw/skills/zenquote/scripts/zenquote.sh today

# Random quote
bash ~/.openclaw/skills/zenquote/scripts/zenquote.sh random

# 3 quotes
bash ~/.openclaw/skills/zenquote/scripts/zenquote.sh quotes 3

# Get quote image URL
bash ~/.openclaw/skills/zenquote/scripts/zenquote.sh image

# Setup daily delivery
bash ~/.openclaw/skills/zenquote/scripts/zenquote.sh setup <chat_id> text

API Response Format

[
  {
    "q": "Quality means doing it right when no one is looking.",
    "a": "Henry Ford",
    "h": "<blockquote>\"Quality means doing it right when no one is looking.\" — <footer>Henry Ford</footer></blockquote>"
  }
]

Attribution (Required)

⚠️ When using the free API, you MUST include the following attribution:

> Inspirational quotes provided by ZenQuotes API

Markdown format:

Inspirational quotes provided by [ZenQuotes API](https://zenquotes.io/)

HTML format:

Inspirational quotes provided by <a href="https://zenquotes.io/" target="_blank">ZenQuotes API</a>

This skill automatically includes attribution in all outputs.

API Limits

FeatureLimit
----------------
Requests5 per 30 seconds
Endpointstoday, random, quotes, image

Installation

# Install from GitHub
git clone https://github.com/chrisluo5311/zenquote-skill.git

# Or install via OpenClaw
openclaw skills install zenquote

External API

This skill uses the ZenQuotes.io API:

  • Website: https://zenquotes.io/
  • API Docs: https://docs.zenquotes.io/

License

MIT

Author

Created for OpenClaw AI Assistant

版本历史

共 1 个版本

  • v1.0.7 当前
    2026-05-07 12:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,356 📥 318,119
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,051
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 711 📥 243,734