← 返回 Skills 市场
osgood001

Hacker News Daily

作者 Osgood001 · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
481
总下载
0
收藏
5
当前安装
2
版本数
在 OpenClaw 中安装
/install hn-daily
功能描述
Fetch and filter Hacker News top stories. Use when user asks for tech news, HN updates, daily news digest, or wants to set up automated HN fetching. Supports...
使用说明 (SKILL.md)

Hacker News Daily

Fetch top stories from Hacker News with keyword filtering and caching.

Quick Start

python3 scripts/fetch_hn.py

Options

python3 scripts/fetch_hn.py --limit 5          # Return 5 stories
python3 scripts/fetch_hn.py --min-score 100    # Only stories with 100+ points
python3 scripts/fetch_hn.py --no-cache         # Force fresh fetch
python3 scripts/fetch_hn.py --format json      # JSON output

Proxy

Set HTTP_PROXY or HTTPS_PROXY environment variable if needed:

export HTTPS_PROXY=http://127.0.0.1:7890
python3 scripts/fetch_hn.py

Output

Text format (default):

📰 Hacker News 精选

1. [AI] OpenAI releases new model
   🔗 https://...
   👍 892 分 | 💬 234 评论

JSON format (--format json): Array of story objects with id, title, url, score, etc.

Caching

Results cached for 4 hours at ~/.cache/hn-daily/hn_cache.json. Use --no-cache to bypass.

Keywords

Default filter keywords: ai, llm, gpt, claude, openai, programming, python, rust, startup, machine learning, github, etc.

安全使用建议
This skill appears to do only what it claims: make HTTP requests to the Hacker News API, filter results, and cache them locally. Before installing or running: 1) be aware it makes outbound network requests (ensure your environment permits this). 2) It respects HTTP_PROXY/HTTPS_PROXY/ALL_PROXY — if you use a proxy, that proxy will see the requests and responses. 3) It writes a cache file to ~/.cache/hn-daily/hn_cache.json (contains story data only); remove it if you don't want local caches. 4) The script uses the Python 'requests' library — install it in a controlled environment (virtualenv) if you're cautious. 5) The script prints story URLs (which may link to arbitrary external sites) — treat links as you normally would. If you need higher assurance, run the script in an isolated environment (container) or review/execute the Python file yourself before granting the skill access.
功能分析
Type: OpenClaw Skill Name: hn-daily Version: 1.0.1 The skill bundle fetches and filters Hacker News top stories, aligning with its stated purpose. It uses standard Python libraries, accesses the legitimate Hacker News API, and stores cache files in a dedicated directory within `~/.cache`. The `SKILL.md` provides clear instructions without any prompt injection attempts. While the script reads proxy settings from environment variables (`HTTP_PROXY`/`HTTPS_PROXY`), this is a standard network configuration feature and does not indicate malicious intent or introduce a vulnerability within the skill itself, but rather utilizes existing environment settings. No evidence of data exfiltration, malicious execution, persistence, or obfuscation was found.
能力评估
Purpose & Capability
Name/description (HN top stories, keyword filtering, caching) lines up with the included Python script and reference file which call the official Hacker News Firebase API and implement filtering/caching. No unrelated credentials, binaries, or system paths are requested.
Instruction Scope
SKILL.md instructs running scripts/fetch_hn.py and documents use of HTTP_PROXY/HTTPS_PROXY which the script reads. The script only performs HTTP requests to the Hacker News API, filters results, and writes a cache file. It does not read arbitrary user files or attempt to transmit data to unknown endpoints, but it does write cached output to ~/.cache/hn-daily/hn_cache.json (expected for caching).
Install Mechanism
This is an instruction-only skill with a small included script and no install spec. No downloads or third-party installation steps are declared. The script depends on the Python 'requests' library but does not attempt to install it.
Credentials
No required environment variables or credentials are declared. The script reads standard proxy env vars (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY) described in SKILL.md — these are reasonable for networked tools but are environment inputs beyond the declared requires.env (which is empty). There are no secrets requested or stored.
Persistence & Privilege
The skill does not request permanent platform presence (always:false) and does not modify other skills or system-wide settings. Its only persistent footprint is a cache file under the user's home directory (~/.cache/hn-daily/hn_cache.json).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hn-daily
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hn-daily 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Cleanup: single script, env proxy support, CLI args
v1.0.0
Initial release: fetch and filter HN top stories with keyword filtering and caching
元数据
Slug hn-daily
版本 1.0.1
许可证
累计安装 5
当前安装数 5
历史版本数 2
常见问题

Hacker News Daily 是什么?

Fetch and filter Hacker News top stories. Use when user asks for tech news, HN updates, daily news digest, or wants to set up automated HN fetching. Supports... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 481 次。

如何安装 Hacker News Daily?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hn-daily」即可一键安装,无需额外配置。

Hacker News Daily 是免费的吗?

是的,Hacker News Daily 完全免费(开源免费),可自由下载、安装和使用。

Hacker News Daily 支持哪些平台?

Hacker News Daily 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Hacker News Daily?

由 Osgood001(@osgood001)开发并维护,当前版本 v1.0.1。

💬 留言讨论