PluginBench
Skill
Review
Audit score 70

producthunt

resciencelab/opc-skills

Search and retrieve Product Hunt posts, topics, users, and collections via GraphQL API.

What is producthunt?

Access Product Hunt data through the official GraphQL API to find posts, topics, users, and collections. Use this skill when users ask about Product Hunt, product launches, or want to discover trending products and topics.

  • Retrieve individual posts by slug or ID
  • Fetch today's featured posts or filter by topic and date range
  • Search and browse Product Hunt topics
  • Look up user profiles and their post history
  • Access curated collections and featured collections
  • Read post comments and community feedback

How to install producthunt

npx skills add https://github.com/resciencelab/opc-skills --skill producthunt
Prerequisites
  • Product Hunt developer account and access token from https://www.producthunt.com/v2/oauth/applications
  • Set PRODUCTHUNT_ACCESS_TOKEN environment variable in ~/.zshrc
Claude Code
Cursor
Windsurf
Cline

How to use producthunt

  1. 1.Set your Product Hunt access token in ~/.zshrc as PRODUCTHUNT_ACCESS_TOKEN
  2. 2.Verify setup by running: python3 scripts/get_posts.py --limit 3
  3. 3.Use get_post.py with a slug or ID to fetch individual posts
  4. 4.Use get_posts.py with optional filters (--topic, --after, --limit) to search posts
  5. 5.Use get_topic.py or get_topics.py to browse topics
  6. 6.Use get_user.py or get_user_posts.py to look up creators
  7. 7.Use get_collection.py or get_collections.py to access curated collections

Use cases

Good for
  • Finding trending products in a specific category like AI or SaaS
  • Researching a competitor's Product Hunt launch and community response
  • Discovering top products from a particular creator or user
  • Browsing curated collections for product inspiration
  • Analyzing post metadata and engagement metrics
Who it's for
  • Product managers researching market trends
  • Founders launching or promoting products on Product Hunt
  • Investors tracking new product releases
  • Content creators looking for product discovery content
  • Developers building tools that integrate with Product Hunt data

producthunt FAQ

How do I get a Product Hunt API token?

Visit https://www.producthunt.com/v2/oauth/applications, create a developer application, and copy your access token. Set it as PRODUCTHUNT_ACCESS_TOKEN in ~/.zshrc.

What are the API rate limits?

Product Hunt allows 6250 complexity points per 15-minute window. Most queries consume relatively few points; check the API docs for specific query costs.

Can I search posts by keyword?

You can filter posts by topic using --topic flag and by date using --after flag. For broader keyword search, use the get_topics.py command with --query parameter.

How do I get comments on a specific post?

Use python3 scripts/get_post_comments.py POST_ID --limit [number] to retrieve comments for a post.

What data is available for users?

You can retrieve user profiles by username and fetch all posts by that user. The API provides user metadata and their post history.

Full instructions (SKILL.md)

Source of truth, from resciencelab/opc-skills.


name: producthunt description: Search and retrieve content from Product Hunt. Get posts, topics, users, and collections via the GraphQL API. Use when user mentions Product Hunt, PH, or product launches.

ProductHunt Skill

Get posts, topics, users, and collections from Product Hunt via the official GraphQL API.

Prerequisites

Set access token in ~/.zshrc:

export PRODUCTHUNT_ACCESS_TOKEN="your_developer_token"

Get your token from: https://www.producthunt.com/v2/oauth/applications

Quick Check:

cd <skill_directory>
python3 scripts/get_posts.py --limit 3

Commands

All commands run from the skill directory.

Posts

python3 scripts/get_post.py chatgpt                    # Get post by slug
python3 scripts/get_post.py 12345                      # Get post by ID
python3 scripts/get_posts.py --limit 20                # Today's featured posts
python3 scripts/get_posts.py --topic ai --limit 10     # Posts in topic
python3 scripts/get_posts.py --after 2026-01-01        # Posts after date
python3 scripts/get_post_comments.py POST_ID --limit 20

Topics

python3 scripts/get_topic.py artificial-intelligence  # Get topic by slug
python3 scripts/get_topics.py --query "AI" --limit 20 # Search topics
python3 scripts/get_topics.py --limit 50              # Popular topics

Users

python3 scripts/get_user.py rrhoover                  # Get user by username
python3 scripts/get_user_posts.py rrhoover --limit 20 # User's posts

Collections

python3 scripts/get_collection.py SLUG_OR_ID          # Get collection
python3 scripts/get_collections.py --featured --limit 20

API Info