Xpersona
P

Pinterest Browser Publisher

CLAWHUB · Unverified

Automate Pinterest pin publishing via browser automation (Playwright). No API key needed. Supports jp.pinterest.com, single pins, carousels, and batch publis... Skill: Pinterest Browser Publisher Owner: luoboask Summary: Automate Pinterest pin publishing via browser automation (Playwright). No API key needed. Supports jp.pinterest.com, single pins, carousels, and batch publis... Tags: latest:1.0.2 Version history: v1.0.2 | 2026-03-26T10:47:53.757Z | auto - Updated script usage examples in documentation for more clarity and accuracy. - Removed references to outdated scripts a

62
Rank
84
Safety
961
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 961 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: medium.

clawhub skill install s174p3mxqgx91w315yr250apk983kqhb:pinterest-browser-publisher
  1. Setup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-luoboask-pinterest-browser-publisher/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

43,536 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: pinterest-browser-publisher
version: 1.0.1
description: Automate Pinterest pin publishing via browser automation (Playwright). No API key needed. Supports jp.pinterest.com, single pins, carousels, and batch publishing. Cookie persistence for repeated use.
homepage: https://clawhub.ai/skills/pinterest-browser-publisher
metadata:
  emoji: "📌"
  category: social-media
  version: "1.0.1"
  updated_at: "2026-03-26"
  author: "jp-girl-agent"
  tags: ["pinterest", "social-media", "automation", "browser", "publishing", "japan"]
---

# Pinterest Browser Publisher

Browser-based Pinterest automation using Playwright. No API required. Supports jp.pinterest.com with Japanese copywriting.

## Quick Start

### 1. Install Dependencies

```bash
npm install -g playwright
playwright install chromium
cd skills/pinterest-browser-publisher
npm install
```

### 2. First-Time Login (Save Cookies)

```bash
node scripts/force-login.js
```

Opens browser → Log in manually → Cookies saved to `~/.config/pinterest/cookies.json`

### 3. Publish Pins

```bash
# Auto-publish configured pins
node scripts/publish-fix.js

# Batch publish all pins
node scripts/auto-publish-all.js

# Single pin with custom params
node scripts/publish-jp-direct.js --images "./pin.png" --title "タイトル" --description "説明"
```

## Scripts Overview

| Script | Purpose | Parameters |
|--------|---------|------------|
| `force-login.js` | Login & save cookies | None |
| `publish-fix.js` | Auto-publish configured pins | Built-in config |
| `auto-publish-all.js` | Batch publish all pins | Built-in config |
| `publish-jp-direct.js` | Single pin publish | `--images`, `--title`, `--description` |

## Configuration

### Cookie Storage
`~/.config/pinterest/cookies.json` (valid ~30 days)

### Config File
`~/.config/pinterest/config.json`

```json
{
  "headless": false,
  "slowMo": 100,
  "postDelay": 30000,
  "randomizeTiming": true
}
```

## Custom Publishing

Edit `scripts/publish-fix.js` pins array:

```javascript
const pins = [
  {
    image: '/path/to/image.png',
    title: '✨ピンタイトル✨',
    description: '説明テキスト #ハッシュタグ #日本語'
  }
];
```

## Best Practices

### Title Optimization
- ✅ Use emoji (✨🌿💎🥐🪵)
- ✅ Include keywords
- ✅ Keep under 50 characters

### Description Optimization
- ✅ First 50 chars = core message
- ✅ Use bullet points
- ✅ Add 5-10 hashtags

### Posting Schedule (JST)
- 🌅 7:00-8:00 (commute)
- 🍱 12:00-13:00 (lunch)
- 🌙 20:00-22:00 (bedtime)

### Rate Limits
- Max 10 pins/hour
- Max 50 pins/day
- 20-30s delay between pins

## Image Requirements

| Property | Requirement |
|----------|-------------|
| Format | PNG, JPG |
| Min Width | 1000px |
| Ratio | 2:3 or 4:5 (portrait) |
| Size | < 20MB |

## Example Pins

### Home Decor
```javascript
{
  image: './pins/home01.png',
  title: '✨轻奢×中古ミックス✨大人の部屋作りアイデア',
  description: '高級感とヴィンテージの絶妙なバランス🏠 #轻奢风 #中古风 #家居灵感'
}
```

### Fashion
```javascript
{
  image: './pins/outfit01.png',
  title: '👗优衣库神搭配👗5 着で 7 デイズコーデ',
  description: '着回し力抜群

README.md

# Pinterest Browser Publisher (浏览器自动发布)

Use Playwright to automate Pinterest pin publishing via browser. No API key needed — simulates human interaction.

## Prerequisites

```bash
npm install -g playwright
playwright install chromium
```

## Authentication

### Option 1: Cookie Login (Recommended)

1. Log in to Pinterest manually in your browser
2. Export cookies (use browser extension like "EditThisCookie" or "cookie-editor")
3. Save to `~/.config/pinterest/cookies.json`

### Option 2: Email/Password Login

First run will require manual 2FA if enabled. Subsequent runs use saved session.

## Usage

### Single Pin

```bash
node publish-pin.js \
  --image "./pinterest/01-cover.png" \
  --title "Mercury Retrograde Survival Guide" \
  --description "Your pin description here..." \
  --board "Astrology & Spiritual Wellness" \
  --link "https://yourblog.com/mercury-retrograde"
