Skip to main content
skill CX Codex

producthunt — Claude Code skill: what it does, how to install

Searches posts and launches on Product Hunt using the official GraphQL API. Helpful when tracking new products and discussions.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ReScienceLab/opc-skills --skill producthunt -a claude-code
Open on GitHub

What producthunt does

The skill queries Product Hunt through its official GraphQL API. It uses Python 3 scripts to fetch featured launches or download comments for a specific post ID.

It also pulls user profiles and inspects curated collections. Every action executes directly from the skill directory via python3 scripts/... commands.

You must set PRODUCTHUNT_ACCESS_TOKEN in your environment before running any script. The API enforces a rate limit of 6250 complexity points per 15 minutes, which will choke heavy requests.

What it helps with

  • fetch featured posts from Product Hunt for today
  • search topics and products by keyword via GraphQL API
  • retrieve discussion comments by post ID
  • check user profiles and their launched products

Example prompts for the agent

  • Get the top 10 posts in the ai topic from Product Hunt
  • Retrieve details and recent posts for user rrhoover
  • Fetch recent comments for post ID 12345

How to install producthunt

1Skills CLI (Vercel)

npx skills add ReScienceLab/opc-skills --skill producthunt -a claude-code

2Manually: put the files in place

~/.claude/skills/producthunt/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/producthunt/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about producthunt

How to install producthunt in Claude Code?

Run npx skills add ReScienceLab/opc-skills --skill producthunt -a claude-code in your terminal.

What does the producthunt skill do?

It gives your assistant a set of Python scripts to search posts, topics, users, and collections through the Product Hunt GraphQL API.

What credentials are required to use this skill?

You need a developer access token exported to your shell as PRODUCTHUNT_ACCESS_TOKEN.

Source text

SKILL.md · Apache-2.0
---
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`:
```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
```

### Collections
```bash
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

© ReScienceLab · Apache-2.0 · ReScienceLab/opc-skills

Similar skills

Everything for Marketing and content →

From the same set10

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor