Agent skill
pinboard-manager
Use this skill for ALL Pinboard bookmark management tasks — this is the go-to skill whenever Pinboard (pinboard.in) is involved. Invoke immediately when the user wants to: audit or reorganize messy tags, check for broken/dead links, identify stale or outdated bookmarks, clean up their bookmark collection, or manage their Pinboard account in any way. Also use when the user says 整理书签, 检查死链, 整理 tag, 书签管理, pinboard cleanup, bookmark audit, tag consistency, timeliness check, pinboard 过时检测. Do NOT trigger for: browser bookmark management, Raindrop.io, or general URL checking without Pinboard context.
Install this agent skill to your Project
npx add-skill https://github.com/niracler/skill/tree/main/skills/workflow/pinboard-manager
Metadata
Additional technical details for this skill
- openclaw
-
{ "emoji": "\ud83d\udccc", "requires": { "env": [ "PINBOARD_AUTH_TOKEN" ], "bins": [ "curl" ] } }
SKILL.md
Pinboard Manager
Interactive Pinboard bookmark management with tag auditing, dead link detection, and content timeliness checking.
Prerequisites
| Tool | Type | Required | How to get |
|---|---|---|---|
| Pinboard account | service | Yes | pinboard.in |
PINBOARD_AUTH_TOKEN |
env var | Yes | See user-config.md |
curl |
cli | Yes | Built-in on macOS/Linux |
Do NOT proactively verify these tools on skill load. If a command fails due to a missing tool or token, directly guide the user through setup step by step.
First-Time Setup
If ~/.config/nini-skill/pinboard-manager/tag-convention.md does not exist, run the
Tag Convention Generator before any other mode:
- Fetch all bookmarks via the Pinboard API
- Analyze existing tags: frequency, patterns, languages, potential typos
- Present findings to the user:
- Top 30 tags by frequency
- Tags that look like typos or duplicates
- Chinese/non-English tags that may need English equivalents
- Tags with inconsistent casing or separators
- Ask the user about their preferred categories (tech, life, culture, etc.)
- Generate
~/.config/nini-skill/pinboard-manager/tag-convention.mdbased on the analysis and user input, following the structure inreferences/tag-convention.example.md - Confirm with the user before saving
An example convention is provided at
references/tag-convention.example.mdfor reference. Users should customize it to match their own bookmarking habits.
Mode Selection
| User Intent | Mode | Section |
|---|---|---|
| 「pinboard 整理 tag」「pinboard audit」「整理书签」 | Tag Audit | Tag Audit Mode |
| 「pinboard 检查死链」「pinboard check links」 | Dead Link Detection | Dead Link Detection Mode |
| 「pinboard 检查时效」「pinboard timeliness check」「pinboard 过时检测」 | Timeliness Check | Timeliness Check Mode |
API Helpers
All Pinboard API calls use these patterns:
Fetch bookmarks
# Fetch all bookmarks
curl -s "https://api.pinboard.in/v1/posts/all?auth_token=$PINBOARD_AUTH_TOKEN&format=json"
# Fetch bookmarks with toread=yes
curl -s "https://api.pinboard.in/v1/posts/all?auth_token=$PINBOARD_AUTH_TOKEN&format=json&toread=yes"
# Fetch a specific bookmark by URL
curl -s "https://api.pinboard.in/v1/posts/get?auth_token=$PINBOARD_AUTH_TOKEN&format=json&url=ENCODED_URL"
Update a bookmark (overwrite mode)
CRITICAL: Always pass ALL fields to avoid data loss. The /posts/add endpoint overwrites the entire bookmark.
curl -s "https://api.pinboard.in/v1/posts/add?auth_token=$PINBOARD_AUTH_TOKEN&format=json&url=ENCODED_URL&description=ENCODED_TITLE&extended=ENCODED_NOTES&tags=ENCODED_TAGS&shared=ORIGINAL_SHARED&toread=ORIGINAL_TOREAD&replace=yes"
Required fields to preserve:
url— the bookmark URL (identifier)description— titleextended— notes/descriptiontags— space-separated tag listshared—yesornotoread—yesornoreplace— MUST beyesto update existing
Delete a bookmark
curl -s "https://api.pinboard.in/v1/posts/delete?auth_token=$PINBOARD_AUTH_TOKEN&format=json&url=ENCODED_URL"
Rate limiting
Pinboard recommends at most 1 API call per 3 seconds. When making multiple calls (batch updates, link checks), add sleep 3 between calls.
posts/allspecial limit: This endpoint is rate-limited to once every 5 minutes. Cache the result in/tmp/pinboard_all.jsonand reuse it within the same session. If both Tag Audit and Dead Link Detection are run consecutively, reuse the cached file.
Tag Audit Mode
Audit bookmarks against the tag convention, present issues in batches, apply fixes with confirmation.
See references/tag-audit.md for the complete 5-step workflow.
Dead Link Detection Mode
Check all bookmarks for broken URLs via HTTP HEAD/GET, report results for user action.
See references/dead-link.md for the complete 5-step workflow.
Timeliness Check Mode
Identify outdated tech bookmarks using heuristic pre-filtering + AI content analysis via Jina Reader. Does NOT auto-delete -- all actions require user confirmation.
See references/timeliness.md for the complete 7-step workflow.
Common Errors
| Error | Cause | Fix |
|---|---|---|
PINBOARD_AUTH_TOKEN not set |
Env var missing | See user-config.md |
403 Forbidden on API calls |
Invalid or expired token | Re-check token at Pinboard settings |
429 Too Many Requests |
Rate limit exceeded | Increase sleep between calls; posts/all is limited to once per 5 min |
| Partial update lost data | Missing fields in /posts/add |
Always pass ALL original fields with replace=yes |
| Jina Reader empty response | Site blocks Jina Reader or URL is broken | Skip this bookmark, mark as "unable to fetch" |
| Jina Reader timeout | Slow site or network issue | Skip and continue with next candidate |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
request-refactor-plan
Create a detailed refactor plan with tiny commits via user interview, then file it as a GitHub issue. Use when user wants to plan a refactor, create a refactoring RFC, or break a refactor into safe incremental steps.
review
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/PRD asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".
writing-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
setup-matt-pocock-skills
Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's issue tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-issues`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the issue tracker, triage labels, or domain docs.
Didn't find tool you were looking for?