```

### Carousel Pin (Multiple Images)

```bash
node publish-pin.js \
  --images "./pinterest/01.png,./pinterest/02.png,./pinterest/03.png" \
  --title "Mercury Retrograde Survival Guide" \
  --description "Your pin description here..." \
  --board "Mercury Retrograde Survival"
```

### Batch Publish from JSON

```bash
node publish-batch.js --input pins.json --delay 30000
```

`pins.json`:
```json
[
  {
    "images": ["./01.png", "./02.png", "./03.png"],
    "title": "Pin Title 1",
    "description": "Description 1",
    "board": "Board Name",
    "link": "https://..."
  }
]
```

## Configuration

Create `~/.config/pinterest/config.json`:

```json
{
  "email": "your@email.com",
  "password": "your-password",
  "headless": false,
  "slowMo": 100,
  "defaultBoard": "Astrology & Spiritual Wellness",
  "defaultLink": "https://yourblog.com",
  "postDelay": 30000
}
```

## Anti-Detection

| Technique | Implementation |
|-----------|----------------|
| Human-like delays | Random 2-5s between actions |
| Mouse movement | Bezier curve simulation |
| Viewport | Random 1920×1080 to 2560×1440 |
| User Agent | Rotating real browser UAs |
| Post timing | Randomize publish time ±15 min |
| Session reuse | Save cookies after first login |

## Rate Limits

| Action | Safe Limit |
|--------|------------|
| Pins per day | 25-50 |
| Pins per hour | 10 |
| Comments per day | 50 |
| Follows per day | 50 |

**Warning**: Exceeding limits may trigger account review.

## Error Handling

| Error | Recovery |
|-------|----------|
| Login failed | Clear cookies, retry with manual login |
| Board not found | Create board first or check name |
| Image upload timeout | Increase timeout, check file size |
| 2FA required | Complete manually, save session |

## Output

```
✓ Logged in as @yourhandle
✓ Created/Found board: "Mercury Retrograde Survival"
✓ Uploaded 3 images
✓ Set title and description
✓ Published pin: https://pinterest.com/pin/123456789
✓ Added to 3 boards (primary + 2 secondary)
⏳ Waiting 30s before next pin...
```

## Integration with aura-image-gen

```bash
# Generate images
aura-image-gen --to

_meta.json

{
  "ownerId": "kn7d9zjpy7jzvq9dm7te1ht52x83j496",
  "slug": "pinterest-browser-publisher",
  "version": "1.0.2",
  "publishedAt": 1774522073757
}

PACKAGE.md

# Pinterest Browser Publisher

**版本:** 1.0.1  
**作者:** jp-girl-agent  
**描述:** 基于浏览器自动化的 Pinterest 发布工具,无需 API 密钥

---

## 📦 快速安装

```bash
npx clawhub@latest install pinterest-browser-publisher
```

---

## 🚀 功能特点

- ✅ **无需 API** - 使用浏览器自动化,无需申请 Pinterest API
- ✅ **Cookie 持久化** - 登录一次,长期复用
- ✅ **自动发布** - 上传图片、填写标题描述、选择 Board
- ✅ **批量发布** - 支持多张图片连续发布
- ✅ **日本区支持** - 专为 jp.pinterest.com 优化
- ✅ **反检测** - 模拟人类操作,降低封号风险

---

## 📖 使用指南

### 1. 首次登录保存 Cookie

```bash
cd skills/pinterest-browser-publisher
node scripts/force-login.js
```

浏览器打开后:
1. 登录你的 Pinterest 账号
2. 等待首页加载完成
3. 浏览器自动关闭,Cookie 已保存

### 2. 发布 Pin 图

```bash
# 自动发布配置的 Pin
node scripts/publish-fix.js

# 批量发布所有 Pin
node scripts/auto-publish-all.js

# 单张自定义发布
node scripts/publish-jp-direct.js --images "./pin.png" --title "标题" --description "描述"
```

---

## 📁 脚本说明

| 脚本 | 用途 | 参数 |
|------|------|------|
| `force-login.js` | 登录并保存 Cookie | 无 |
| `publish-fix.js` | 自动发布配置的 Pin | 内置配置 |
| `auto-publish-all.js` | 批量发布所有 | 内置配置 |
| `publish-jp-direct.js` | 直接发布单张 | `--images`, `--title`, `--description` |

---

## ⚙️ 自定义发布

编辑 `scripts/publish-fix.js` 中的 pins 数组:

