hacker-news

hacker-news is a skill for Claude Code, Codex from JustVugg/tools-factory. It costs 38 tokens per session (472 once invoked), scanned A, original, MIT.

A local command-line tool for reading data from Hacker News, a site where people share and discuss technology news and projects.

In plain words
What is it for?
Use it to retrieve top, new, or best stories, look up a specific item, find the latest item number, or search synced records.
Why use it?
It provides structured access to Hacker News feeds and items instead of requiring an agent to browse them manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve top, new, or best stories, look up a specific item, find the latest item number, or search synced records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/justvugg/tools-factory/hacker-news
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.

Any agent
npx skills add JustVugg/tools-factory --skill hacker-news
Clone the repo
git clone --depth 1 https://github.com/JustVugg/tools-factory

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hacker-news

README.md
[![agentmods](https://agentmods.dev/badge/skills/justvugg/tools-factory/hacker-news/github.svg)](https://agentmods.dev/skills/justvugg/tools-factory/hacker-news)
Your own site
<a href="https://agentmods.dev/skills/justvugg/tools-factory/hacker-news"><img src="https://agentmods.dev/badge/skills/justvugg/tools-factory/hacker-news/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hacker-news

Your own site · 80×15
<a href="https://agentmods.dev/skills/justvugg/tools-factory/hacker-news"><img src="https://agentmods.dev/badge/skills/justvugg/tools-factory/hacker-news.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 472 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.1 $0.00038 $0.00472
Opus 5 $0.00019 $0.00236
Sonnet 5 $0.00008 $0.00094
Haiku 4.5 $0.00004 $0.00047

Measured 9d ago against content hash 97eb2f58e9ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

hacker-news scanned grade A with 0 findings 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 9d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

library/tools/hacker-news/skills/hacker-news/SKILL.md · 52 lines

What it actually says

hacker-news

Generated by Gutenberg. Use this skill to call the hacker-news API through the local hacker-news CLI.

When to use

  • The user asks for data exposed by hacker-news (v0).
  • An agent task needs structured JSON from https://hacker-news.firebaseio.com.
  • You need to perform a write/destructive operation on hacker-news — always preview first, run with --yes only on explicit user confirmation.

How to invoke

The skill assumes the generated CLI is on PATH (or invoke via scripts/use-go.sh run ./cmd/hacker-news from the project directory).

hacker-news operations
hacker-news call getTopstoriesJson --json
hacker-news sync --json
hacker-news search "<keyword>" --json

Authentication

No authentication required.

Operations index

  • getTopstoriesJson (GET /v0/topstories.json) — read — GET /v0/topstories.json
  • getNewstoriesJson (GET /v0/newstories.json) — read — GET /v0/newstories.json
  • getBeststoriesJson (GET /v0/beststories.json) — read — GET /v0/beststories.json
  • getItem8863Json (GET /v0/item/8863.json) — read — GET /v0/item/8863.json
  • getMaxitemJson (GET /v0/maxitem.json) — read — GET /v0/maxitem.json

Output contract

  • All commands accept --json and emit machine-readable output.
  • call returns { dryRun, operation, request, response }. dryRun: true means the call was not executed (write op without --yes).
  • search returns cached records. sync populates the local SQLite cache.

Provenance

  • Schema: gutenberg.blueprint.v1
  • Generated by: gutenberg 0.3.0
  • Source spec: /tmp/hacker-news.openapi.json
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. 9d ago First seen · 52 lines · 38 tokens per session scan A 97eb2f58e9ca

Subscribe to this mod's changes

hacker-news is a skill published in the GitHub repository JustVugg/tools-factory (53 stars, last pushed 2mo ago), licensed MIT. It adds 38 tokens to every session and 472 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. 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

vs-search-tuning-specify-policy-direction

Viking Search tuning for specified policy directions. Use this when the user provides specific queries, a type of query, or a business policy direction, and asks to boost, suppress, or fix a class of search results through request-parameter passthrough. You must only perform read-only baseline evaluation and…

volcengine/SearchCLI · 93 tokens

vs-product-qa

Answer Viking AI Search product questions, CLI usage questions, API/auth questions, configuration questions, and troubleshooting questions by grounding every claim in either the installed vs CLI's own output or official Volcengine documentation. Never fabricate.

volcengine/SearchCLI · 51 tokens

vs-search-tuning-partial-case

Use when the user provides 1-50 concrete bad-case search queries for one Viking Search app and wants local deterministic fixes. This skill only verifies request-level fine-operation interventions against a read-only baseline scene and delivers a console-ready configuration sheet, validated payloads, and a replay…

volcengine/SearchCLI · 85 tokens

vs-user-onboarding

Guide a brand-new SearchCLI/vs user from first-time usage questions to sign-up, purchase of Viking AI Search, AK/SK setup, and a working authenticated CLI. Use when the user says they downloaded or installed SearchCLI/vs and asks how to use it, how to start, sign up, buy, or onboard.

volcengine/SearchCLI · 72 tokens

vs-crawler

Crawl websites (news, blogs, papers, GitHub, product docs, RSS feeds) into a fixed-schema JSONL file, then create a dataset and a searchable application in Viking AI Search. Supports one-time crawl and scheduled recurring crawl with automatic incremental sync.

volcengine/SearchCLI · 57 tokens

volcengine-documentation

Volcengine official documentation lookup helper. Supports both document search and full-content fetch across Volcengine products, developer tools, support content, best practices, pricing, deployment, troubleshooting, API, SDK, and policy pages.

volcengine/SearchCLI · 51 tokens