Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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

  • paperpile binary at ~/.local/bin/paperpile (Bun-compiled from ~/projects/paperpile-cli)
  • Valid auth cookies. If paperpile auth fails, refresh them automatically (no manual Cookie-Editor export needed): ${CLAUDE_SKILL_DIR}/scripts/refresh-auth.sh pulls 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.py takes 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 9222 to 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:

  • add auto-detects input type:
    • DOI (10.xxx) -- lookup metadata via Guru, create entry
    • Web URL (https://...) -- create entry with url:[] field (no --force needed)
    • 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, --pubtype for metadata
    • --force only needed for DOIs when Guru metadata is unavailable
  • edit updates metadata fields on existing items via sync API. Dry-run by default -- pass --confirm to apply.
  • fetch resolves a bibkey to PDF via Paperpile API + Google Drive download.
  • search scores against a local index cache. Run paperpile index first.
  • trash and label delete are dry-run by default -- pass --confirm to 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

  1. Parse citation string → extract author, title, journal, volume, page, year, DOI, SSRN ID
  2. Discover metadata: Guru title search → CrossRef → Ope
Полный SKILL.md на GitHub

Установить paperpile в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/institutional_access.mdreferences/proxy_urls.mdscripts/paperpile_scripts_test.pyscripts/poll_attachment.shscripts/refresh-auth.shscripts/resolve_pdf.pyscripts/resolve_pdf_test.pyscripts/warmup.sh

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить paperpile с