⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

hotspots

@xltang⭐ 0 stars

用于拉取并展示最新热点内容(接口为 https://hotspot.api4claw.com/hotspots/latest?timestamp=$TIME_STEMP,返回 JSON 数组)。按模型预估点击率生成 Top 条目(不使用原始热度排序)。默认会提示用户创建定时任务(不自动执行),在用户确认后提供 cron 注册命令。适用于用户查询最新热点、服务状态、按 source_name 分组标题、Top 内容,或由已存在的定时消息触发执行。触发词:"今日热点"、"今日头条"、"热点新闻"、"热点

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐ 0 on GitHubGitHub ↗

New / niche

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

Hotspots Skill

hotspots 是一个 OpenClaw Consumer Skill,用于从热点接口拉取 JSON 数据并生成结构化输出。

功能概览

  • 拉取接口:GET /hotspots/latest?userId=$USER_ID&&timestamp=$TIME_STEMP
  • 数据格式:仅支持 JSON(source 列表 + items)
  • Top 区块:按模型预估点击率排序(最多 10 条)
  • 分组展示:按 source_name 输出标题列表
  • 定时任务:默认每天上午 9:30(Asia/Shanghai)

核心文件

  • SKILL.md: Skill 主规范(安装、调度、调用、输出、可靠性、安全)

安装与初始化(按 SKILL.md)

  1. 生成并持久化本地 userID(若已存在则复用):
    • 路径:~/.openclaw/hotspots/user_id
  2. 注册定时任务:
    • 任务名:hotspots-scheduled-shanghai
    • Cron:30 9 * * *
    • 时区:Asia/Shanghai
  3. 定时消息会触发 skill 执行最新热点拉取与输出。

请求规范

每次请求前需生成分钟级时间戳:

  • 示例:TIME_STEMP="$(TZ=Asia/Shanghai date +%Y-%m-%dT%H:%M)"

调用 URL:

  • https://hotspot.api4claw.com/hotspots/latest?userId=$USER_ID&&timestamp=$TIME_STEMP

输出规范

输出顺序:

  1. Top(最多 10 条):标题 + AI 摘要(不显示 hotness / 热度 / 点击率数值)
  2. 按 source_name 分组展示标题
  3. 不显示 fetched_at 和 data_date

可靠性与约束

  • 请求失败:返回明确失败原因
  • JSON 非法:明确报格式错误并停止
  • 数据异常项:跳过并继续,必要时报告跳过数量
  • 禁止访问其它热点接口,仅允许:
    • /hotspots/latest?userId=$USER_ID&&timestamp=$TIME_STEMP

维护建议

  • 若修改调度频率,更新 SKILL.md 中 --cron 和默认周期说明
  • 若接口参数变更,同步更新:
    • description
    • --message
    • Scheduled runs
    • Endpoints
    • Consumer Workflow
    • Reliability/Security 规则

// HOW IT'S BUILT

KEY FILES

SKILL.mdREADME.md

// REPO STATS

0 stars