Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/DJRHails/dotfilesnpx agentmods add skills/djrhails/dotfiles/import-papersWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/djrhails/dotfiles/import-papers)<a href="https://agentmods.dev/skills/djrhails/dotfiles/import-papers"><img src="https://agentmods.dev/badge/skills/djrhails/dotfiles/import-papers/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/djrhails/dotfiles/import-papers"><img src="https://agentmods.dev/badge/skills/djrhails/dotfiles/import-papers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.00765 |
| Opus 5.5 | $0.00030 | $0.00306 |
| Sonnet 5.5 | $0.00015 | $0.00153 |
| Haiku 4.5 | $0.00008 | $0.00076 |
Grade A, and why
import-papers scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Import Papers Skill
Process all PDFs in research/dump/, create bibtex entries, and move them to research/papers/.
Instructions
For each PDF in research/dump/:
-
Extract metadata using
pdftotext(first 30 lines only to avoid context overload):pdftotext "filename.pdf" - 2>&1 | head -30 -
Identify:
- Title (full, not truncated)
- Authors (first few primary authors)
- Year (infer from content or use the current year for recent papers)
- Venue (if clearly stated: conference/journal)
-
Generate citation key using format:
firstauthorYEARkeyword- Use lowercase only
- First author's last name
- Year
- One descriptive keyword from title
- Examples:
ren2015faster,choi2024neuromamba,park2024processing
-
Create bibtex entry matching existing format in
research/papers.bib:@article{citationkey, author = {Author One and Author Two and Author Three}, ejournal = {arXiv}, title = {Full Paper Title}, url = {https://arxiv.org/abs/XXXX.XXXXX}, year = {YYYY} }Use
@inproceedingsif it's a conference paper (like NIPS, ICML, etc.) with:@inproceedings{citationkey, author = {Authors}, booktitle = {Conference Name}, title = {Title}, year = {YYYY} } -
Append to papers.bib:
cat >> research/papers.bib << 'EOF' @article{citationkey, ... } EOF -
Move and rename PDF to
research/papers/:mv "research/dump/original.pdf" "research/papers/citationkey.pdf" -
Handle duplicates: If two PDFs are identical (same title), keep only one.
-
Verify after processing all files:
- List moved files:
ls -1 research/papers/ | tail -10 - Check dump is empty:
ls -1 research/dump/*.pdf 2>/dev/null || echo "empty"
- List moved files:
-
Run bibify.py to update the changelog and sync with Google Drive:
./bin/bibify.pyIf the output contains
Missing notes for, run bibify a second time — newly uploaded papers need a second pass to generate their note stubs.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 95 lines · 76 tokens per session scan A af783a3d8a6f
import-papers is a skill published in the GitHub repository DJRHails/dotfiles (2 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 765 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
md2pdf
Convert a Markdown file to PDF with GitHub-style formatting using the md2pdf tool.
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
gemini-document-processing
Guide for implementing Google Gemini API document processing - analyze PDFs with native vision to extract text, images, diagrams, charts, and tables. Use when processing documents, extracting structured data, summarizing PDFs, answering questions about document content, or converting documents to structured formats.…
open-notebook
Self-hosted, open-source alternative to Google NotebookLM for AI-powered research and document analysis. Use when organizing research materials into notebooks, ingesting diverse content sources (PDFs, videos, audio, web pages, Office documents), generating AI-powered notes and summaries, creating multi-speaker…
liteparse
Local document and PDF parsing with spatial text and bounding boxes. Use for extracting text from PDFs, DOCX, Office files, and images; OCR on scans; layout-preserved JSON for RAG; batch-ingesting paper folders; or page screenshots for multimodal agents — even when the user does not name liteparse. Prefer over…
pptx-posters
Create research posters using HTML/CSS that can be exported to PDF or PPTX. Use this skill ONLY when the user explicitly requests PowerPoint/PPTX poster format. For standard research posters, use latex-posters instead. This skill provides modern web-based poster design with responsive layouts and easy visual…