A straightforward wrapper around Product Hunt's GraphQL API that lets you pull posts, topics, users, and collections without writing queries yourself. You'll need a developer token from their OAuth applications page, but once that's in your .zshrc, you can search for AI product launches, grab comment threads, or pull someone's entire posting history with simple Python commands. The rate limits are generous at 6250 complexity points per 15 minutes, which is plenty for research and monitoring. Honestly, this is most useful if you're already doing Product Hunt research regularly and want to stop clicking through their web UI. The scripts are basic but they cover the common cases you'd actually need.

skills.sh installs
2.8K
GitHub stars
1.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add resciencelab/opc-skills --skill producthunt --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/resciencelab/opc-skills
Category
Backend & APIs

More from resciencelab/opc-skills

All 12
1semgrep avatarcode-securitysemgrep/skillsSecurity guidelines for writing secure code. Use when writing code, reviewing code for vulnerabilities, or asking about secure coding practices like 'check for 2.8Kskills.sh installs
2coinbase avataragentic-walletcoinbase/agentic-wallet-skillsCrypto wallet operations via the awal CLI — sign in, check balances, send USDC/ETH/POL/SOL, trade tokens, fund the wallet, and use the x402 payment protocol to 2.8Kskills.sh installs
3copilotkit avatarruntimecopilotkit/copilotkit@copilotkit/runtime — mount a fetch-native CopilotRuntime on any JS server, wire middleware, pick an AgentRunner, instantiate BuiltInAgent (Factory Mode with Ta2.7Kskills.sh installs
4elastic avatarcloud-setupelastic/agent-skillsConfigures Elastic Cloud authentication and environment defaults. Use when setting up EC_API_KEY, configuring Cloud API access, or when another cloud skill requ2.7Kskills.sh installs
5starchild-ai-agent avatarbyok-custom-modelstarchild-ai-agent/official-skillsRegister a custom LLM endpoint with your own API key for chat in Starchild. Use when adding a personal Anthropic, OpenAI, Grok, Qwen, DeepSeek, Meta (Muse Spark2.7Kskills.sh installs
6elastic avatarcloud-create-projectelastic/agent-skillsCreates Elastic Cloud Serverless projects (Elasticsearch, Observability, or Security) via the REST API, saves credentials to file, and bootstraps a scoped Elast2.7Kskills.sh installs