Skip to content
Marketing
Skill

/producthunt

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.

From plugin
opc-skills
1.3k10 skills
Install
$ npx -y skills add ReScienceLab/opc-skills --skill producthunt --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/producthunt

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

producthunt.SKILL.md
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

  • **Endpoint**: https://api.producthunt.com/v2/api/graphql
  • **Type**: GraphQL
  • **Rate Limits**: 6250 complexity points / 15 min
  • **Docs**: https://api.producthunt.com/v2/docs
Read more
Ships withopc-skills

AI Agent Skills for Solopreneurs, Indie Hackers, and One-Person Companies Extend Claude Code, Cursor, Codex, and more with automation skills.

Get the whole plugin
Stats
1,290
Stars
126
Forks
Active
Maintenance
Python
Language
Apache-2.0
License
21h ago
Last commit
6mo ago
Created

Repo: ReScienceLab/opc-skills

Other skills on opc-skills.