home / skills / openclaw / skills / pinterest

pinterest skill

/skills/0xs4m1337/pinterest

This skill helps you search and browse Pinterest, extract high-resolution images, and send them directly in chat for inspiration.

npx playbooks add skill openclaw/skills --skill pinterest

Review the files below or copy the command above to add this skill to your agents.

Files (5)
SKILL.md
3.2 KB
---
name: pinterest
description: Search and browse Pinterest pins, get pin details, and send actual images to the user via Telegram/messaging. Use when the user wants to find inspiration, search for images/ideas, or browse Pinterest content. Sends images directly, not just links.
---

# Pinterest Skill

Search, browse, and share Pinterest pins — sends actual images to chat, not just links.

## Quick Search & Send Images

### Step 1: Search Pinterest
```
browser action=navigate url="https://www.pinterest.com/search/pins/?q=YOUR+SEARCH+TERMS"
browser action=snapshot
```

### Step 2: Get High-Res Image URLs
From the snapshot, find image URLs. Pinterest images follow this pattern:
- Thumbnail: `https://i.pinimg.com/236x/...`
- Medium: `https://i.pinimg.com/564x/...`
- **High-res: `https://i.pinimg.com/originals/...`**

To get high-res: replace `236x` or `564x` with `originals` in the URL.

### Step 3: Send Images to User
**Send actual image (not link!):**
```
message action=send media="https://i.pinimg.com/originals/xx/xx/image.jpg" message="Pin description here"
```

**Send multiple images:**
```
message action=send media="https://i.pinimg.com/originals/..." message="Option 1: Modern minimal"
message action=send media="https://i.pinimg.com/originals/..." message="Option 2: Cozy rustic"
```

## Detailed Pin Workflow

1. **Navigate** to Pinterest search
2. **Snapshot** to see results
3. **Click** on a pin for details (gets larger image)
4. **Screenshot** the pin detail page OR extract originals URL
5. **Send image** via message tool with `media=` parameter

### Getting Original Images
When on a pin detail page:
- Look for `<img>` with `src` containing `i.pinimg.com`
- Convert to originals: `https://i.pinimg.com/originals/{hash}.jpg`

## Example: "Find me minimalist desk setups"

```
# 1. Search
browser action=navigate url="https://www.pinterest.com/search/pins/?q=minimalist+desk+setup"
browser action=snapshot

# 2. Extract image URLs from snapshot (look for i.pinimg.com)
# 3. Convert to high-res originals

# 4. Send images
message action=send media="https://i.pinimg.com/originals/ab/cd/ef123.jpg" message="Clean white desk with plant 🌿"
message action=send media="https://i.pinimg.com/originals/gh/ij/kl456.jpg" message="Wooden desk, natural light ☀️"
```

## Alternative: Screenshot Method

If image URL extraction is tricky, screenshot the pin:
```
browser action=navigate url="https://www.pinterest.com/pin/123456/"
browser action=screenshot
# Then send the screenshot file
message action=send filePath="/path/to/screenshot.jpg" message="Here's the pin!"
```

## API Method (For User's Own Content)

Requires OAuth token setup — see `references/oauth-setup.md`

```bash
export PINTEREST_ACCESS_TOKEN="your_token"
python3 scripts/pinterest_api.py boards
python3 scripts/pinterest_api.py board-pins <board_id>
python3 scripts/pinterest_api.py pin <pin_id>
```

## Key Points

- ✅ **Always send images directly** using `media=` parameter
- ✅ Use `originals` URLs for high-res
- ❌ Don't just send links — send the actual image
- 💡 If URL doesn't work, screenshot the pin and send that

## References

- OAuth setup: `references/oauth-setup.md`
- API endpoints: `references/api-reference.md`

Overview

This skill lets you search, browse, and share Pinterest pins directly in chat by sending the actual images (not just links). It finds pin images from search or pin detail pages, converts them to high-resolution originals, and delivers them via messaging or Telegram. Use it to quickly gather visual inspiration and send ready-to-view images to users or channels.

How this skill works

The skill navigates Pinterest search or individual pin pages and snapshots the results to locate i.pinimg.com image URLs. It converts thumbnail or medium URLs to high-res originals by replacing size segments (e.g., 236x or 564x) with originals. If URL extraction fails, it falls back to taking a screenshot of the pin detail page and sending that file. Finally, it sends images using the messaging tool with media parameters so recipients receive the image itself.

When to use it

  • User needs visual inspiration (design, decor, fashion, recipes).
  • Collect multiple high-resolution images to present options or mood boards.
  • Share Pinterest content directly in chat or Telegram without requiring recipients to open links.
  • Extract images from a specific pin or search query for design reviews or feedback.
  • Automate archival or backup of publicly visible pin images for reference.

Best practices

  • Prefer extracting i.pinimg.com URLs and converting to /originals/ for best quality.
  • If a pin blocks direct image access, capture a screenshot of the pin detail page and send that file.
  • Include short descriptive captions when sending images to provide context or comparison.
  • Respect copyright and user ownership; use images only for permitted purposes and attribute when required.
  • Rate-limit or paginate search results to avoid excessive requests and reduce blocking risk.

Example use cases

  • Find and send 3–6 minimalist desk setup images to a client for selection.
  • Search ‘spring outfit ideas’ and deliver high-res pins with captions via Telegram.
  • Archive board images by iterating board pins and saving original URLs for backup.
  • Quickly share recipe pin images in chat when a user asks for meal inspiration.
  • Screenshot and send a pin when the original URL is inaccessible due to protections.

FAQ

Will this send image files or only links?

It sends actual image files using media parameters; links are not used as substitutes.

How do you get high-resolution images?

Replace size segments like 236x or 564x in i.pinimg.com URLs with originals to access high-res images.

What if the image URL is blocked or missing?

Fall back to taking a screenshot of the pin detail page and sending the screenshot file to the user.