跳到正文
cccskills
免费在 GitHub 公开

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.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(13)

  • SKILL.md1.8 KB
  • .claude-plugin/plugin.json553 B
  • scripts/credential.py376 B
  • scripts/get_collection.py2.1 KB
  • scripts/get_collections.py2.0 KB
  • scripts/get_post_comments.py1.7 KB
  • scripts/get_post.py1.5 KB
  • scripts/get_posts.py2.3 KB
  • scripts/get_topic.py1.1 KB
  • scripts/get_topics.py1.4 KB
  • scripts/get_user_posts.py2.2 KB
  • scripts/get_user.py1.2 KB
  • scripts/producthunt_api.py6.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Checklist and automation guide for adding a new skill to the OPC Skills project. Ensures all required files, metadata, logos, and listings are created before release. Use when adding a new skill, publishing a skill, or preparing a skill for release.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月20日 更新

archive

免费

Archive session learnings, debugging solutions, and deployment logs to .archive/yyyy-mm-dd/ as indexed markdown with searchable tags. Use when completing a significant task, resolving a tricky bug, deploying, or when the user says "archive this". Maintains .archive/MEMORY.md index for cross-session knowledge reuse.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月20日 更新

Create banners using AI image generation. Discuss format/style, generate variations, iterate with user feedback, crop to target ratio. Use when user wants to create a banner, header, hero image, cover image, GitHub banner, Twitter header, or readme banner.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月20日 更新

Search domains, compare prices, find promo codes, get purchase recommendations. Use when user wants to buy a domain, check domain prices, find domain deals, compare registrars, or search for .ai/.com domains.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月20日 更新

Create logos using AI image generation. Discuss style/ratio, generate variations, iterate with user feedback, crop, remove background, and export as SVG. Use when user wants to create a logo, icon, favicon, brand mark, mascot, emblem, or design a logo.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月20日 更新

Generate and edit images using Google Gemini 3 Pro Image (Nano Banana Pro). Supports text-to-image, image editing, various aspect ratios, and high-resolution output (2K/4K). Use when user wants to generate images, create images, use Gemini image generation, or do AI image generation.

中文简介正在准备中。当前显示原文说明。

ReScienceLab/opc-skills18712026年10月20日 更新

查看 ReScienceLab 的全部技能

报告此技能的问题