← 返回 Skills 市场
110
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install hacker-news-summary
功能描述
Fetches top 10 Hacker News stories, translates titles to Chinese via Baidu API, generates a bilingual Markdown report, and optionally sends to Feishu.
使用说明 (SKILL.md)
Hacker News 每日新闻汇总(英中双语 + 飞书推送)
Version: 1.0.1
简介
自动抓取 Hacker News 前 10 条新闻,使用百度翻译 API 生成中文标题,并可选择推送到飞书群。
功能
- 获取 Hacker News 实时热门新闻
- 英中双语标题(百度翻译)
- 生成 Markdown 格式报告:
~/daily-news.md - 可选飞书机器人推送
依赖
bash、curl、jq、md5sum(通常已安装)- 百度翻译 API(免费,每月 100 万字符)
- 飞书自定义机器人(可选)
安装步骤
1. 获取百度翻译 API 密钥
- 访问 百度翻译开放平台
- 注册/登录,申请通用翻译 API(免费版)
- 记录 App ID 和 密钥
2. 创建飞书机器人(可选)
- 在飞书群中添加“自定义机器人”
- 复制 Webhook URL
3. 设置环境变量
将以下内容添加到 ~/.bashrc 或执行脚本前 export:
export BAIDU_APPID="你的AppID"
export BAIDU_SECRET="你的密钥"
export FEISHU_WEBHOOK="你的飞书Webhook地址" # 若不需推送可留空或不设置
安全使用建议
This skill appears to be what it claims. Before installing/running: (1) Verify you are comfortable providing BAIDU_APPID and BAIDU_SECRET — those go to Baidu's translation API and are sensitive. Use a limited-scope/test key if possible. (2) If you will enable Feishu push, confirm the FEISHU_WEBHOOK value points to a webhook you control; anyone with that URL can post to the group. (3) Inspect daily-news.sh yourself (it's included) and run it in a safe environment the first time. (4) Note the SKILL.md documentation has a small formatting/truncation issue — ensure you export env vars correctly in your shell before running. (5) If you need to avoid external network calls, do not set the credentials or run the script.
功能分析
Type: OpenClaw Skill
Name: hacker-news-summary
Version: 1.0.1
The skill bundle is a legitimate utility for fetching Hacker News stories, translating them via the Baidu API, and optionally posting them to a Feishu webhook. The script (daily-news.sh) follows standard practices for API interaction, uses environment variables as intended, and contains no evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
Name/description align with the provided script and SKILL.md: the script fetches HN topstories, calls Baidu Translate, generates ~/daily-news.md, and optionally posts to a Feishu webhook. The external endpoints used (hacker-news.firebaseio.com, fanyi-api.baidu.com, and the FEISHU_WEBHOOK) are consistent with the stated functionality. One minor incoherence: the top-level registry metadata in the report initially listed no required env vars, but clawhub.json and the script do require BAIDU_APPID and BAIDU_SECRET (and optionally FEISHU_WEBHOOK).
Instruction Scope
SKILL.md and daily-news.sh restrict actions to fetching HN items, calling Baidu Translate, writing a Markdown file in the user's HOME, and optionally POSTing to the provided Feishu webhook. There are no instructions to read unrelated files, search system state, or exfiltrate arbitrary data. The SKILL.md snippet appears to have a truncated/unterminated code block for the export example, but that is a documentation issue rather than malicious behavior.
Install Mechanism
No install spec is present (instruction-only plus a shell script). Nothing is downloaded or executed automatically at install time; the script runs only when executed by the user/agent. This is the lower-risk pattern for skills.
Credentials
The script legitimately needs BAIDU_APPID and BAIDU_SECRET to call Baidu Translate and optionally FEISHU_WEBHOOK to post to Feishu. These are proportionate to the stated purpose. Note that BAIDU_SECRET is sensitive (API secret) and will be sent to Baidu's translation API; only provide it if you trust the service and intend to use the feature. clawhub.json correctly lists these env vars even though the registry summary at the top omitted them.
Persistence & Privilege
The skill does not request always:true or any elevated platform privileges. It writes a single output file in the user's home directory and does not modify other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hacker-news-summary - 安装完成后,直接呼叫该 Skill 的名称或使用
/hacker-news-summary触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added clawhub.json for skill metadata and platform integration.
- Updated documentation in SKILL.md to include version information at the top.
v1.0.0
Hacker News 每日新闻汇总 1.0.0 初始发布
- 自动抓取 Hacker News 前 10 条热门新闻
- 使用百度翻译 API,生成英中双语标题
- 输出为 Markdown 文件:`~/daily-news.md`
- 可选集成飞书自定义机器人实现群推送
- 安装简便,依赖常见 shell 工具及 API 密钥
元数据
常见问题
Hacker News Daily Summary (Bilingual) 是什么?
Fetches top 10 Hacker News stories, translates titles to Chinese via Baidu API, generates a bilingual Markdown report, and optionally sends to Feishu. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。
如何安装 Hacker News Daily Summary (Bilingual)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hacker-news-summary」即可一键安装,无需额外配置。
Hacker News Daily Summary (Bilingual) 是免费的吗?
是的,Hacker News Daily Summary (Bilingual) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Hacker News Daily Summary (Bilingual) 支持哪些平台?
Hacker News Daily Summary (Bilingual) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Hacker News Daily Summary (Bilingual)?
由 JoeWangup(@joewangup)开发并维护,当前版本 v1.0.1。
推荐 Skills