LaunchKit · 2026
Back to Skills

hacker-news-poster

Post, comment, and interact on Hacker News.

0
0 downloads
by @saikatkumardey

Setup & Installation

openclaw skills install @saikatkumardey/hacker-news-poster

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install hacker-news-poster

What This Skill Does

Automates posting, commenting, and profile updates on Hacker News via a Python CLI script. Handles login and session cookie persistence so agents don't re-authenticate on every command. Write-only; pair with the hacker-news skill for reading and searching content.

Lets agents post to Hacker News programmatically without browser automation, using session cookies to avoid repeated logins across commands.

When to use it

  • Submitting a Show HN post for a new project
  • Posting an Ask HN question to the community
  • Replying to a comment on an HN thread
  • Editing a comment within the 2-hour edit window
  • Updating your HN profile bio

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Submit a Show HN post for my new open-source tool at https://mytool.com

AGENT
  1. 1Log in to HN using HN_USERNAME and HN_PASSWORD credentials
  2. 2Run the submit command with title 'Show HN: My Tool' and the provided URL
  3. 3Parse the JSON response to extract the new item ID and URL
  4. 4Return the live HN story link to the user
OUTPUT

New HN story submitted at https://news.ycombinator.com/item?id=<item_id>

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Hacker News accountHN_USERNAME environment variableHN_PASSWORD environment variable