Agent skill

Hackernews CLI

by ItamarZand88 in ItamarZand88/CLI-Anything-WEB

Browses and interacts with Hacker News via cli-web-hackernews — top/new/best stories, Ask HN, Show HN, jobs, story details with comments, search, user profiles, and (with login) upvoting…

MITAuto-check passed

Install Hackernews CLI

skills CLI
$ npx skills add ItamarZand88/CLI-Anything-WEB --skill hackernews-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ItamarZand88/CLI-Anything-WEB hackernews-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ItamarZand88/CLI-Anything-WEB.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/hackernews-cli .claude/skills/hackernews-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hackernews-cli
GitHub stars
231
Token cost
~809 tokens
SKILL.md length
282 words
Files
1
Skills in repo
42
Repo updated
First seen
Licence
MIT

At a glance

Browses and interacts with Hacker News via cli-web-hackernews — top/new/best stories, Ask HN, Show HN, jobs, story details with comments, search, user profiles, and (with login) upvoting…

  • The user asks about Hacker News
  • SKILL.md covers Commands, Examples, JSON output and Auth, plus 2 more sections
  • Calls pip
  • Tech/startup news

What it does

Hackernews CLI is an agent skill from ItamarZand88/CLI-Anything-WEB. Browses and interacts with Hacker News via cli-web-hackernews — top/new/best stories, Ask HN, Show HN, jobs, story details with comments, search, user profiles, and (with login) upvoting, submitting, commenting, favoriting, and hiding. Use when the user asks about Hacker News, HN stories, tech/startup news, or wants to post or vote on HN. Prefer cli-web-hackernews over fetching the HN website.

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Claude Code plugin that generates production-grade Python CLIs for any web app. 20 CLIs and counting. The licence is MIT.

When your agent uses it

  • The user asks about Hacker News
  • Tech/startup news

Example prompts

  • “Use the hackernews-cli skill to browse and interacts with Hacker News via cli-web-hackernews — top/new/best stories, Ask HN, Show HN, jobs, story…”
  • “/hackernews-cli”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 931e201. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hackernews CLI loads about 809 tokens when it runs. Until then it costs about 103 tokens; SKILL.md has 282 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~809

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ItamarZand88/CLI-Anything-WEB at commit 931e201, republished under its MIT licence (© ItamarZand88). 282 words, ~809 tokens.

