Default mode is stateless and read-only.
Do not automatically:
user_id / userId persistence)By default, proactively suggest creating a cron job for daily updates. Do not execute commands automatically; provide manual commands and ask for confirmation before execution.
Default prompt template:
建议开启定时推送:每天 09:30 (Asia/Shanghai) 自动拉取每日热点。要我为你生成并执行 cron 创建命令吗?After installation (or first enable), proactively show available triggers to the user:
你可以直接输入以下触发词获取热点:每日热点、热点、微博热点、新闻联播、知乎热点、腾讯早报。Optional manual setup example:
openclaw cron add \
--name "hotspots-tophot-scheduled-shanghai" \
--cron "30 9 * * *" \
--tz "Asia/Shanghai" \
--session isolated \
--agent default \
--announce \
--channel "当前会话的 channel(自动替换)" \
--to "当前会话的用户 ID(自动替换)" \
--message '定时执行 hotspots_tophot skill:请读取 skill「hotspots_tophot」并按 Consumer Workflow 执行「每日热点」——先生成分钟级 TIME_STEMP,再请求 GET https://hotspot.api4claw.com/hotspots/platform/每日热点?timestamp=$TIME_STEMP;按 JSON 解析并直接展示接口内容(按 source_name 分组标题)。'
If openclaw is unavailable, report setup failure and continue in non-scheduled mode.
SKILL.md / 规则包)。若定时环境无本 skill,须在 --message 中内联完整 URL 与 Output Rules 要点。--cron / --tz 时保持 --message 明确为 hotspots_tophot consumer 拉取,避免与其它定时报告混淆。When user-approved scheduling is already configured and a scheduled message triggers this skill, or the user explicitly requests hotspots_tophot / 每日热点:
⚠️ 每次执行都必须实际调用 API!禁止使用缓存或上次的结果!
TIME_STEMP(示例:TIME_STEMP="$(TZ=Asia/Shanghai date +%Y-%m-%dT%H:%M)")📡 [HH:mm] 正在调用 API: GET https://hotspot.api4claw.com/hotspots/platform/每日热点?timestamp=$TIME_STEMPweb_fetch 工具 调用上述 URL(extractMode: "text")✅ [HH:mm] API 调用成功,获取到 X 个来源,共 Y 条热点❌ [HH:mm] API 调用失败:[具体错误原因]🔍 验证要求: 每次输出的时间戳必须是当前实际时间,如果时间戳与预期不符或重复,说明没有实际调用 API。
This skill is only for Consumer behavior.
Use this skill when users ask to:
/hotspots/platform/每日热点?timestamp=$TIME_STEMP (primary: JSON)source_nameDo not include Publisher generation logic or Server upload/storage internals in responses.
Base URL:
https://hotspot.api4claw.comSupported endpoints:
GET /hotspots/platform/每日热点?timestamp=$TIME_STEMPGET /hotspots/platform/微博?timestamp=$TIME_STEMPGET /hotspots/platform/新闻联播?timestamp=$TIME_STEMPGET /hotspots/platform/知乎?timestamp=$TIME_STEMPGET /hotspots/platform/腾讯早报?timestamp=$TIME_STEMP调用规则:使用 web_fetch 工具(extractMode: "text")请求对应 URL。调用前必须先生成分钟级 TIME_STEMP。返回 JSON 数组时,每个元素是一个 source block(包含 source, source_name, fetched_at, items[]),每个 item 通常包含 title, content, link, hotness。
For each user intent:
每日热点:TIME_STEMP(示例:TIME_STEMP="$(TZ=Asia/Shanghai date +%Y-%m-%dT%H:%M)")web_fetch 工具 调用 GET https://hotspot.api4claw.com/hotspots/platform/每日热点?timestamp=$TIME_STEMP(extractMode: "text")items[]source_name 分组展示 item 标题微博热点:TIME_STEMPweb_fetch 工具 调用 GET https://hotspot.api4claw.com/hotspots/platform/微博?timestamp=$TIME_STEMPsource_name 分组展示标题新闻联播:TIME_STEMPweb_fetch 工具 调用 GET https://hotspot.api4claw.com/hotspots/platform/新闻联播?timestamp=$TIME_STEMPsource_name 分组展示标题知乎热点:TIME_STEMPweb_fetch 工具 调用 GET https://hotspot.api4claw.com/hotspots/platform/知乎?timestamp=$TIME_STEMPsource_name 分组展示标题腾讯早报:TIME_STEMPweb_fetch 工具 调用 GET https://hotspot.api4claw.com/hotspots/platform/腾讯早报?timestamp=$TIME_STEMPsource_name 分组展示标题status: 先生成分钟级 TIME_STEMP,再 使用 web_fetch 工具 调用 GET https://hotspot.api4claw.com/hotspots/platform/每日热点?timestamp=$TIME_STEMP,报告可达性 + 基础统计(source 数量、item 总数)。不要 展示 fetched_at 或 data_datesource filter: 按 source/source_name 过滤展示Required:
Fixed:
HOTSPOT_BASE_URL: https://hotspot.api4claw.com (constant, not configurable).Recommended defaults:
6000 msWhen showing hotspot content, use this order:
source_name.fetched_at or data_date in output.items, keep the source header and mark it as empty.When showing status:
/hotspots/platform/每日热点?timestamp=$TIME_STEMPfetched_at or data_date/hotspots/platform/每日热点?timestamp=$TIME_STEMP fails, return explicit failure reason./hotspots/platform/每日热点?timestamp=$TIME_STEMP/hotspots/platform/微博?timestamp=$TIME_STEMP/hotspots/platform/新闻联播?timestamp=$TIME_STEMP/hotspots/platform/知乎?timestamp=$TIME_STEMP/hotspots/platform/腾讯早报?timestamp=$TIME_STEMP共 1 个版本