Hacker News Data Skill
The Hacker News Data Skill is the source-sliced data guide a Platform Agent owns: it names the concrete `hacker-news/...` operations, response shapes, and gotchas for reading HN's public feeds through UnifAPI MCP, so any launch-reception or social-listening research for dev/infra/startup categories runs from one deterministic workflow. Read-only — it never posts.
Agent-native
Run it in Claude, ChatGPT custom MCP apps, OpenClaw, Hermes, Codex, Claude Code, Cursor, VS Code, or another MCP-capable client. No dedicated GUI flow and no separate LLM API key.
Backed by live public data
Every step is grounded in live public-data records UnifAPI returns, so the output cites what is actually ranking, posting, or being said — not a generic best-practice list.
Composable & open source
Skills cross-reference each other and live in a public, MIT-style repo. Read the full SKILL.md on GitHub, fork it, or run it as-is inside your agent.
Paste this into Codex or Claude Code
The prompt is intentionally editable. Replace the handles, market, budget, and campaign goal, then let the agent call UnifAPI MCP when it needs live public data.
Using the Hacker News Data Skill, check how our launch is landing: scan the top, show, and ask feeds for matching stories, then read the comment tree (kids) on any matching item for points, volume, and candid critique. Return a cited brief. Read-only.
The full skill, rendered from its SKILL.md
The deterministic read path for public Hacker News data through UnifAPI. This
is a Data Skill: it does not run a marketing job on its own — it names the
concrete hacker-news/... operations, response shapes, and gotchas so any
launch-reception or listening workflow for dev/infra/startup categories reads
from one known recipe instead of rediscovering the surface each time.
Read-only — eyes, not hands. It researches public HN data and returns cited records; it never posts stories or comments, and UnifAPI never holds HN credentials.
Use the unifapi skill for live evidence
Connect once through the shared unifapi skill (OAuth MCP), then call the
operations below. Story feeds take a {feed} of top, new, best,
ask, show, or jobs. Keep any billing metadata so the output can state
record cost.
Response contract
Single-entity endpoints return the object in data:
{
"request_id": "unif_...",
"data": {},
"billing": { "records_charged": 1, "balance_remaining": 99 }
}
List endpoints return an array in data plus pagination:
{
"request_id": "unif_...",
"data": [],
"pagination": { "has_more": false, "next_cursor": null },
"billing": { "records_charged": 1 }
}
When pagination.has_more is true, pass pagination.next_cursor as the next
request's cursor (limit sets page size). Always preserve billing.
Core operations
| Need | Operation |
|---|---|
| Story feed (hydrated) | hacker-news/stories/{feed}/items |
| Story feed (ids only) | hacker-news/stories/{feed} |
| Item (story / comment) | hacker-news/items/{id} |
| User profile + karma | hacker-news/users/{id} |
| Recently changed | hacker-news/updates |
| Highest item id (scan bound) | hacker-news/max-item |
{feed} ∈ top · new · best · ask · show · jobs.
Need a field not listed here? Use the unifapi skill's get_operation to read
the exact schema before calling — but pick the operation from this table, don't
discover blind.
Workflow
The deterministic recipes. Pick the one that matches the job; each names exactly what to call.
- Frame the watch. Pick the feeds:
showandaskfor launches and questions,topandbestfor what's landing,newfor the freshest. - Scan a feed. Call
hacker-news/stories/{feed}/items(hydrated items in one call — cheaper than ids-then-fetch) and match stories bytitleorurlto your product or category. Page vianext_cursor. - Read the thread. On a matching item, read
score(points) anddescendants(comment count), then walk thekidsids withhacker-news/items/{id}to read the candid critique in the comment tree. - Weight a critic. Call
hacker-news/users/{id}forkarmaandsubmittedto judge how much a commenter's take carries. - Watch for change. Call
hacker-news/updatesfor recently changed items and profiles, orhacker-news/max-itemto bound a fresh scan. - Cite everything. Every figure ties back to the HN item it came from;
report
billing.records_charged(or estimate when billing metadata is absent).
Shape notes
HackerNewsItem—type(story·comment·job·poll·pollopt),by,time,title,url,text,score(points),descendants(comment count),kids(child comment ids, not objects),parent.HackerNewsUser—id,created,karma,about,submitted(item ids).HackerNewsUpdates—itemsandprofilesthat recently changed.
Gotchas
- No keyword search. Discovery is feed-driven — scan
top/new/best/ask/show/ jobsand match bytitle/url. Say so in the brief. kidsare child comment ids, not embedded objects — recurse withhacker-news/items/{id}to read the comment tree.descendantsis the comment count andscoreis the points — don't confuse them.- Prefer
hacker-news/stories/{feed}/itemsoverhacker-news/stories/{feed}when you want the hydrated stories, not a list of ids. - A low balance can silently truncate list pages: check
billing.truncated_due_to_balance— when true the page is partial.
Output
Return the records the calling workflow needs, each cited to its HN item, plus a
one-line cost note (records_charged). When this skill is used directly, a
compact reception brief is the default:
**{Story title}** ({feed}) — {score} points, {descendants} comments. Landed: {yes/no}. Candid takes: "{quote}" (by {user}, {karma} karma). Evidence: {item URLs}. Records: ~{N}.
Related skills
- competitor-launch-monitor (Competitive Intelligence), social-listening-brief (Social Listening) — launch-reception and listening work on top of this read path.
- unifapi — the shared data skill: connect MCP and look up exact schemas with
get_operation.
Source: hacker-news/SKILL.md on GitHub — open a PR there to improve it.
The live APIs this skill calls
Every operation the skill names is one of these UnifAPI platforms — still visible and callable for product code, debugging, and custom agent flows.
- The concrete `hacker-news/...` operations for each common feed/thread read job
- Response-contract and shape notes for items, feeds, and users
- Deterministic recipes: scan feeds, match a launch, read the comment tree
- Platform gotchas (kids are comment ids, descendants/score fields, no search)