bip-lit
Unified guidance for using the bipartite reference library CLI. Use when searching for papers, reading or summarizing one (shared notes in nexus papers/)…
от matsen★ 35 звёзд на GitHub
Установить bip-lit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Bip Reference Library
The library (~6000 papers) lives in the nexus repo (nexus_path in ~/.config/bip/config.yml); most relevant papers are already there.
bip <cmd> --help is the reference for flags, ID formats, and output modes; this skill carries only what the help can't.
An argument (/bip-lit <query>, or /bip-lit find <query> with find dropped) is the query for the steps below.
Find a paper, answer a question about one
- Search locally first, always with
--human(the default JSON is easy to mis-scan):
If it errors (e.g.bip search "BME Felsenstein likelihood" -a "Gascuel" --humanno such column), runbip rebuildand retry; the SQLite layer is rebuilt from JSONL. - Found it → read the PDF, not the abstract or S2/ASTA metadata.
The path is
bip config pdf-root --human(per machine;$BIP_PDF_ROOToverrides) plus thePDF:field ofbip get <id> --human. An entry with aURL:and noPDF:is a web page (an essay or blog post with no DOI): read it at that URL. Read theSupplements:it lists too: methods numbers (data size, training budget, per-condition tables) are often only there. On Linux, a listed PDF missing from disk is usually a fresh import that the rclone mount has not listed yet, and no cache setting lists it soon enough: copy it straight from the remote instead of waiting. A PDF replaced in Paperpile (a revised version) can still read as the old file through the mount. Ifrclone lsl "<remote path>"(below) shows a different size or time fromls -lon the mounted file, copy it from the remote the same way.findmnt -no SOURCE,TARGET -T <pdf-root>gives the remote and its mount point (on pax,gdrive:and~/gdrive). The remote path is the remote, then pdf-root below the mount point, then thePDF:field (on pax,gdrive:Paperpile/<PDF:>). Runrclone copyto "<remote path>" "<scratchpad>/<file>"and read that copy, which is the journal version. Ifrclone copytodoesn't find it either, or the paper isn't in the library, read a legal open-access copy:bip s2 lookup <id> --fields openAccessPdf(the library key, orDOI:/ARXIV:for a paper not in it) gives its URL and status, and an arXiv preprint is athttps://arxiv.org/pdf/<id>. Put each download in its own new directory (mktemp -d -p <scratchpad>), and never clear one: to redo a fetch, make a new directory. Never chaincd X; rm: whencdfails,rmruns in the current directory, usually a repo root. Note which version you read (published, author manuscript, preprint) and cite its sections rather than journal pages; this is for reading only, and Paperpile stays the library of record. Fall back to the abstract only if neither exists, say the note is abstract-only, and give the user the DOI link to add the paper.- Text: pdf-navigator MCP —
search_pdf_textto find the page, thenread_pdf_text. Keeps column order and inline math, and is searchable;pdftotextinterleaves two-column text, so a correct quote can fail to match. To check a quote and its page, search a phrase of five words or fewer from within one line of it: an exact search misses across a line-break hyphen ("se- quence"). - Figures, panels, rendered equations, tables: built-in
Readon the 1–3 pages that hold them. It renders pages as images, so never the whole paper. Ifbip getshowsPaper notes:, read that shared nexus file first and go to the PDF only for what it doesn't answer. The group's in-progress manuscripts are not in the library; each has a summary atnexus/papers/ms-<owner>-<repo>.md, kept by its ms session. Read it before the TeX. Whatever you learn from the paper goes intonexus/papers/<id>.md(create it if absent; format inpapers/README.mdthere), not only into your project's notes; commit and push nexus. Write a note on Opus, so that every note comes from one model. To hand the reading to an agent, start ageneral-purposeagent withmodel: opus, notpdf-question-answerer, which runs on Sonnet.
- Text: pdf-navigator MCP —
- Before concluding it's absent, run an exact-match check (
-a "LastName"with one distinctive title word) rather than another keyword permutation. A--doimiss proves nothing: a DOI from ASTA or S2 often names a different version (preprint or journal) from the one the library stores. No truncation notice (showing M) means you saw every match for those tokens, not that the paper is absent. - Not found, or the search needs to be wider → ASTA, without asking:
bip asta searchormcp__asta__*. Broaden by dropping terms and trying synonyms, then trace citations of a related paper (bip asta citations <id>).
Writing queries
bip search is exact-token AND matching, unstemmed, so one inflected or half-remembered word zeroes out a query.
Keep queries short and use distinctive method names ("WEIGHBOR", "FASTME"), not descriptions.
In bip search, put people in -a, not the query: `"Tim Yu
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл bip-lit?
Unified guidance for using the bipartite reference library CLI. Use when searching for papers, reading or summarizing one (shared notes in nexus papers/), managing the library, or exploring literature via S2/ASTA.
Как установить скилл bip-lit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bip-lit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
GitHubFind, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
build-evidence-map
GitHubBuild an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
pinecone-rag
GitHubBuild production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
qdrant-monitoring-debugging
GitHubDiagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…