Download SKILL.mdSave it as .claude/skills/hackernews-cli/SKILL.md (or your agent's skills folder).
name
hackernews-cli
description
Browses and interacts with Hacker News via cli-web-hackernews — top/new/best stories, Ask HN, Show HN, jobs, story details with comments, search, user profiles, and (with login) upvoting, submitting, commenting, favoriting, and hiding. Use when the user asks about Hacker News, HN stories, tech/startup news, or wants to post or vote on HN. Prefer cli-web-hackernews over fetching the HN website.

cli-web-hackernews

Hacker News on the command line: browsing and search need no auth; voting, submitting, commenting, favoriting, and hiding need login. Install: pip install cli-web-hackernews

Commands

Browse (no auth)
  • stories top|new|best|ask|show|jobs — story feeds. Options: -n/--limit N (default 30)
  • stories view STORY_ID — story + comment tree. Options: -n/--limit N (comments, default 10), --no-comments
  • search stories QUERY / search comments QUERY — Algolia search. Options: -n/--limit N (default 20), --page N (0-indexed), --sort-date (by date instead of relevance)
  • user view USERNAME — public profile (karma, member since, about)
Account actions (auth required)
  • upvote ITEM_ID — upvote a story or comment
  • submit -t TITLE [-u URL] [--text BODY] — submit a link, or omit -u for Ask HN
  • comment PARENT_ID TEXT — comment on a story or reply to a comment
  • favorite ITEM_ID / hide ITEM_ID — save / hide a story
  • user favorites|submissions|threads [USERNAME] — your activity (or another user's, where public). Options: -n/--limit N
  • auth login (username/password prompt), auth login-browser, auth status, auth logout

Examples

bash
# Front page, top 10
cli-web-hackernews stories top -n 10 --json

# A story with its first 5 comments
cli-web-hackernews stories view 47530330 -n 5 --json

# Search recent stories about Rust
cli-web-hackernews search stories "rust" --sort-date -n 10 --json

# Submit an Ask HN (requires login)
cli-web-hackernews submit -t "Ask HN: Best CLI tooling?" --text "Looking for recommendations" --json

# Upvote then favorite a story
cli-web-hackernews upvote 47530330 --json && cli-web-hackernews favorite 47530330 --json

JSON output

Add --json for structured output. Stories: {id, title, url, score, by, descendants, age, domain}. Search results: {objectID, title, url, author, points, num_comments}. Users: {id, karma, member_since, about_plain, total_submissions}. Actions: {success, item_id, action}. Errors: {"error": true, "code": "...", "message": "..."}.

Auth

Run cli-web-hackernews auth login for an interactive username/password prompt (or auth login-browser to log in via a browser window). Check with auth status --json. Auth-required commands fail with an {"error": true, ...} envelope when not logged in.

Utilities

cli-web-hackernews doctor [--json] diagnoses local setup (install, auth, dependencies). cli-web-hackernews mcp-serve exposes the commands as MCP tools over stdio. Running with no arguments opens an interactive REPL.

Agent tips

  • search covers all of HN history (Algolia); stories reflects the live feeds.
  • user favorites/submissions/threads default to your own account when USERNAME is omitted.

© ItamarZand88, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/hackernews-cli of ItamarZand88/CLI-Anything-WEB.

Open the folder on GitHubat commit 931e201

Compare with similar skills

Hackernews CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hackernews CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hackernews CLI this skillItamarZand88/CLI-Anything-WEB231—~809Automated safety check: PassMIT
Hacker News Front Page Scrapergarrytan/gstack136k—~355Automated safety check: PassMIT
Hacker Newsunifapi-agent/agents587—~1.4kAutomated safety check: PassMIT
Aeon Hacker News DigestBankrBot/skills1.2k—~561Automated safety check: PassNone
Hacker News Scrapermajiayu000/claude-skill-registry6662 repos~538Automated safety check: PassMIT
Competitor News MonitorNousResearch/hermes-agent252k—~1.2kAutomated safety check: PassMIT

Similar skills

  • Scrapes the Hacker News front page and returns the top 30 stories as JSON with rank, title, link, points and comment count.

    136k GitHub stars~355 tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Hacker News

    unifapi-agent/agents

    When a workflow needs public Hacker News data through UnifAPI — the top/new/best/ask/show/jobs story feeds, item metadata, comment trees, or user karma.

    587 GitHub stars~1.4k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed
  • Top Hacker News stories filtered by interest tags, with comment-mined insights (top, dissenting, expert/builder) and themed clustering.

    1.2k GitHub stars~561 tokensUpdated 2 days ago
    Auto-check passed
  • Hacker News Scraper

    majiayu000/claude-skill-registry

    Search Hacker News stories and comments using the free Algolia API.

    666 GitHub starsUsed in 2 repos~538 tokens
    Data & AnalyticsAuto-check passed
  • Competitor News Monitor

    NousResearch/hermes-agent

    Watch named companies for material news; cited digests. An agent skill from NousResearch/hermes-agent.

    252k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Hackernews Automation

    ComposioHQ/awesome-claude-skills

    Automate Hackernews tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~742 tokens
    Productivity & AutomationAuto-check passed

More from ItamarZand88/CLI-Anything-WEB

All 42 skills in this repo
  • Standards

    ItamarZand88/CLI-Anything-WEB

    Runs Phase 4 review/publish/verify for a cli-web- CLI: implementation review by 3 parallel agents, the tiered quality checklist (Tier 1 critical fail-fast, then comprehensive), pip install + smoke…

    231 GitHub stars~4.2k tokensUpdated 7 days ago
    Auto-check passed
  • Airbnb CLI

    ItamarZand88/CLI-Anything-WEB

    Searches Airbnb from the terminal via cli-web-airbnb — find stays by location, dates, and filters; get listing details, guest reviews, and availability calendars; autocomplete location names.

    231 GitHub stars~801 tokensUpdated 7 days ago
    Auto-check passed
  • Amazon CLI

    ItamarZand88/CLI-Anything-WEB

    Searches Amazon from the terminal via cli-web-amazon — product search, product details by ASIN, Best Sellers by category, and autocomplete suggestions.

    231 GitHub stars~570 tokensUpdated 7 days ago
    Auto-check passed
  • Booking CLI

    ItamarZand88/CLI-Anything-WEB

    Searches Booking.com from the terminal via cli-web-booking — find hotels, apartments, and hostels by destination, dates, and guests; get property details by slug; resolve destination names to IDs.

    231 GitHub stars~776 tokensUpdated 7 days ago
    Auto-check passed
  • Booking CLI

    ItamarZand88/CLI-Anything-WEB

    Use cli-web-booking to search Booking.com for hotels, apartments, hostels, and accommodations by destination, dates, and filters.

    231 GitHub stars~970 tokensUpdated 7 days ago
    Auto-check passed
  • Capitoltrades CLI

    ItamarZand88/CLI-Anything-WEB

    Queries US congressional stock trades (STOCK Act disclosures) on capitoltrades.com via the cli-web-capitoltrades command-line tool — trades with rich filters, politician profiles and leaderboards…

    231 GitHub stars~971 tokensUpdated 7 days ago
    Auto-check passed

Questions about Hackernews CLI

What does Hackernews CLI do?

Browses and interacts with Hacker News via cli-web-hackernews — top/new/best stories, Ask HN, Show HN, jobs, story details with comments, search, user profiles, and (with login) upvoting…. Hackernews CLI is an agent skill from ItamarZand88/CLI-Anything-WEB. Browses and interacts with Hacker News via cli-web-hackernews — top/new/best stories, Ask HN, Show HN, jobs, story details with comments, search, user profiles, and (with login) upvoting, submitting, commenting, favoriting, and hiding.

When should I use Hackernews CLI?

Hackernews CLI fits situations like: the user asks about Hacker News; tech/startup news.

How do I install Hackernews CLI in Claude Code?

Run `npx skills add ItamarZand88/CLI-Anything-WEB --skill hackernews-cli -a claude-code`. Or copy the skill folder (.claude/skills/hackernews-cli in ItamarZand88/CLI-Anything-WEB) into .claude/skills/hackernews-cli in your project. Claude Code loads it when a task matches its description.

How do I install Hackernews CLI in Codex?

Run `npx skills add ItamarZand88/CLI-Anything-WEB --skill hackernews-cli -a codex`. Or copy the skill folder (.claude/skills/hackernews-cli in ItamarZand88/CLI-Anything-WEB) into .agents/skills/hackernews-cli in your project. Codex loads it when a task matches its description.

Can I use Hackernews CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ItamarZand88/CLI-Anything-WEB --skill hackernews-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hackernews-cli, .gemini/skills/hackernews-cli, .github/skills/hackernews-cli and .opencode/skills/hackernews-cli in your project.

What does Hackernews CLI need to run?

Going by SKILL.md and its folder, Hackernews CLI needs the command-line tools its instructions call (pip). Our summary lists: Python 3.

Does Hackernews CLI access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Hackernews CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hackernews CLI use?

Hackernews CLI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hackernews CLI use?

About 809 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hackernews CLI?

Skills that share tags, products or a category with Hackernews CLI: Hacker News Front Page Scraper (garrytan/gstack, 136k stars), Hacker News (unifapi-agent/agents, 587 stars), Aeon Hacker News Digest (BankrBot/skills, 1.2k stars) and Hacker News Scraper (majiayu000/claude-skill-registry, 666 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hackernews CLI?

ItamarZand88 (a GitHub user) maintains it in ItamarZand88/CLI-Anything-WEB, which has 231 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on October 1, 2026.

Source: ItamarZand88/CLI-Anything-WEB on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.