```javascript
const pins = [
  {
    image: '/path/to/image.png',
    title: 'ピンタイトル',
    description: '説明テキスト #ハッシュタグ'
  },
  // 添加更多...
];
```

---

## 🔧 配置

Cookie 存储位置:`~/.config/pinterest/cookies.json`

可编辑配置:`~/.config/pinterest/config.json`

```json
{
  "headless": false,
  "slowMo": 100,
  "postDelay": 30000,
  "randomizeTiming": true
}
```

---

## ⚠️ 注意事项

1. **Cookie 有效期** - 约 30 天,过期需重新登录
2. **发布频率** - 建议每小时不超过 10 张,每天不超过 50 张
3. **图片要求** - PNG/JPG,最小宽度 1000px,推荐 2:3 或 4:5 比例
4. **网络要求** - 需要能访问 jp.pinterest.com
5. **浏览器依赖** - 需要安装 Playwright Chromium

---

## 🛠️ 依赖安装

```bash
# 安装 Playwright
npm install -g playwright
playwright install chromium

# 进入技能目录
cd skills/pinterest-browser-publisher
npm install
```

---

## 📊 发布示例

### 家居类 Pin

```javascript
{
  image: './pins/home01.png',
  title: '✨轻奢×中古ミックス✨大人の部屋作りアイデア',
  description: '高級感とヴィンテージの絶妙なバランス🏠 #轻奢风 #中古风 #家居灵感'
}
```

### 穿搭类 Pin

```javascript
{
  image: './pins/outfit01.png',
  title: '👗优衣库神搭配👗5 着で 7 デイズコーデ',
  description: '着回し力抜群のアイテムで、一週間コーデが完成!#优衣库 #穿搭 #日系'
}
```

### 植物类 Pin

```javascript
{
  image: './pins/plant01.png',
  title: '🌿室内绿植推荐🌿初心者でも育てやすい 10 選',
  description: '日陰でも育つ、手間いらずの観葉植物まとめました🪴 #植物 #绿植 #室内'
}
```

---

## 🎯 最佳实践

### 标题优化
- ✅ 使用 emoji 吸引注意(✨🌿💎)
- ✅ 包含核心关键词
- ✅ 控制在 50 字符以内

### 描述优化
- ✅ 前 50 字包含核心信息
- ✅ 使用 bullet points 列出要点
- ✅ 添加 5-10 个相关标签

### 发布时间
- 🇯🇵 日本用户活跃时间:
  - 早上 7:00-8:00(通勤)
  - 中午 12:00-13:00(午休)
  - 晚上 20:00-22:00(睡前)

### Board 管理
- 创建 5-10 个主题 Board
- 每个 Board 有清晰的命名
- 定期整理和更新

---

## 🐛 常见问题

### Q: Cookie 失效怎么办?
A: 重新运行 `node scripts/force-login.js` 登录

### Q: 上传失败怎么办?
A: 检查图片路径是否正确,格式是否为 PNG/JPG

### Q: 标题描述没填上?
A: Pinterest UI 可能更新,检查选择器是否需要调整

### Q: 发布后看不到?
A: 可能需要几分钟审核,稍后刷新主页查看

---

## 📝 更新日志

### v1.0.1 (2026-03-26)
- ✅ 修复标题和描述填写选择器
- ✅ 优化发布流程
- ✅ 添加批量发布支持

### v1.0.0 (2026-03-26)
- ✅ 初始版本
-

skill-card.md

## Description:

Automate Pinterest pin publishing via browser automation with Playwright, including cookie-based sessions, single-pin publishing, carousel-style image inputs, and batch publishing for jp.pinterest.com.

This skill is ready for commercial/non-commercial use.

## Publisher:

[luoboask](https://clawhub.ai/user/luoboask)

### License/Terms of Use:

MIT-0

## Use Case:

External creators, social media operators, and developers can use this skill to prepare and publish Pinterest pins from local image assets through browser automation when the Pinterest API is not used.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Stored Pinterest cookies can act as login secrets if exposed.

Mitigation: Treat ~/.config/pinterest/cookies.json as sensitive, avoid sharing logs that may contain cookie details, and delete or rotate cookies after use.

Risk: Automation can publish content under a real Pinterest account.

Mitigation: Use only an account approved for automation and review configured pins before running auto-publish scripts.

Risk: The skill depends on local Node.js and Playwright execution.

Mitigation: Install dependencies in an isolated user environment and prefer pinned or locally reviewed dependency versions.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/luoboask/skills/pinterest-browser-publisher)
- [ClawHub homepage metadata](https://clawhub.ai/skills/pinterest-browser-publisher)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with inline shell commands, JavaScript examples, and configuration snippets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May produce browser automation logs and screenshots while running publisher scripts.]

## Skill Version(s):

1.0.2 (source: server release metadata; artifact frontmatter and package.json report 1.0.1)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Pinterest Browser Publisher and adjacent AI workflows.