Skill1 starsChanged 7 months agoMITView on GitHub
用于拉取并展示微博热点内容(接口为 https://hotspot.api4claw.com/hotspots/platform/微博?timestamp=$TIME_STEMP,返回 JSON 数组)。默认会提示用户创建定时任务(不自动执行),在用户确认后提供 cron 注册命令。适用于用户查询微博热点、服务状态、按 source_name 分组标题,或由已存在的定时消息触发执行。触发词:"微博"、"微博热点"。
2 other projects use a version of this.
Adopted by
Most recently taken up by
- AceDataCloud/Skillstheir own version, first seen Oct 6, 2026
- lsongdev/skillstheir own version, first seen Sep 10, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- AceDataCloud/Skills★ 17same name
- lsongdev/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 12 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Default mode is stateless and read-only.
- Distinctive: line 25
create/update cron jobs
- Very specific: line 48
If openclaw is unavailable, report setup failure and continue in non-scheduled mode.
- Very specific: line 57
When user-approved scheduling is already configured and a scheduled message triggers this skill, or the user explicitly requests …
- Distinctive: line 82
Use this skill when users ask to:
- Very specific: line 84
read 微博 hotspot data from /hotspots/platform/微博?timestamp=$TIME_STEMP (primary: JSON)
- Distinctive: line 86
check hotspot service status
- Distinctive: line 88
Do not include Publisher generation logic or Server upload/storage internals in responses.
- Distinctive: line 123
No user identifier is required.
- Distinctive: line 136
When showing hotspot content, use this order:
- Very specific: line 142
Do NOT show fetched_at or data_date in output.
- Very specific: line 144
If some source has empty items, keep the source header and mark it as empty.
- Very specific: line 150
Do NOT show fetched_at or data_date
- Very specific: line 154
If /hotspots/platform/微博?timestamp=$TIME_STEMP fails, return explicit failure reason.
- Distinctive: line 155
Do not fabricate content when server is unreachable.
- Distinctive: line 157
If response is not valid JSON, report format mismatch explicitly and stop.
- Distinctive: line 159
Keep responses concise and user-facing.
- Distinctive: line 163
Do not expose tokens or secret headers in output.
- Very specific: line 164
Do not call any hotspot endpoint except /hotspots/platform/微博?timestamp=$TIME_STEMP.
- Distinctive: line 165
Do not persist identifiers or create background tasks unless the user explicitly requests and approves it.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OpenClaw Hotspot Consumer Skill
Installation and Setup
Default mode is stateless and read-only.
Do not automatically:
- write local files
- generate persistent identifiers
- create/update cron jobs
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 创建命令吗?
Optional manual setup example:
openclaw cron add \
--name "hotspots-weibo-scheduled-shanghai" \
--cron "30 9 * * *" \
--tz "Asia/Shanghai" \
--session isolated \
--agent default \
--announce \
--channel "当前会话的 channel(自动替换)" \
--to "当前会话的用户 ID(自动替换)" \
--message '定时执行 hotspots_weibo skill:请读取 skill「hotspots_weibo」并按 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.
Prerequisites for scheduled runs
- 接收 cron 的 OpenClaw agent 须能加载本 skill(同一项目中的
SKILL.md/ 规则包)。若定时环境无本 skill,须在--message中内联完整 URL 与 Output Rules 要点。 - 修改
--cron/--tz时保持--message明确为 hotspots_weibo consumer 拉取,避免与其它定时报告混淆。
Scheduled runs(定时触发时)
When user-approved scheduling is already configured and a scheduled message triggers this skill, or the user explicitly requests hotspots_weibo / 微博热点:
⚠️ 每次执行都必须实际调用 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_STEMP
- 获取当前北京时间(精确到分钟),保存到
- 必须使用
web_fetch工具 调用上述 URL(extractMode: "text")- ⛔ 禁止假设、禁止缓存、禁止编造数据
- ⛔ 禁止跳过 API 调用直接使用旧数据
- 第二步:报告调用结果
- 成功:输出
✅ [HH:mm] API 调用成功,获取到 X 个来源,共 Y 条热点 - 失败:输出
❌ [HH:mm] API 调用失败:[具体错误原因]
- 成功:输出
- 解析返回的 JSON 数组,按 Consumer Workflow 处理
- 遵循本文件 Output Rules 与 Reliability Rules
🔍 验证要求: 每次输出的时间戳必须是当前实际时间,如果时间戳与预期不符或重复,说明没有实际调用 API。
Scope
This skill is only for Consumer behavior.
Use this skill when users ask to:
- read 微博 hotspot data from
/hotspots/platform/微博?timestamp=$TIME_STEMP(primary: JSON) - view titles grouped by
source_name - check hotspot service status
Do not include Publisher generation logic or Server upload/storage internals in responses.
Endpoints
Base URL:
https://hotspot.api4claw.com
Only endpoint:
GET /hotspots/platform/微博?timestamp=$TIME_STEMP: 使用web_fetch工具(extractMode: "text")获取微博热点 JSON 数据。调用前必须先生成分钟级TIME_STEMP。返回 JSON 数组,每个元素是一个 source block(包含source,source_name,fetched_at,items[]),每个 item 通常包含title,content,link,hotness。
Consumer Workflow
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") - 如果返回内容是 JSON 数组,解析并扁平化所有 sources 的
items[] - 按
source_name分组展示 item 标题
- 先生成分钟级
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过滤展示
JSON grouping targets (if present):
xwlb/新闻联播weibo/微博zhihu/知乎qqMorningPost/腾讯早报
Configuration
Required:
- No user identifier is required.
Fixed:
HOTSPOT_BASE_URL:https://hotspot.api4claw.com(constant, not configurable).
Recommended defaults:
- request timeout around
6000 ms - clear error text for timeout/network/HTTP failures
Output Rules
When showing hotspot content, use this order:
- By source_name:
- Group all items by
source_name. - Under each group, list item titles in original order.
- Group all items by
- Metadata:
- Do NOT show
fetched_atordata_datein output.
- Do NOT show
- Completeness checks:
- If some source has empty
items, keep the source header and mark it as empty.
- If some source has empty
When showing status:
- reachable or unreachable
- endpoint used:
/hotspots/platform/微博?timestamp=$TIME_STEMP - Do NOT show
fetched_atordata_date
Reliability Rules
- If
/hotspots/platform/微博?timestamp=$TIME_STEMPfails, return explicit failure reason. - Do not fabricate content when server is unreachable.
- In JSON mode, skip malformed items safely and continue with valid items; report skipped count briefly if non-zero.
- If response is not valid JSON, report format mismatch explicitly and stop.
- Return explicit degraded reason and a next action.
- Keep responses concise and user-facing.
Security Rules
- Do not expose tokens or secret headers in output.
- Do not call any hotspot endpoint except
/hotspots/platform/微博?timestamp=$TIME_STEMP. - Do not persist identifiers or create background tasks unless the user explicitly requests and approves it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

