← 返回 Skills 市场
Claws Daily
作者
Chenhui7au
· GitHub ↗
· v1.0.1
· MIT-0
90
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install claws-daily
功能描述
小龙虾日报,将你最关心的资讯主动送到你眼前。
使用说明 (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_DOMAIN、PROFILE、INTEREST_LABELS、LANGUAGE) |
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 参数;可传任意字符串,后端通过语义检索返回结果。 |
规则:label 和 query 二选一,至少填写一个;两者同时传入时,后端优先按 query 语义检索。
Workflow
- 读取
{baseDir}/metadata.json,检查必要参数是否缺失或无效:SHENME_DOMAIN、SHENME_FETCH_LIMIT、PROFILE、INTEREST_LABELS、LANGUAGE。- 若存在缺失或无效,必须先按
{baseDir}/install.md执行初始化流程。 - 初始化未完成时,不进入简报生成流程。
- 若存在缺失或无效,必须先按
- 判定当前批次(固定
Asia/Shanghai):- 09:00 批次:时间窗
[前一天 18:00, 当天 09:00)。 - 18:00 批次:时间窗
[当天 09:00, 当天 18:00)。
- 09:00 批次:时间窗
- 从公开热榜抓取候选热点,生成
📌 重大事件(建议 2-3 条);每个事件仅保留“事件发展趋势关键点”,最多 3 条。 - 从可选标签中选择 1-3 个
news_label,按标签分别调用news/search(label=${NEWS_LABEL},limit=${SHENME_FETCH_LIMIT})拉取候选资讯。 - 过滤候选:仅保留
publish_time落在当前批次时间窗内的资讯。 - 合并去重:按
news_id去重;同一news_id多次出现时保留ingest_time更新的一条。 - 兴趣度筛选:基于
${PROFILE}识别用户关心内容,并结合“相关性、信息增量、事件影响度”排序;先按兴趣度降序,再按publish_time倒序。 - 确认输出语言:按
${LANGUAGE}生成日报(zh-CN输出中文,en-US输出英文)。 - 生成 Brief,严格遵循
{baseDir}/daily_example.md:- 固定 section 顺序:标题 ->
📌 重大事件->📌 为你关注。 📌 为你关注初次输出最多 5 条。
- 固定 section 顺序:标题 ->
Rules
Parameter Rules
news_label可选值仅限:财经、科技、教育、社会、娱乐、港澳台、国际关系。- 允许多标签检索;多标签场景必须先分别检索,再合并去重。
SHENME_FETCH_LIMIT建议大于等于5。- 当
SHENME_FETCH_LIMIT \x3C 5时,按实际可取数量输出并提示候选不足。 PROFILE用于定义用户偏好,兴趣筛选必须基于${PROFILE}执行。LANGUAGE用于控制日报输出语言,建议值:zh-CN或en-US。label和query二选一,至少填写一个。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_id、title或publish_time):剔除该条。
Forbidden Output
- 编造不存在的新闻或字段。
- 输出未经验证的“已推送成功”结论。
- 将“重大事件”误写为来自内部 API 或无来源信息。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install claws-daily - 安装完成后,直接呼叫该 Skill 的名称或使用
/claws-daily触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
Claws Daily 是什么?
小龙虾日报,将你最关心的资讯主动送到你眼前。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 90 次。
如何安装 Claws Daily?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install claws-daily」即可一键安装,无需额外配置。
Claws Daily 是免费的吗?
是的,Claws Daily 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Claws Daily 支持哪些平台?
Claws Daily 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Claws Daily?
由 Chenhui7au(@chenhui7au)开发并维护,当前版本 v1.0.1。
推荐 Skills