> ## Documentation Index
> Fetch the complete documentation index at: https://docs.curation.space/llms.txt
> Use this file to discover all available pages before exploring further.

# Hacker News

> Your agent can sort your Hacker News favorites and upvotes into curations, and keep new favorites or the best stories arriving.

Your agent can sort the stories you've favorited or upvoted on Hacker News into curations, and keep your new favorites, or the stories that do well, arriving on their own. Point your agent at your Hacker News profile and ask it to curate your stories.

## How do I import my favorites?

**1. Connect your agent to Curation Space**

Copy the prompt in [How do I connect my agent?](https://docs.curation.space/mcp-server.md#how-do-i-connect-my-agent) into Claude Code, Codex, OpenCode, or another agent that supports MCP, and sign in when it asks.

**2. Let it see your stories**

Your favorites are public, so your agent can read them at `news.ycombinator.com/favorites?id={username}` without signing in. Favorited comments are at `news.ycombinator.com/favorites?id={username}&comments=t`. Your upvotes, at `news.ycombinator.com/upvoted?id={username}`, need you signed in to Hacker News in a browser your agent can use, such as Claude in Chrome.

**3. Ask it to curate them**

Paste a prompt like the one below, with your username.

```text Prompt wrap theme={"theme":"css-variables"}
Read my Hacker News favorites at news.ycombinator.com/favorites?id={username}, following "More" to the end, and curate them into Curation Space.

Group them into private curations by topic, and give each curation a short, clear title. Before adding anything, show me the curations you'd make and how many stories would go in each, and wait for my go-ahead. Then add them, newest first. Add the article each story links to; for Ask HN, Show HN without a link, and other text posts, add the discussion itself. Don't write notes; I'll add my own.
```

## Can my agent add the discussion too?

Yes. Curation Space has a reader built for Hacker News, so a discussion added as a link keeps its title and text. Ask your agent to add the discussion instead of the article, or to put the discussion's address in each link's note.

## How do I keep new favorites arriving?

Ask your agent to connect `https://hnrss.org/favorites?id={username}` to a curation as an [Input Source](https://docs.curation.space/concepts/input-source.md). Each story you favorite from then on is added within about 15 minutes.

## Can a curation gather the stories that do well?

Yes. hnrss.org has feeds for the front page, `https://hnrss.org/frontpage`, and for new stories that pass a number of points, such as `https://hnrss.org/newest?points=300`. Ask your agent to connect one as an Input Source, and add a condition if you only want some topics.

## Will my followers be sent every story?

No, as long as the curations are private while your agent adds links, which the prompt asks for. See [Will my followers be sent every link?](https://docs.curation.space/import/anywhere.md#will-my-followers-be-sent-every-link)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.