# Producthunt > Busca y obtiene contenido de Product Hunt: posts, temas, usuarios y colecciones mediante la API GraphQL oficial. Fuente: https://skillsagentes.com/skills/resciencelab/opc-skills/producthunt Markdown: https://skillsagentes.com/skills/resciencelab/opc-skills/producthunt.md Repositorio: https://github.com/ReScienceLab/opc-skills Autor: ReScienceLab Licencia: Apache-2.0 Actualizado: hace 7 meses Coste de contexto: 43 tok instalada, 467 tok al activarse, 6.3k tok con todos los archivos del bundle Bundle: 13 archivos, 25 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add ReScienceLab/opc-skills --skill producthunt --agent claude-code # Cursor npx -y skills add ReScienceLab/opc-skills --skill producthunt --agent cursor # Codex npx -y skills add ReScienceLab/opc-skills --skill producthunt --agent codex # Gemini CLI npx -y skills add ReScienceLab/opc-skills --skill producthunt --agent gemini # Windsurf npx -y skills add ReScienceLab/opc-skills --skill producthunt --agent windsurf # Cline npx -y skills add ReScienceLab/opc-skills --skill producthunt --agent cline ``` ## Qué hace - Consulta la API GraphQL de Product Hunt para obtener posts, temas, usuarios y colecciones - Busca posts destacados por fecha, tema o slug/ID - Obtiene comentarios de un post, perfil de usuario y sus posts - Busca y lista temas y colecciones destacadas ## Cuándo usarla - El usuario menciona Product Hunt, PH o lanzamientos de productos - Se necesita buscar posts, temas, usuarios o colecciones de Product Hunt ## Qué la activa - "Muéstrame los posts destacados de hoy en Product Hunt" - "Busca el post de chatgpt en Product Hunt" - "Dame los posts del usuario rrhoover en Product Hunt" - "Lista temas populares en Product Hunt sobre AI" ## Antes de instalar - Requiere un token de acceso de desarrollador de Product Hunt configurado como PRODUCTHUNT_ACCESS_TOKEN. - Necesita en el PATH: python3 - Variables de entorno: PRODUCTHUNT_ACCESS_TOKEN - makes network requests - needs API credentials ## Archivos - .claude-plugin/plugin.json — 553 B - SKILL.md — 2 KB - scripts/credential.py — 376 B - scripts/get_collection.py — 2 KB - scripts/get_collections.py — 2 KB - scripts/get_post.py — 2 KB - scripts/get_post_comments.py — 2 KB - scripts/get_posts.py — 2 KB - scripts/get_topic.py — 1 KB - scripts/get_topics.py — 1 KB - scripts/get_user.py — 1 KB - scripts/get_user_posts.py — 2 KB - scripts/producthunt_api.py — 6 KB ## SKILL.md Reproducido tal cual desde ReScienceLab/opc-skills bajo Apache-2.0. Esta sección es el documento original y está en inglés. # 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 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 ## Dónde encaja - Categoría: [Investigación](https://skillsagentes.com/categorias/investigacion.md) — Investigación estructurada, búsqueda de fuentes y síntesis. - Creador: [ReScienceLab](https://skillsagentes.com/creators/resciencelab.md) — 12 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)