producthuntlisted
Install: claude install-skill basejb/skills
<!--
Source: https://github.com/ReScienceLab/opc-skills/tree/main/skills/producthunt
Author: ReScienceLab
License: MIT
Pinned: dc5c9a7ac7cb67d13a58257fb39a5a8fddf36793 (main, 2026-05-05)
-->
# 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