Automated summary
This skill serves as a CLI reference for the paperpipe papi tool, enabling listing, searching, showing, and adding academic papers, and guides users to use MCP RAG tools only when the CLI is insufficient.
Strengths
- Fast paper access via CLI commands without LLM overhead
- Clear decision tree to choose the cheapest search method
- Supports adding papers via arXiv, URL, PDF, or BibTeX file
- Per-paper files (summary, equations, notes) for efficient lookup
Limitations
- Requires papi to be installed and configured in the environment
- BM25 and hybrid search require an index to be built first
- Relies on a local database (~/.paperpipe/ by default) that may not be accessible to the agent
Use this skill when you need to quickly check paper existence, get a summary or equations, or decide whether heavier RAG tools are warranted.
Do not use it for cross-paper synthesis questions or formal citation needs; instead, use dedicated skills like /papi-ask or /papi-ground.
Security analysis
SafeThe skill is a static CLI reference for the 'papi' tool, listing safe, non-destructive commands. Although it allows Bash, the instructions are informational and do not direct the agent to perform risky actions like data exfiltration, system modification, or obfuscated payloads.
No concerns found
How this analysis is madeExamples
List the papers currently in my paperpipe database using papi list. Then check if 'Attention Is All You Need' is present.Show me the summary of paper 1706.03762 (Attention Is All You Need) using papi show with the summary level.Add the paper 2303.13476 to my paperpipe database using papi add.name: papi description: CLI reference for paperpipe (papi). Use BEFORE MCP RAG tools. For listing, searching, showing, adding papers. allowed-tools: Read, Bash, Glob, Grep
Paper Reference Assistant (CLI)
Entry point skill. Use papi CLI first; MCP RAG tools only when CLI is insufficient.
For specialized workflows, invoke dedicated skills:
/papi-ask— RAG queries requiring synthesis/papi-verify— verify code against paper/papi-compare— compare papers for decision/papi-ground— ground responses with citations/papi-curate— create project notes
Setup
papi path # DB location (default ~/.paperpipe/; override via PAPER_DB_PATH)
papi list # available papers
papi list | grep -i "keyword" # check if paper exists before searching
When NOT to Use MCP RAG
- Paper name known →
papi show <paper> -l summary - Exact term search →
papi search --rg "term" - Checking equations →
papi show <paper> -l eq - Only use RAG when above methods fail or semantic matching required
Decision Tree
| Question | Tool |
|----------|------|
| "What does paper X say about Y?" | papi show X -l summary, then papi search --rg "Y" |
| "Does my code match the paper?" | /papi-verify skill |
| "Which paper mentions X?" | papi search --rg "X" first, then leann_search() if no hits |
| "Compare approaches across papers" | /papi-compare skill or papi ask |
| "Need citable quote with page number" | retrieve_chunks() (PQA MCP) |
| "Cross-paper synthesis" | papi ask "..." |
Search Commands
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 notes
Search Escalation (cheapest first)
papi search --rg "X"— exact text, fast, no LLMpapi search "X"— ranked BM25 (requirespapi index --backend searchfirst)papi search --hybrid "X"— ranked + exact boostleann_search()— semantic search, returns file paths for follow-upretrieve_chunks()— formal citations (DOI, page numbers)papi ask "..."— full RAG synthesis
MCP Tool Selection (when papi CLI insufficient)
| Tool | Speed | Output | Best For |
|------|-------|--------|----------|
| leann_search(index, query, top_k) | Fast | Snippets + file paths | Exploration, finding which paper to dig into |
| retrieve_chunks(query, index, k) | Slower | Chunks + formal citations | Verification, citing specific claims |
| papi ask "..." | Slowest | Synthesized answer | Cross-paper questions, "what does literature say" |
- Check indexes:
leann_list()orlist_pqa_indexes() - Embedding priority: Voyage AI → Google/Gemini → OpenAI → Ollama
Adding Papers
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
Per-Paper Files
Located at {db}/papers/{name}/:
| File | Best For |
|------|----------|
| equations.md | Code verification |
| summary.md | Understanding approach |
| source.tex | Exact definitions |
| notes.md | Implementation gotchas |
| figures/ | Architecture diagrams, plots |
If agent can't read ~/.paperpipe/, export to repo: papi export <papers...> --level equations --to ./paper-context/
Use --figures to include extracted figures in export.
See commands.md for full reference.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/paper-reference-assistant-cli-mm78nmyx/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/paper-reference-assistant-cli-mm78nmyx' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/paper-reference-assistant-cli-mm78nmyx/download' --output '.skill-downloads/paper-reference-assistant-cli-mm78nmyx/SKILL.md.part' && mv '.skill-downloads/paper-reference-assistant-cli-mm78nmyx/SKILL.md.part' '.skill-downloads/paper-reference-assistant-cli-mm78nmyx/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Read, Bash, Glob, Grep
Original excerpt: Setup
papi path # DB location (default ~/.paperpipe/; override via PAPER_DB_PATH)
papi list # available papers
papi list | grep -i "keyword" # check if paper exists before searching
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/paper-reference-assistant-cli-mm78nmyx/SKILL.md' && test -s '.skill-downloads/paper-reference-assistant-cli-mm78nmyx/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/papi' && cp -R '.skill-downloads/paper-reference-assistant-cli-mm78nmyx' '.claude/skills/papi'Cursor
test -f '.skill-downloads/paper-reference-assistant-cli-mm78nmyx/SKILL.md' && test -s '.skill-downloads/paper-reference-assistant-cli-mm78nmyx/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/papi' && cp -R '.skill-downloads/paper-reference-assistant-cli-mm78nmyx' '.cursor/skills/papi'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/paper-reference-assistant-cli-mm78nmyx'openskills read 'paper-reference-assistant-cli-mm78nmyx'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/paper-reference-assistant-cli-mm78nmyx/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Create Interactive Maps with kepler.gl
Data & AI
Create interactive map visualizations and export standalone HTML using the keplergl Python package. Use to plot geospatial data from DataFrames, GeoJSON, or CSV.
Agent-Driven Parameter Optimization
Data & AI
Guide for optimizing configurable systems with a measurable objective, using bounded trials and evidence-based recommendations.
ICP Visitor Outreach
Data & AI
Identify signed-up users matching the ideal customer profile but stalled, and draft personalized outreach to re-engage them.