producthunt

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Product Hunt Skill

Product Hunt Skill

Overview

概述

Automates Product Hunt operations including discovering products, upvoting, commenting, and tracking launches through browser automation.
通过浏览器自动化来完成Product Hunt的各类操作,包括产品发现、点赞、评论以及发布跟踪。

Quick Install

快速安装

bash
curl -sSL https://canifi.com/skills/producthunt/install.sh | bash
Or manually:
bash
cp -r skills/producthunt ~/.canifi/skills/
bash
curl -sSL https://canifi.com/skills/producthunt/install.sh | bash
或者手动安装:
bash
cp -r skills/producthunt ~/.canifi/skills/

Setup

配置

Configure via canifi-env:
bash
undefined
通过canifi-env进行配置:
bash
undefined

First, ensure canifi-env is installed:

首先,确保canifi-env已安装:

canifi-env set PRODUCTHUNT_EMAIL "your-email@example.com" canifi-env set PRODUCTHUNT_PASSWORD "your-password"
undefined
canifi-env set PRODUCTHUNT_EMAIL "your-email@example.com" canifi-env set PRODUCTHUNT_PASSWORD "your-password"
undefined

Privacy & Authentication

隐私与认证

Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭证,由你掌控。 Canifi LifeOS尊重你的隐私。

Option 1: Manual Browser Login (Recommended)

选项1:手动浏览器登录(推荐)

If you prefer not to share credentials with Claude Code:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭证:
  1. 完成基于CDP模式的浏览器自动化配置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. Claude将使用你的已认证会话,全程不会获取你的密码

Option 2: Environment Variables

选项2:环境变量

If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭证,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
注意:存储在canifi-env中的凭证仅能在你的本地机器上访问,绝不会被传输至其他地方。

Capabilities

功能

  • Browse daily product launches
  • Upvote products
  • Comment on launches
  • Follow makers and topics
  • Search products
  • View collections
  • Access upcoming launches
  • Track product rankings
  • 浏览每日产品发布
  • 为产品点赞
  • 对发布内容进行评论
  • 关注创作者和话题
  • 搜索产品
  • 查看合集
  • 访问即将发布的产品
  • 跟踪产品排名

Usage Examples

使用示例

Example 1: Browse Today's Products

示例1:浏览今日产品

User: "Show me today's top products on Product Hunt"
Claude: I'll check today's launches.
- Navigate to producthunt.com
- View today's products
- Sort by upvotes
- Present top launches
用户:“给我看看Product Hunt上今日的热门产品”
Claude:我将查看今日的发布内容。
- 导航至producthunt.com
- 查看今日产品
- 按点赞数排序
- 展示热门发布内容

Example 2: Upvote Product

示例2:为产品点赞

User: "Upvote that new AI tool on Product Hunt"
Claude: I'll upvote that product.
- Find the product listing
- Click upvote button
- Confirm upvote registered
- Note current ranking
用户:“给Product Hunt上那款新的AI工具点赞”
Claude:我将为该产品点赞。
- 找到产品列表
- 点击点赞按钮
- 确认点赞已成功记录
- 记录当前排名

Example 3: Comment on Launch

示例3:对发布内容评论

User: "Leave a supportive comment on this launch"
Claude: I'll add that comment.
- Navigate to product page
- Click comment section
- Write supportive message
- Post comment
用户:“在这个发布内容下留一条支持的评论”
Claude:我将添加这条评论。
- 导航至产品页面
- 点击评论区
- 撰写支持性留言
- 发布评论

Example 4: Search Products

示例4:搜索产品

User: "Find productivity tools on Product Hunt"
Claude: I'll search for those.
- Navigate to search
- Search "productivity"
- Filter by category
- Present top results
用户:“在Product Hunt上找生产力工具”
Claude:我将进行搜索。
- 导航至搜索页面
- 搜索“productivity”
- 按分类筛选
- 展示热门结果

Authentication Flow

认证流程

  1. Navigate to producthunt.com via Playwright MCP
  2. Click login and select email option
  3. Enter email and password from canifi-env
  4. Handle 2FA if enabled (notify user via iMessage)
  5. Verify feed access
  6. Maintain session cookies
  1. 通过Playwright MCP导航至producthunt.com
  2. 点击登录并选择邮箱登录选项
  3. 从canifi-env中读取邮箱和密码并输入
  4. 若启用了两步验证,将通过iMessage通知用户
  5. 验证是否可访问信息流
  6. 保存会话Cookie

Error Handling

错误处理

  • Login Failed: Clear cookies, verify credentials
  • Session Expired: Re-authenticate automatically
  • 2FA Required: iMessage for verification code
  • Already Upvoted: Cannot upvote twice
  • Rate Limited: Wait before continuing
  • Product Not Found: Search with alternative terms
  • Comment Failed: Check community guidelines
  • Launch Not Live: Product may be scheduled
  • 登录失败:清除Cookie,验证凭证
  • 会话过期:自动重新认证
  • 需要两步验证:通过iMessage发送验证码请求
  • 已点赞:无法重复点赞
  • 请求受限:等待后再继续操作
  • 未找到产品:使用替代关键词搜索
  • 评论失败:检查社区指南
  • 发布未上线:产品可能处于预定状态

Self-Improvement Instructions

自我改进说明

When encountering new Product Hunt features:
  1. Document new UI elements
  2. Add support for new interaction types
  3. Log successful engagement patterns
  4. Update for platform changes
当遇到Product Hunt的新功能时:
  1. 记录新的UI元素
  2. 添加对新交互类型的支持
  3. 记录成功的交互模式
  4. 根据平台更新进行适配

Notes

注意事项

  • Daily product rankings reset at midnight PT
  • Upvotes from accounts with history carry more weight
  • Makers can answer comments
  • Collections curate themed products
  • Golden Kitty Awards annual event
  • Upcoming section for pre-launch products
  • Maker profiles build credibility
  • 每日产品排名于太平洋时间午夜重置
  • 有历史记录的账号点赞权重更高
  • 创作者可以回复评论
  • 合集用于整理主题相关产品
  • 年度Golden Kitty Awards活动
  • “即将发布”板块展示预发布产品
  • 创作者档案可提升可信度