literature-pdf-ocr-library
Search traceable academic papers, download legally accessible PDFs from arXiv and open-access sources, convert PDFs or page images to Markdown with a…
Skill by LigphiDonk
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ligphidonk-literature-pdf-ocr-library
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, backend, ml, research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 8
api.openalex.org· found in codeapi.semanticscholar.org· found in codearxiv.org· found in codecodeload.github.com· found in install commanddoi.org· found in codeexport.arxiv.org· found in codehuggingface.co· found in codendf9hcz2u2w8ucab.aistudio-app.com· found in code
Files it touches
~/.claude/skills/literature-pdf-ocr-library
What's inside
- Skill name
literature-pdf-ocr-library- Description
- Search traceable academic papers, download legally accessible PDFs from arXiv and open-access sources, convert PDFs or page images to Markdown with a PaddleOCR layout-parsing API (or local pdfminer fallback), and organize the results into an AI-readable literature library. Use when Claude Code needs to build a paper corpus, batch OCR PDFs to Markdown, ingest real literature into a knowledge base, fetch arXiv or Hugging Face paper leads, or turn a directory of papers into structured Markdown plus metadata.
- License
- MIT
- Instructions
- 82 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (9)
- SKILL.md
- openai.yaml · agents/
- source-strategy.md · references/
- literature_lib.cpython-313.pyc · scripts/__pycache__/
- build_library_index.py · scripts/
- ingest_literature_library.py · scripts/
- literature_lib.py · scripts/
- paddleocr_layout_to_markdown.py · scripts/
- search_and_download_papers.py · scripts/
SKILL.md (first lines)
# Literature PDF OCR Library
## Overview
Use this skill to build a real, traceable literature corpus instead of fabricating references or scraping arbitrary publisher pages. The default workflow is: narrow the topic, search official or stable APIs, download only legally accessible PDFs, run OCR or layout parsing, then emit a clean Markdown library with machine-readable metadata.
---
## Canonical Directory Layout
In **Oh My Paper projects**, the corpus always lives under **`.pipeline/literature/<corpus-name>/`**.
In standalone projects, use `research/literature/<corpus-name>/`.
Never dump papers into the root or a flat directory without a corpus name.
```text
.pipeline/
literature/
<corpus-name>/ ← one folder per topic/session, e.g. "humanoid-locomotion"
search_results.json ← raw search/ID-lookup results
library_index.json ← consolidated index for the whole corpus
library_index.jsonl
papers/
<arxiv-id>-<title-slug>/ ← one folder per paper
metadata.json
paper.pdf
ocr/ ← OCR output lives here, next to the PDF
paper/
doc_0.md ← main OCR markdown (PaddleOCR: multiple pages)
manifest.json
doc_0.md ← pdfminer fallback: single flat file
```
**Rules:**
- `--out-dir` always points to `.pipeline/literature/<corpus-name>/` — never to `.pipeline/literature/` directly.
- OCR output lives inside the paper's own folder (`papers/<slug>/ocr/`), not in a top-level `ocr/` directory.
- After OCR, record each paper's `ocr/` path in `literature_bank.md` so agents can read the actual content.
---
## Commands
```bash
# Download by arXiv IDs (recommended when IDs are known from web search)
python .claude/skills/literature-pdf-ocr-library/scripts/search_and_download_papers.py \
--arxiv-ids 2502.13817 2501.14459 \
--out-dir .pipeline/literature/my-corpus \
--download-pdfs
# Download by query
python .claude/skills/literature-pdf-ocr-library/scripts/search_and_download_papers.py \
--query "humanoid locomotion reinforcement learning" \
--out-dir .pipeline/literature/my-corpus \
--limit 20 --sources arxiv semanticscholar openalex hf_daily \
--download-pdfs
# OCR: PaddleOCR API (best quality)
export PADDLEOCR_TOKEN="<token>" # ask user, never hardcode
python .claude/skills/literature-pdf-ocr-library/scripts/paddleocr_layout_to_markdown.py \
.pipeline/literature/my-corpus/papers/*/paper.pdf \
--output-dir .pipeline/literature/my-corpus/papers \
--skip-existing
# OCR: pdfminer fallback (text-only, no layout — confirm with user first)
python .claude/skills/literature-pdf-ocr-library/scripts/paddleocr_layout_to_markdown.py \
.pipeline/literature/my-corpus/papers/*/paper.pdf \
--output-dir .pipeline/literature/my-corpus/papers \
--fallback-pdfminer
# Build index
python .claude/skills/literature-pdf-ocr-library/scripts/build_library_index.py \
--library-root .pipeline/literature/my-corpus
```
## Resources
- Read [source-strategy.md](./references/source-strategy.md) when you need source-specific behavior, file layout conventions, or legal constraints.
- Use `scripts/search_and_download_papers.py` for traceable search and PDF download (supports `--query` and `--arxiv-ids`).
- Use `scripts/paddleocr_layout_to_markdown.py` for single-file or batch OCR conversion (supports `--fallback-pdfminer`).
- Use `scripts/build_library_index.py` to generate `library_index.json` and `library_index.jsonl`.
- Use `scripts/ingest_literature_library.py` when the user wants the full ingestion workflow in one go.From LigphiDonk/Oh-my--paper, MIT.
More from LigphiDonk/Oh-my--paper
- 0.608score
inno-code-survey
LigphiDonk
Acquires missing code repositories for the selected idea (Phase A) and conducts comprehensive code survey mapping academic concepts to implementations (Phase…
SkillDFreshness: D★ 747Claude Code +9 - 0.608score
inno-pipeline-planner
LigphiDonk
Guides the user through an interactive conversation to define their research project, then generates research_brief.json and tasks.json.
SkillDFreshness: D★ 747Claude Code +9 - 0.608score
inno-idea-generation
LigphiDonk
Facilitates structured brainstorming sessions, conducts comprehensive research, and generates creative solutions using proven frameworks.
SkillDFreshness: D★ 747Claude Code +9 - 0.608score
inno-paper-writing
LigphiDonk
Creates formal academic research papers following IEEE/ACM formatting standards with proper structure, citations, and scholarly writing style.
SkillDFreshness: D★ 747Claude Code +9 - 0.526score
inno-reference-audit
LigphiDonk
This skill provides reference guidance for citation verification in academic writing.
SkillDFreshness: D★ 747Claude Code +9 - 0.526score
inno-figure-gen
LigphiDonk
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image).
SkillDFreshness: D★ 747Claude Code +9 - 0.526score
gemini-deep-research
LigphiDonk
Perform complex, long-running research tasks using Gemini Deep Research Agent.
SkillDFreshness: D★ 747Claude Code +9 - 0.526score
paper-analyzer
LigphiDonk
Deep analysis of a single paper — generate structured notes with figures, evaluation, and knowledge graph updates
SkillDFreshness: D★ 747Claude Code +9 - 0.526score
making-academic-presentations
LigphiDonk
Create academic presentation slide decks and optionally demo videos from research papers.
SkillDFreshness: D★ 747Claude Code +9 - 0.526score
paper-image-extractor
LigphiDonk
Extract figures from papers — prioritizes arXiv source package for high-quality images
SkillDFreshness: D★ 747Claude Code +9 - 0.526score
inno-experiment-dev
LigphiDonk
Creates implementation plan, writes project code with judge feedback loop, and submits final experiment run.
SkillDFreshness: D★ 747Claude Code +9 - 0.524score
inno-prepare-resources
LigphiDonk
Loads the evaluation instance, searches GitHub for related repositories, builds a dataset description, queries the Prepare Agent for reference codebases, and…
SkillDFreshness: D★ 747Claude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 747
- Forks
- 54
- Open issues
- 4
- Last commit (this folder)
- Apr 15, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/LigphiDonk/Oh-my--paper
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from LigphiDonk
- 0.608score
inno-code-survey
LigphiDonk
Acquires missing code repositories for the selected idea (Phase A) and conducts comprehensive code survey mapping academic concepts to implementations (Phase…
SkillDFreshness: D★ 747Claude Code +9 - 0.608score
inno-paper-writing
LigphiDonk
Creates formal academic research papers following IEEE/ACM formatting standards with proper structure, citations, and scholarly writing style.
SkillDFreshness: D★ 747Claude Code +9 - 0.608score
inno-idea-generation
LigphiDonk
Facilitates structured brainstorming sessions, conducts comprehensive research, and generates creative solutions using proven frameworks.
SkillDFreshness: D★ 747Claude Code +9 - 0.608score
inno-pipeline-planner
LigphiDonk
Guides the user through an interactive conversation to define their research project, then generates research_brief.json and tasks.json.
SkillDFreshness: D★ 747Claude Code +9 - 0.526score
inno-figure-gen
LigphiDonk
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image).
SkillDFreshness: D★ 747Claude Code +9 - 0.526score
gemini-deep-research
LigphiDonk
Perform complex, long-running research tasks using Gemini Deep Research Agent.
SkillDFreshness: D★ 747Claude Code +9
Cite this page
literature-pdf-ocr-library skill. Agent Mart. https://agentmart.dev/skills/ligphidonk-literature-pdf-ocr-library (last updated 2026-10-24)