← Back to Skills Marketplace
chenhui7au

Claws Daily

by Chenhui7au · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
90
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install claws-daily
Description
小龙虾日报,将你最关心的资讯主动送到你眼前。
README (SKILL.md)

When to Use

Use this skill when the user asks to:

  • 生成每天两次(09:00 / 18:00,Asia/Shanghai)的资讯简报
  • 基于公开热榜 + GET /api/v2/news/search 输出双分区 Brief
  • 通过 news_label 做关注内容检索并生成结构化摘要

Reference

File Purpose
{baseDir}/daily_example.md 输出格式与示例(Markdown Brief)
{baseDir}/install.md 安装、初始化、环境变量与 Heartbeat 配置
{baseDir}/metadata.json 技能元数据与环境变量参数 定义(如 SHENME_DOMAINPROFILEINTEREST_LABELSLANGUAGE

APIs

  • https://${SHENME_DOMAIN}

News Search

  • Method: GET
  • Path: /api/v2/news/search
  • Full URL: https://${SHENME_DOMAIN}/api/v2/news/search

Expected Input

Field Type Required Description
label string Conditional closed-domain 参数;可选值仅限:财经科技教育社会娱乐港澳台国际关系
query string Conditional open-domain 参数;可传任意字符串,后端通过语义检索返回结果。

规则:labelquery 二选一,至少填写一个;两者同时传入时,后端优先按 query 语义检索。

Workflow

  1. 读取 {baseDir}/metadata.json,检查必要参数是否缺失或无效:SHENME_DOMAINSHENME_FETCH_LIMITPROFILEINTEREST_LABELSLANGUAGE
    • 若存在缺失或无效,必须先按 {baseDir}/install.md 执行初始化流程。
    • 初始化未完成时,不进入简报生成流程。
  2. 判定当前批次(固定 Asia/Shanghai):
    • 09:00 批次:时间窗 [前一天 18:00, 当天 09:00)
    • 18:00 批次:时间窗 [当天 09:00, 当天 18:00)
  3. 从公开热榜抓取候选热点,生成 📌 重大事件(建议 2-3 条);每个事件仅保留“事件发展趋势关键点”,最多 3 条。
  4. 从可选标签中选择 1-3 个 news_label,按标签分别调用 news/searchlabel=${NEWS_LABEL}limit=${SHENME_FETCH_LIMIT})拉取候选资讯。
  5. 过滤候选:仅保留 publish_time 落在当前批次时间窗内的资讯。
  6. 合并去重:按 news_id 去重;同一 news_id 多次出现时保留 ingest_time 更新的一条。
  7. 兴趣度筛选:基于 ${PROFILE} 识别用户关心内容,并结合“相关性、信息增量、事件影响度”排序;先按兴趣度降序,再按 publish_time 倒序。
  8. 确认输出语言:按 ${LANGUAGE} 生成日报(zh-CN 输出中文,en-US 输出英文)。
  9. 生成 Brief,严格遵循 {baseDir}/daily_example.md
    • 固定 section 顺序:标题 -> 📌 重大事件 -> 📌 为你关注
    • 📌 为你关注 初次输出最多 5 条。

Rules

Parameter Rules

  • news_label 可选值仅限:财经科技教育社会娱乐港澳台国际关系
  • 允许多标签检索;多标签场景必须先分别检索,再合并去重。
  • SHENME_FETCH_LIMIT 建议大于等于 5
  • SHENME_FETCH_LIMIT \x3C 5 时,按实际可取数量输出并提示候选不足。
  • PROFILE 用于定义用户偏好,兴趣筛选必须基于 ${PROFILE} 执行。
  • LANGUAGE 用于控制日报输出语言,建议值:zh-CNen-US
  • labelquery 二选一,至少填写一个。
  • label 为 closed-domain,仅允许预定义标签值。
  • query 为 open-domain,可传任意字符串,后端通过语义检索返回结果;若与 label 同时传入,优先按 query 检索。

Format Rules

  • 固定顺序:标题 -> 📌 重大事件 -> 📌 为你关注
  • 📌 重大事件:输出 2-3 条事件,每条必须为“编号 + 事件标题 + 1-3 条趋势关键点”。
  • 📌 为你关注:先输出“已选标签”行,再输出编号资讯;每条资讯为“标题 + 1-2 句摘要”。
  • 📌 为你关注 初次输出最多 5 条,禁止超过 5 条。
  • 最终日报语言必须与 LANGUAGE 一致(zh-CN 中文,en-US 英文)。
  • 禁止新增未定义 section(如“总结”“延伸阅读”“参考链接”)。
  • 禁止把模板字段名原样输出(如 ${title});必须替换为真实内容。

