Hacker News Top Article Check

Hacker News Top Article Check is a command for Claude Code from doctly/switchboard. It costs 0 tokens per session (242 once invoked), scanned A, original, MIT.

A command that checks Hacker News, a technology news and discussion website, for the current top article and posts about AI document conversion or extraction.

In plain words
What is it for?
Use it to record the top article's title, link, points, and rank, and to list any matching posts about document conversion, OCR, PDF parsing, or extraction.
Why use it?
It gives a concise snapshot of the front page and highlights relevant discussions without requiring manual scanning.

Command for Claude Code

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 commands/doctly/switchboard/schedule-hn-top-articles
Clone the repo
git clone --depth 1 https://github.com/doctly/switchboard

Made for: Claude Code.

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 Top Article Check

README.md
[![agentmods](https://agentmods.dev/badge/commands/doctly/switchboard/schedule-hn-top-articles.svg)](https://agentmods.dev/commands/doctly/switchboard/schedule-hn-top-articles)
Your own site
<a href="https://agentmods.dev/commands/doctly/switchboard/schedule-hn-top-articles"><img src="https://agentmods.dev/badge/commands/doctly/switchboard/schedule-hn-top-articles.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 242 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.00242
Opus 5 $0.00000 $0.00121
Sonnet 5 $0.00000 $0.00048
Haiku 4.5 $0.00000 $0.00024

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

Security

Grade A, and why

Hacker News Top Article Check 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 6d 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.

.claude/commands/schedule-hn-top-articles.md · 33 lines

What it actually says

Check Hacker News for the current top article and any posts related to AI document conversion or extraction.

Steps

  1. Fetch the Hacker News front page (https://news.ycombinator.com) and identify the #1 ranked article. Log its title, URL, and point count.

  2. Scan the full front page for any posts related to AI document conversion, document extraction, OCR, PDF parsing, or similar topics. If you find any, log each one with its title, URL, point count, and rank.

  3. Output the results directly in the session (do not write to any file). Use this format:

--- [TIMESTAMP] ---
#1: [Title] ([points] points)
    [URL]

AI Doc/Extraction mentions:
- [Rank]. [Title] ([points] points)
  [URL]
(or "None found" if no relevant posts)

Keep the output concise. Do not summarize or editorialize the articles.

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. 6d ago First seen · 33 lines · 0 tokens per session scan A d0d15dc14998

Subscribe to this mod's changes

Hacker News Top Article Check is a command published in the GitHub repository doctly/switchboard (332 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 242 tokens. 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.