कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

hacker-news-poster

saikatkumardey द्वारा

Health & Fitness
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Post, comment, and interact on Hacker News.

विवरण

यह स्किल क्या करती है

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.

इसे कब इस्तेमाल करें

  • 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

उदाहरण वर्कफ़्लो

इनपुट

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

एजेंट
  1. 1

    Log in to HN using HN_USERNAME and HN_PASSWORD credentials

  2. 2

    Run the submit command with title 'Show HN: My Tool' and the provided URL

  3. 3

    Parse the JSON response to extract the new item ID and URL

  4. 4

    Return the live HN story link to the user

आउटपुट

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

आवश्यकताएँ

  • Hacker News account
  • HN_USERNAME environment variable
  • HN_PASSWORD environment variable

इंस्टॉलेशन

clawhub install saikatkumardey/hacker-news-poster

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक