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.
npx skills add ReScienceLab/opc-skills --skill producthunt --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# ProductHunt Skill Get posts, topics, users, and collections from Product Hunt via the official GraphQL API. ## Prerequisites Set access token in `~/.zshrc`: ```bash export PRODUCTHUNT_ACCESS_TOKEN="your_developer_token" ``` Get your token from: https://www.producthunt.com/v2/oauth/applications **Quick Check**: ```bash cd <skill_directory> python3 scripts/get_posts.py --limit 3 ``` ## Commands All commands run from the skill directory. ### Posts ```bash 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 ```bash 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 ```bash python3 scripts/get_user.py rrhoover # Get user by username python3 scripts/get_user_posts.py rrhoover --limit 20 # User's posts ```
- Prerequisites
- Commands
- Posts
- Topics
- Users
- Collections
- API Info
export PRODUCTHUNT_ACCESS_TOKEN="your_developer_token" cd <skill_directory> python3 scripts/get_posts.py --limit 3 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 python3 scripts/get_topic.py artificial-intelligence # Get topic by slug
What does the producthunt skill do?
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.
How do I install it?
Run `npx skills add ReScienceLab/opc-skills --skill producthunt --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ReScienceLab/opc-skills, a repository with 1,192 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
