paperpile
БесплатноЗапускает вложенные скриптыНе проверенUse when the user asks to "add paper", "paperpile add", "fetch PDF for", "find and add", "search paperpile", "find in paperpile", "paperpile search", "label…
от edwinhu★ 28 звёзд на GitHubОб этом скилле
Paperpile
What this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
Manage your Paperpile library and resolve citations to PDFs via the paperpile CLI.
CLI-first — this is the whole point of the skill. Every library operation (add, search,
fetch, label, edit, trash, auth) goes through the paperpile CLI, which is pure HTTP. Never
drive the Paperpile web app (app.paperpile.com) via browser automation to add or manage
references — it is slower, the React forms reject synthetic input, and the CLI already does it.
If the CLI fails, it is almost always stale auth — refresh cookies (below), do not reach for the browser.
Prerequisites
paperpilebinary at~/.local/bin/paperpile(Bun-compiled from~/projects/paperpile-cli)- Valid auth cookies. If
paperpile authfails, refresh them automatically (no manual Cookie-Editor export needed):${CLAUDE_SKILL_DIR}/scripts/refresh-auth.shpulls the cookies from the logged-in browser over CDP (:9222 by default — the everyday browser, Chromium on Linux), imports them, and verifies. - For PDF resolution: a browser on CDP.
resolve_pdf.pytakes the first REACHABLE port from, in order,--cdp-port,$PAPERPILE_CDP_PORT, :9250 (the dedicated automation profile at~/.config/chrome-cdp) and :9222 (the everyday browser). The everyday browser is often the one actually logged in, so it is tried rather than assumed absent — pass--cdp-port 9222to force it.
Library Management
| Need | Command |
|---|---|
| Verify auth | paperpile auth |
| Import cookies | paperpile auth import ~/cookies.json |
| Index/refresh library | paperpile index --refresh |
| Search library | paperpile search "proxy voting" |
| Download PDF by item ID | paperpile download <item_id> |
| Fetch PDF by bibkey | paperpile fetch Smith2024-ab |
| Add by DOI | paperpile add 10.1016/j.jfineco.2024.01.001 |
| Add web source by URL | paperpile add https://example.com/article |
| Add remote PDF | paperpile add https://example.com/report.pdf |
| Add local PDF | paperpile add /path/to/report.pdf |
| Attach PDF to an EXISTING item | paperpile attach <bibkey-or-_id> /path/to/report.pdf --confirm |
| Add DOI stub (no metadata) | paperpile add <doi> --force |
| List labels | paperpile label list |
| Create label | paperpile label create "My Label" |
| Apply label | paperpile label apply "My Label" Smith2024-ab |
| Remove label | paperpile label remove "My Label" Smith2024-ab |
| Delete label | paperpile label delete "My Label" --confirm |
| Trash item | paperpile trash Smith2024-ab --confirm |
| Restore from trash | paperpile trash Smith2024-ab --restore --confirm |
| Edit metadata | paperpile edit Smith2024-ab --title "..." --author "..." --year 2024 --confirm |
Key behaviors:
addauto-detects input type:- DOI (
10.xxx) -- lookup metadata via Guru, create entry - Web URL (
https://...) -- create entry withurl:[]field (no--forceneeded) - Remote PDF URL (
https://.../*.pdf) -- download PDF, copy to Google Drive, attach to entry - Local PDF (
/path/to/*.pdf) -- copy to Google Drive sync folder, create entry with PDF attached - All modes accept
--title,--author,--year,--pubtypefor metadata --forceonly needed for DOIs when Guru metadata is unavailable
- DOI (
editupdates metadata fields on existing items via sync API. Dry-run by default -- pass--confirmto apply.fetchresolves a bibkey to PDF via Paperpile API + Google Drive download.searchscores against a local index cache. Runpaperpile indexfirst.trashandlabel deleteare dry-run by default -- pass--confirmto execute.
Find and Add
One command: citation string → paper in Paperpile with PDF.
paperpile find-and-add "<citation>" [--doi DOI] [--ssrn ID] [--title T] [--author A] [--year Y] [--journal J] [--volume V] [--page P] [--json] [--no-pdf]
Examples
# Law review article (HeinOnline)
paperpile find-and-add "Robertson, Passive in Name Only, 36 Yale J. on Reg. 795 (2019)"
# SSRN working paper
paperpile find-and-add --ssrn 5093097
# Paper with known DOI
paperpile find-and-add --doi 10.1016/j.jfineco.2024.01.001
# Multi-author law review
paperpile find-and-add "Montagnes, Peskowitz and Sridharan, How Well Do Voting Choice Policies Represent Public and Investor Preferences, SSRN 5093097 (2024)"
What it does
- Parse citation string → extract author, title, journal, volume, page, year, DOI, SSRN ID
- Discover metadata: Guru title search → CrossRef → Ope
Установить paperpile в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл paperpile?
Use when the user asks to "add paper", "paperpile add", "fetch PDF for", "find and add", "search paperpile", "find in paperpile", "paperpile search", "label paper", "trash paper", "download paper", "paperpile index", "edit paper metadata", "update paper title", "fix paper author", "paperpile edit", "find PDF online", "search google for PDF", "resolve PDF", "fetch PDF for citation", "get full-text for DOI", "resolve cite to PDF", or any request to manage their Paperpile library or resolve a citation to a local PDF.
Как установить скилл paperpile?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл paperpile запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic