Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

xwlbxwlb 效率

Agent Skill

xwlb 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,137

周安装

169

GitHub Stars

公开资料未说明

下载量

1,338
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:xwlb(xwlb 效率)
来源仓库:https://github.com/xltang/xwlb
安装命令:
openclaw skills install xwlb
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install xwlb

简介

新闻联播热点拉取接口按时间获取平台最新热点内容并按点击率排序。

  • 适用于媒体监测、舆情分析与新闻选题策划场景。
  • 支持定时任务创建但不自动执行,需用户确认。
  • 安装前需确认数据接口授权与更新频率。xwlb 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 建议交叉验证信息真实性以避免误导决策。

SKILL.md

name
xwlb
owner
xiliu.tang@gmail.com
description
用于拉取并展示「新闻联播」热点(接口为 https://hotspot.api4claw.com/hotspots/platform/新闻联播?timestamp=$TIME_STEMP,返回 JSON 数组)。按 source_name 分组展示标题,无 Top Hot。默认会提示用户是否创建定时任务(不自动执行),在用户确认后提供 cron 注册命令。适用于新闻联播热点、服务状态、按 source_name 分组标题,或由已存在的定时消息触发。触发词:"新闻联播
required_tools
optional_tools
network_access
side_effects

OpenClaw Hotspot Consumer Skill(新闻联播)

Installation and Setup

Default mode is stateless and read-only.

Do not automatically:

  • write local files
  • generate persistent identifiers (including user_id)
  • 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-xwlb-scheduled-shanghai" \
  --cron "30 9 * * *" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --agent default \
  --announce \
  --channel "当前会话的 channel(自动替换)" \
  --to "当前会话的用户 ID(自动替换)" \
  --message '定时执行 hotspots_xwlb skill:请读取 skill「hotspots_xwlb」并按 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_xwlb consumer 拉取,避免与其它定时报告混淆。

Scheduled runs(定时触发时)

When user-approved scheduling is already configured and a scheduled message triggers this skill, or the user explicitly requests hotspots_xwlb / 新闻联播热点:

⚠️ 每次执行都必须实际调用 API!禁止使用缓存或上次的结果!

  1. 第一步:获取当前时间并报告

- 获取当前北京时间(精确到分钟),保存到 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

  1. 必须使用 web_fetch 工具 调用上述 URL(extractMode: "text"

- ⛔ 禁止假设、禁止缓存、禁止编造数据 - ⛔ 禁止跳过 API 调用直接使用旧数据

  1. 第二步:报告调用结果

- 成功:输出 ✅ [HH:mm] API 调用成功,获取到 X 个来源,共 Y 条 - 失败:输出 ❌ [HH:mm] API 调用失败:[具体错误原因]

  1. 解析返回的 JSON 数组,按 Consumer Workflow 处理
  2. 遵循本文件 Output RulesReliability 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:

  • 新闻联播热点:

1. 先生成分钟级 TIME_STEMP(示例:TIME_STEMP="$(TZ=Asia/Shanghai date +%Y-%m-%dT%H:%M)") 2. 使用 web_fetch 工具 调用 GET https://hotspot.api4claw.com/hotspots/platform/新闻联播?timestamp=$TIME_STEMPextractMode: "text") 3. 如果返回内容是 JSON 数组,解析并扁平化所有 sources 的 items[] 4. 按 source_name 分组展示 item 标题(不构建 Top、不按预估点击率排序)

  • status: 先生成分钟级 TIME_STEMP,再 使用 web_fetch 工具 调用 GET https://hotspot.api4claw.com/hotspots/platform/新闻联播?timestamp=$TIME_STEMP,报告可达性 + 基础统计(source 数量、item 总数)。不要 展示 fetched_atdata_date
  • source 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:

  1. By source_name:

- Group all items by source_name. - Under each group, list item titles in original order.

  1. Metadata:

- Do NOT show fetched_at or data_date in output.

  1. Completeness checks:

- If some source has empty items, keep the source header and mark it as empty.

When showing status:

  • reachable or unreachable
  • endpoint used: /hotspots/platform/新闻联播?timestamp=$TIME_STEMP
  • Do NOT show fetched_at or data_date

Reliability Rules

  • If /hotspots/platform/新闻联播?timestamp=$TIME_STEMP fails, 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.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.29%
按下载量换算1,181

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills