🤖
Instapaper
Use when operating the instapaper-cli (ip) tool or troubleshooting it: authenticating, listing/exporting/importing bookmarks, bulk mutations, folders/highlights/text, choosing output formats (ndjson/json/plain), cursor-based sync, and interpreting stderr-json/exit codes for automation.
安全通过
技能说明
name: instapaper description: "Use when operating the instapaper-cli (ip) tool or troubleshooting it: authenticating, listing/exporting/importing bookmarks, bulk mutations, folders/highlights/text, choosing output formats (ndjson/json/plain), cursor-based sync, and interpreting stderr-json/exit codes for automation."
Instapaper CLI
Overview
Use this skill to handle Instapaper operations via the ip CLI (which must be installed and available in PATH), especially when you need reliable automation, structured output, or troubleshooting guidance.
Install the CLI
- Go install:
go install github.com/vburojevic/instapaper-cli/cmd/ip@latest - Homebrew:
brew tap vburojevic/tap && brew install instapaper-cli - From source:
go build ./cmd/ip(run as./ip)
Workflow (fast path)
-
Verify setup
- Ensure
INSTAPAPER_CONSUMER_KEYandINSTAPAPER_CONSUMER_SECRETare set or passed during login. - Prefer
--password-stdinfor auth; never store the password. - Run
ip doctor --json(orip auth status) before long jobs.
- Ensure
-
Pick output format for automation
- Default is
--ndjson(streaming, one object per line). - Use
--jsonfor single objects or compact arrays. - Use
--plainfor stable, line-oriented text. - Add
--stderr-jsonfor structured errors and--progress-jsonfor long runs.
- Default is
-
Read data deterministically
- Use
listorexportwith--cursor/--cursor-diror--since/--untilbounds. - Use
--updated-sincefor incremental sync. - Use
--selectfor client-side filtering when the API does not support it.
- Use
-
Mutate safely
- Use
--dry-runor--idempotentwhen possible. - For bulk actions, use
--idsor--stdinand consider--batch. - Deletions require explicit confirmation flags.
- Use
-
Handle extras
- Text view:
ip textfor article HTML. - Highlights:
ip highlights list/add/delete. - Folders:
ip folders list/add/delete/order.
- Text view:
-
Troubleshoot
- Use
--debugfor request timing and status. - Use
--stderr-jsonand mapexit_codeto action.
- Use
Command reference
Read these when you need exact flags, formats, or examples:
references/commands.md: command-by-command examples for auth, list/export/import, mutations, folders, highlights, and text.references/output-and-sync.md: output formats, progress streams, cursor/bounds syntax, and filtering.references/errors.md: exit codes and structured stderr error codes.
Guardrails
- Avoid
--format tablefor parsing; it is for humans only. - Use
--outputor--output-dirfor large exports to avoid stdout pressure. - Prefer
--password-stdinon Windows to avoid echoing passwords.
如何使用「Instapaper」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Instapaper」技能完成任务
- 结果即时呈现,支持继续对话优化