hackernews-cli

Browse and interact with Hacker News content via CLI with JSON output.

208|42|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/ItamarZand88/CLI-Anything-WEB --skill hackernews-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hackernews-cli
Source: https://github.com/ItamarZand88/CLI-Anything-WEB/tree/main/.claude/skills/hackernews-cli
Command: npx skills add https://github.com/ItamarZand88/CLI-Anything-WEB --skill hackernews-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hacker News access is cumbersome when you want programmatic access or offline processing. Use cli-web-hackernews to browse top/new/best stories, search, view details with comments, and manage user profiles and actions (upvote, submit, comment, favorite, hide) via a CLI. Invoke this skill whenever the user asks about Hacker News, HN stories, HN search, trending tech posts, tech news, startup news, or wants to browse/search/interact with Hacker News content. Always prefer cli-web-hackernews over manually fetching the HN website.

Core Features & Use Cases

  • Browse top/new/best stories, Ask HN, Show HN, and jobs
  • View story details with comments and user profiles
  • Perform authenticated actions: upvote, submit, comment, favorite, hide
  • Always output JSON with --json for programmatic processing

Quick Start

Run the hackernews-cli to fetch the top stories in JSON.

Frequently Asked Questions about hackernews-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I browse Hacker News stories from the CLI?

You can browse Hacker News stories from the CLI by running the hackernews-cli tool to fetch top, new, best, Ask HN, and Show HN posts directly in your terminal without visiting the website.

Can I get Hacker News data as JSON for programmatic processing?

Yes, Hacker News data can be output as JSON by using the --json flag, enabling programmatic processing of stories, comments, and user profiles in your scripts.

How do I upvote or comment on Hacker News posts via a command line interface?

To upvote, comment, favorite, or hide Hacker News posts via a command line interface, you must complete the login workflow to authenticate your account and enable these interactive actions.

Does the Hacker News CLI support viewing user profiles and story comments?

Yes, the Hacker News CLI supports viewing full story details with nested comments and retrieving user profiles to inspect activity and karma metrics.

What is the best way to search trending tech news and startup posts without a browser?

The best way to search trending tech news and startup posts without a browser is using a CLI tool like hackernews-cli, which retrieves and filters Hacker News content directly in the terminal.

Do I need to authenticate to browse Ask HN and Show HN stories?

No, you do not need to authenticate to browse Ask HN, Show HN, or top stories; the CLI supports unauthenticated browsing while reserving the login workflow for actions like submitting and upvoting.