Read Pinterest boards and Pins and create new image Pins through the official Pinterest API v5. Use when the user mentions Pinterest, boards, Pins, visual…
by AceDataCloud★ 17 GitHub starsAbout this skill
Pinterest API v5
Use the official API through the bundled standard-library client. The user's
OAuth token is injected as $PINTEREST_TOKEN; never print it.
P="$SKILL_DIR/scripts/pinterest.py"
[ -f "$P" ] || P=$(find /tmp -maxdepth 8 -path '*/skills/*/pinterest/scripts/pinterest.py' 2>/dev/null | head -1)
[ -f "$P" ] || { echo "pinterest script not found" >&2; exit 1; }
python3 "$P" whoami
python3 "$P" boards --limit 25
python3 "$P" pins --board-id BOARD_ID --limit 25
Create an image Pin
Pinterest's content API is for new content created by the user. Do not copy or republish third-party images without authorization.
python3 "$P" create --board-id BOARD_ID --title "Title" \
--description "Description" --link "https://example.com/article" \
--image-url "https://cdn.example.com/pin.jpg"
python3 "$P" create --board-id BOARD_ID --title "Title" \
--description "Description" --link "https://example.com/article" \
--image-url "https://cdn.example.com/pin.jpg" --confirm
The first call is a dry run. Show the final image, title, description, board, and link to the user before the confirmed call. The image URL must be public HTTPS and point to content the user is entitled to publish.
Common failures:
| HTTP | Meaning | Action |
|---|---|---|
| 401 | Token expired or revoked | Reconnect Pinterest |
| 403 | Missing scope or app access | Ensure pins:write/boards:read were approved |
| 404 | Board not found | Re-list boards under the connected account |
| 429 | Pinterest rate limit | Stop and retry later; do not loop |
If a confirmed create ends with a network error, the result is unknown. Do not repeat it. List the target board's Pins and compare title/link before deciding whether a second create is safe.
After a confirmed create returns a real URL, record it once with
publish_artifact(kind="image", channel="pinterest", ...).
Install pinterest in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the pinterest skill do?
Read Pinterest boards and Pins and create new image Pins through the official Pinterest API v5. Use when the user mentions Pinterest, boards, Pins, visual distribution, or publishing a generated image to Pinterest.
How do I install the pinterest skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the pinterest skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic