pinterest

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Pinterest Skill

Pinterest Skill

Overview

概述

Automates Pinterest operations including creating pins, managing boards, discovering content, and analyzing engagement through browser automation.
通过浏览器自动化实现Pinterest操作自动化,包括创建图钉、管理看板、发现内容以及分析互动数据。

Quick Install

快速安装

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

Setup

配置

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

First, ensure canifi-env is installed:

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

canifi-env set PINTEREST_EMAIL "your-email@example.com" canifi-env set PINTEREST_PASSWORD "your-password"
undefined
canifi-env set PINTEREST_EMAIL "your-email@example.com" canifi-env set PINTEREST_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

功能

  • Create and publish pins
  • Create and organize boards
  • Save pins to boards
  • Follow accounts and boards
  • Search for inspiration
  • Access analytics (business accounts)
  • Schedule pins
  • Manage pin descriptions and links
  • 创建并发布图钉
  • 创建并整理看板
  • 将图钉保存至看板
  • 关注账号和看板
  • 搜索灵感内容
  • 访问分析数据(企业账号)
  • 预约发布图钉
  • 管理图钉描述和链接

Usage Examples

使用示例

Example 1: Create a Pin

示例1:创建图钉

User: "Pin this image to my Travel board"
Claude: I'll create that pin.
- Navigate to pinterest.com
- Click Create > Create Pin
- Upload image
- Add title and description
- Select Travel board
- Publish pin
用户:"把这张图片钉到我的Travel看板"
Claude:我来创建这个图钉。
- 导航至pinterest.com
- 点击创建 > 创建图钉
- 上传图片
- 添加标题和描述
- 选择Travel看板
- 发布图钉

Example 2: Create New Board

示例2:创建新看板

User: "Create a Pinterest board called 'Home Decor Ideas'"
Claude: I'll create that board.
- Navigate to profile
- Click Create board
- Name it "Home Decor Ideas"
- Set visibility (public/secret)
- Confirm creation
用户:"创建一个名为'Home Decor Ideas'的Pinterest看板"
Claude:我来创建这个看板。
- 导航至个人主页
- 点击创建看板
- 命名为"Home Decor Ideas"
- 设置可见性(公开/私密)
- 确认创建

Example 3: Search and Save

示例3:搜索并保存

User: "Find and save recipe pins to my Recipes board"
Claude: I'll find recipe pins.
- Search for recipes
- Browse results
- Save interesting pins to Recipes board
- Confirm pins saved
用户:"找到食谱图钉并保存到我的Recipes看板"
Claude:我来查找食谱图钉。
- 搜索食谱内容
- 浏览结果
- 将感兴趣的图钉保存至Recipes看板
- 确认图钉已保存

Example 4: Check Pin Performance

示例4:查看图钉表现

User: "Show me how my pins performed this week"
Claude: I'll check your analytics.
- Navigate to Analytics section
- Gather impressions and engagement
- List top performing pins
- Present weekly summary
用户:"展示我这周的图钉表现"
Claude:我来查看你的分析数据。
- 导航至分析板块
- 收集曝光量和互动数据
- 列出表现最佳的图钉
- 呈现周度总结

Authentication Flow

认证流程

  1. Navigate to pinterest.com via Playwright MCP
  2. Enter email and password from canifi-env
  3. Handle 2FA if enabled (notify user via iMessage)
  4. Verify home feed access
  5. Maintain session cookies
  1. 通过Playwright MCP导航至pinterest.com
  2. 从canifi-env中读取邮箱和密码并输入
  3. 若启用了双因素认证(2FA),通过iMessage通知用户
  4. 验证是否可访问主页信息流
  5. 维持会话Cookie

Error Handling

错误处理

  • Login Failed: Clear cookies, verify credentials
  • Session Expired: Re-authenticate automatically
  • 2FA Required: iMessage for verification code
  • Pin Failed: Check image format and size
  • Board Not Found: List available boards
  • Rate Limited: Implement backoff
  • Content Blocked: Check community guidelines
  • Link Invalid: Verify destination URL
  • 登录失败:清除Cookie,验证凭证
  • 会话过期:自动重新认证
  • 需要2FA:通过iMessage发送验证码请求
  • 图钉创建失败:检查图片格式和大小
  • 未找到看板:列出可用看板
  • 请求受限:实现退避机制
  • 内容被屏蔽:检查社区准则
  • 链接无效:验证目标URL

Self-Improvement Instructions

自我改进说明

When encountering new Pinterest features:
  1. Document new UI elements
  2. Add support for new pin types
  3. Log successful pinning patterns
  4. Update for Pinterest changes
当遇到Pinterest的新功能时:
  1. 记录新的UI元素
  2. 添加对新图钉类型的支持
  3. 记录成功的图钉创建模式
  4. 根据Pinterest的更新进行适配

Notes

注意事项

  • Business accounts have analytics
  • Rich Pins require setup
  • Idea Pins are different from standard
  • Scheduling requires business account
  • SEO important for pin discovery
  • Video pins have different specs
  • Shop features for ecommerce
  • 企业账号可使用分析功能
  • 富媒体图钉(Rich Pins)需要提前配置
  • Idea Pins与标准图钉不同
  • 预约发布功能需要企业账号
  • SEO对图钉发现至关重要
  • 视频图钉有不同的规格要求
  • 电商用户可使用店铺功能