Loading...
Loading...
This skill should be used when the user wants to interact with their paper database — listing papers, searching content, showing paper details, adding papers, or exporting context. Matches queries like "search papers for X", "add this arXiv paper", "show equations from paper Y", "what papers do I have". Prefer CLI over MCP RAG tools for direct lookups.
npx skill4agent add hummat/paperpipe papipapi/papi-ask/papi-verify/papi-compare/papi-ground/papi-curatepapi path # DB location (default ~/.paperpipe/; override via PAPER_DB_PATH)
papi list # available papers
papi list | grep -i "keyword" # check if paper exists before searchingpapi show <paper> -l summarypapi search --rg "term"papi show <paper> -l eq| Question | Tool |
|---|---|
| "What does paper X say about Y?" | |
| "Does my code match the paper?" | |
| "Which paper mentions X?" | |
| "Compare approaches across papers" | |
| "Need citable quote with page number" | |
| "Cross-paper synthesis" | |
papi search --rg "query" # literal text match (fast, no LLM) — NOT regex by default!
papi search --rg --regex "pattern" # regex patterns (add --regex explicitly)
papi search "query" # ranked BM25
papi search --hybrid "query" # ranked + exact boost
papi search "query" -p paper1,paper2 # limit search to specific papers
papi ask "question" # PaperQA2 RAG
papi ask "question" --backend leann # LEANN RAG
papi notes {name} # open/print implementation notespapi search --rg "X"papi search "X"papi index --backend searchpapi search --hybrid "X"leann_search()retrieve_chunks()papi ask "..."| Tool | Speed | Output | Best For |
|---|---|---|---|
| Fast | Snippets + file paths | Exploration, finding which paper to dig into |
| Slower | Chunks + formal citations | Verification, citing specific claims |
| Slowest | Synthesized answer | Cross-paper questions, "what does literature say" |
leann_list()list_pqa_indexes()papi add 2303.13476 # arXiv ID
papi add https://arxiv.org/abs/... # URL
papi add 2303.13476 1706.03762 "Attention Is All You Need" # multiple at once (mixed sources OK)
papi add --pdf /path/to.pdf # local PDF
papi add --pdf "https://..." # PDF from URL
papi add --from-file papers.bib # bulk import{db}/papers/{name}/equations.mdsummary.mdsource.texnotes.mdpaper.pdffigures/~/.paperpipe/papi export <papers...> --level equations --to ./paper-context/--figuresreferences/commands.md