Failure Fallback Rules

  • 接口调用失败(网络或限流):每次请求最多重试 3 次。
  • 热榜抓取失败:📌 重大事件 输出“重大事件暂缺(热榜抓取失败)”,其余部分继续执行。
  • 热榜信息不足:允许减少事件条目,但已输出事件仍需保证趋势关键点不超过 3 条,并标记“信息不完整”。
  • 窗口内无命中资讯:📌 为你关注 输出“该时段无命中资讯”,不编造内容。
  • 选定标签均无命中:允许更换为其他可选标签重试一次。
  • 字段缺失(无 news_idtitlepublish_time):剔除该条。

Forbidden Output

  • 编造不存在的新闻或字段。
  • 输出未经验证的“已推送成功”结论。
  • 将“重大事件”误写为来自内部 API 或无来源信息。
Usage Guidance
Before installing, be aware that: - The SKILL.md expects and will read/write {baseDir}/metadata.json and export those values into the agent session, but the registry metadata did not declare these environment/config requirements — ask the publisher to clarify required env vars and file access. - The skill will make unauthenticated HTTP calls to the domain in metadata.json (xiaoxia.weishiwujing.com by default). Verify this service/trustworthiness and whether any network access or sensitive data might be sent there. - The skill assumes filesystem access under $HOME/.openclaw/workspace/skills/claws_daily and will create/verify a Heartbeat schedule (persistent behavior). If you want to limit risk, run it in a sandboxed environment or restrict its file/network permissions. - PROFILE may include personal preference text; avoid putting secrets or sensitive identifiers there. Confirm how PROFILE is stored and who can read metadata.json. - Ask the author to update registry metadata to declare required env vars/config paths and to document exactly how Heartbeat registration works and which platform APIs it uses. If you cannot verify those, treat this skill as higher-risk and prefer a reviewed or better-documented alternative.
Capability Analysis
Type: OpenClaw Skill Name: claws-daily Version: 1.0.1 The skill requires outbound network access to a specific third-party domain (xiaoxia.weishiwujing.com) and performs local file system writes to metadata.json for configuration persistence. While these actions are aligned with the stated purpose of a daily news aggregator, the combination of shell-based installation logic (install.md), automated scheduling (Heartbeat), and external API dependencies constitutes a high-risk profile that warrants caution in an agentic environment.
Capability Assessment
Purpose & Capability
The skill claims to be a daily-news briefer, which matches its workflow and API calls; however the registry metadata lists no required environment variables or config paths while the SKILL.md and install.md clearly expect and manage env params (SHENME_DOMAIN, SHENME_FETCH_LIMIT, PROFILE, INTEREST_LABELS, LANGUAGE) and a local skill directory. The omission in declared requirements is an inconsistency.
Instruction Scope
Runtime instructions tell the agent to read and write {baseDir}/metadata.json, export those values into the session environment, check/write files under $HOME/.openclaw/workspace/skills/claws_daily, and create/maintain an OpenClaw Heartbeat schedule. These file- and scheduling-related actions go beyond a purely stateless 'generate text' skill and are not reflected in the registry metadata.
Install Mechanism
No install spec or remote downloads are present (instruction-only). There is no code being written by the skill installer itself and no external archive downloads, so install-time code-execution risk is low.
Credentials
The skill does not request secrets, but it expects environment/config parameters (including PROFILE which may contain personal preference text) and will export them into the session. The registry listed no required env vars — this mismatch reduces transparency. The default domain (xiaoxia.weishiwujing.com) is embedded in metadata.json and will be contacted; no authentication is declared.
Persistence & Privilege
always:false (good). The skill instructs creating a recurring Heartbeat (two scheduled triggers per day) and writing metadata.json back to disk. Scheduling and local file write are persistent behaviors but do not request elevated platform-wide privileges in the manifest; confirm where Heartbeat registration is performed and what platform permissions are needed.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install claws-daily
  3. After installation, invoke the skill by name or use /claws-daily
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Version 1.0.1 of claws-daily - Bumped version number for release; no changes to files or functionality. - All workflows, rules, and API usage remain unchanged from the previous version.
v1.0.0
Initial release of claws-daily. - Generates twice-daily news briefs at 09:00 and 18:00 (Asia/Shanghai). - Combines trending topics from public hotlists and personalized news via API with dual-section output: “重大事件” and “为你关注”. - Filters, deduplicates, and ranks news based on user interests, relevance, and impact. - Output follows strict structure/format rules and supports both zh-CN (Chinese) and en-US (English). - Robust error handling: fallback on hotlist/API failures, no content fabrication, strict field validation.
Metadata
Slug claws-daily
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Claws Daily?

小龙虾日报,将你最关心的资讯主动送到你眼前。 It is an AI Agent Skill for Claude Code / OpenClaw, with 90 downloads so far.

How do I install Claws Daily?

Run "/install claws-daily" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Claws Daily free?

Yes, Claws Daily is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Claws Daily support?

Claws Daily is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Claws Daily?

It is built and maintained by Chenhui7au (@chenhui7au); the current version is v1.0.1.

💬 Comments