Agent skill
papi-verify
Verify code against paper. Use when user asks "does this match the paper", "check my implementation", or is implementing equations/algorithms from literature.
Install this agent skill to your Project
npx add-skill https://github.com/hummat/paperpipe/tree/main/skills/papi-verify
SKILL.md
Verify Code Against Paper
You are given:
- Code (or a code excerpt), plus paper excerpts (paste
papi show ... --level ...output above, or reference exported files).
Project context (optional): $ARGUMENTS
Rules
- Prefer equations/LaTeX over summaries when there's a conflict.
- If a claim is not supported by provided excerpts, say: "Not supported by provided excerpts."
- For supported claims, include a short quote snippet (<= 15 words) and cite as: (paper: , arXiv: , source: summary|equations|tex|notes, ref: section/eq/table/figure if present)
Output
- Symbol mapping table: paper symbol/definition → code variable/tensor (include shapes/units if stated)
- Mismatches / risks (bulleted): missing terms, wrong sign/scale/normalization, shape bugs, hidden assumptions
- Fix plan: minimal code changes (or patch sketch) + suggested asserts/tests to lock correctness
End with: Cited papers: <comma-separated paper names and/or arXiv IDs>
For general CLI commands, see /papi.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
papi-init
Setup paperpipe agent integration. Use when user wants to add papi to a project's CLAUDE.md/AGENTS.md or initialize paper support.
papi-ask
Query papers using RAG (PaperQA2 or LEANN). Use when user needs synthesized answers from papers, asks "what does paper X say about Y", or needs cited responses.
papi-compare
Compare papers for a decision. Use when user asks "which paper should I use", "compare approaches", or needs to choose between methods/algorithms.
papi-curate
Create project notes from papers. Use when user wants to document paper findings, create implementation notes, or summarize papers for a project.
papi
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.
papi-ground
Ground responses in paper excerpts with citations. Use when user wants cited claims, quotes, or needs to avoid hallucination about paper content.
Didn't find tool you were looking for?