hn-summarize

A tool for fetching and summarizing Hacker News stories, linked articles, and their comment discussions. Hacker News is a technology-focused news and discussion site.

In plain words
What is it for?
Summarizing the top stories on Hacker News, a specific story and its discussion, or a selected number of front-page stories.
Why use it?
It saves time when you want the main points and community discussion without reading every story and comment thread.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ykdojo/claude-code-tips/hn-summarize
Any agent
npx skills add ykdojo/claude-code-tips --skill hn-summarize
Clone the repo
git clone --depth 1 https://github.com/ykdojo/claude-code-tips

Made for: Claude Code, Codex.

Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,046 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00057 $0.01046
Opus 5 $0.00028 $0.00523
Sonnet 5 $0.00011 $0.00209
Haiku 4.5 $0.00006 $0.00105

Measured yesterday against content hash 976ac9d48a1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hn-summarize scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`hckrnews.com` is a JavaScript-rendered front end - curling it returns an empty shell, so **do not scrape it**. Instead use the official Hacker News APIs (Firebase + Algolia), which give the same stories with points, com
skills/hn-summarize/SKILL.md · 82 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 82 lines · 57 tokens per session scan A 976ac9d48a1f

Subscribe to this mod's changes

hn-summarize is a skill published in the GitHub repository ykdojo/claude-code-tips (9,977 stars, last pushed 6d ago), with no licence file. It adds 57 tokens to every session and 1,046 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

architecture-elevation

Validate the architectural ALTITUDE of a stated root cause or proposed fix before peer review or implementation. Interrogates the frame itself — whether the concern exists because of an abstraction that could be removed — before mapping enforcement sites within the concern. Tests whether a different boundary could…

stempeck/agentfactory · 113 tokens

architecture-docs

Generate or refresh /docs/architecture/ — the current-state source of architectural truth for this codebase, grounded in code and git history (NOT in .designs/). Produces an anchor-dense corpus (invariants.md, idioms.md, trust-boundaries.md, seams.md, subsystems/.md, history.md, gaps.md) plus a high-level overview…

stempeck/agentfactory · 164 tokens

github-issue

Creates well-documented GitHub issues (or comments on existing ones) from problems discussed in conversation. Investigates the codebase to map affected layers, files, and data flow, then writes up findings with acceptance criteria — without prescribing fixes. Use when a conversation has identified a problem that needs…

stempeck/agentfactory · 117 tokens

rootcause-review

Perform scientific peer review of a rootcauseanalysis.md document, validating all claims with independent verification. Appends review findings without modifying original content.

stempeck/agentfactory · 32 tokens

agentic-skill-eval

Evaluates a skill library to identify which SKILL.md files would produce valuable autonomous agents when converted via /formula-create. Use when assessing a repository of skills for agent creation candidates, prioritizing which skills to convert to formulas, or auditing an existing agent roster for gaps.

stempeck/agentfactory · 61 tokens

improve-agent

Improve an agent's formula TOML based on post-execution learnings. Use after a formula run required manual intervention, produced incorrect artifacts, or left cleanup work for the operator. Classifies the failure type, scans for sibling vulnerabilities, selects the appropriate fix pattern, and surgically inserts…

stempeck/agentfactory · 67 tokens