nuoyimanaituling/manus-x
Process PDF files - extract text, read content, create PDFs, merge or split documents.
PDF parsing, text extraction, and document format conversion
$ npx skills add wentorai/research-plugins --skill pdf-extraction-guide -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wentorai/research-plugins pdf-extraction-guide --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/tools/document/pdf-extraction-guide .claude/skills/pdf-extraction-guide && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "pdf-extraction-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/tools/document/pdf-extraction-guide into .claude/skills/pdf-extraction-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-extraction-guide", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/wentorai/research-plugins/tree/main/skills/tools/document/pdf-extraction-guideType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add wentorai/research-plugins --skill pdf-extraction-guide -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wentorai/research-plugins pdf-extraction-guide --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/tools/document/pdf-extraction-guide .agents/skills/pdf-extraction-guide && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pdf-extraction-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/tools/document/pdf-extraction-guide into .agents/skills/pdf-extraction-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-extraction-guide", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill pdf-extraction-guide -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wentorai/research-plugins pdf-extraction-guide --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/tools/document/pdf-extraction-guide .cursor/skills/pdf-extraction-guide && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pdf-extraction-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/tools/document/pdf-extraction-guide into .cursor/skills/pdf-extraction-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-extraction-guide", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/wentorai/research-plugins.git --path skills/tools/document/pdf-extraction-guide--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add wentorai/research-plugins --skill pdf-extraction-guide -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wentorai/research-plugins pdf-extraction-guide --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/tools/document/pdf-extraction-guide .gemini/skills/pdf-extraction-guide && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pdf-extraction-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/tools/document/pdf-extraction-guide into .gemini/skills/pdf-extraction-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-extraction-guide", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install wentorai/research-plugins pdf-extraction-guideInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add wentorai/research-plugins --skill pdf-extraction-guide -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/tools/document/pdf-extraction-guide .github/skills/pdf-extraction-guide && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pdf-extraction-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/tools/document/pdf-extraction-guide into .github/skills/pdf-extraction-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-extraction-guide", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill pdf-extraction-guide -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wentorai/research-plugins pdf-extraction-guide --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/tools/document/pdf-extraction-guide .opencode/skills/pdf-extraction-guide && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pdf-extraction-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/tools/document/pdf-extraction-guide into .opencode/skills/pdf-extraction-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pdf-extraction-guide", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
pdf-extraction-guidePDF parsing, text extraction, and document format conversion
PDF Extraction Guide is an agent skill from wentorai/research-plugins. PDF parsing, text extraction, and document format conversion
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Documents & Office, covering PDF. It works with pypdf. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pandocpipFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
tei-c.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
PDF Extraction Guide loads about 2.5k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 278 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 278 words, ~2,507 tokens.
.claude/skills/pdf-extraction-guide/SKILL.md (or your agent's skills folder).Extract text, tables, figures, and metadata from academic PDFs using Python libraries, with strategies for handling multi-column layouts, mathematical content, and scanned documents.
| Tool | Text | Tables | Figures | Layout | OCR | Speed |
|---|---|---|---|---|---|---|
| PyMuPDF (fitz) | Excellent | Manual | Yes | Blocks | No (add with OCR engine) | Fast |
| pdfplumber | Good | Excellent | No | Tables focus | No | Medium |
| PyPDF2 / pypdf | Basic | No | No | No | No | Fast |
| Tabula-py | No | Excellent | No | No | No | Medium |
| GROBID | Structured | Yes | References | Academic layout | No | Slow (ML-based) |
| Nougat (Meta) | Excellent | Yes | Yes | Academic layout | Built-in | Slow (GPU) |
| Marker | Excellent | Yes | Yes | Multi-column | Built-in | Medium |
| pdf2image + Tesseract | Via OCR | Via OCR | Via OCR | No | Yes | Slow |
import fitz # pip install PyMuPDF
def extract_text(pdf_path):
"""Extract all text from a PDF with page numbers."""
doc = fitz.open(pdf_path)
full_text = []
for page_num, page in enumerate(doc, 1):
text = page.get_text("text")
full_text.append(f"--- Page {page_num} ---\n{text}")
doc.close()
return "\n".join(full_text)
# Usage
text = extract_text("paper.pdf")
print(text[:2000])def extract_structured(pdf_path):
"""Extract text with layout information (blocks, lines, spans)."""
doc = fitz.open(pdf_path)
pages = []
for page_num, page in enumerate(doc):
blocks = page.get_text("dict")["blocks"]
page_data = {"page": page_num + 1, "blocks": []}
for block in blocks:
if "lines" not in block:
continue # Skip image blocks
block_text = ""
max_font_size = 0
is_bold = False
for line in block["lines"]:
for span in line["spans"]:
block_text += span["text"]
max_font_size = max(max_font_size, span["size"])
if "Bold" in span.get("font", ""):
is_bold = True
block_text += "\n"
page_data["blocks"].append({
"text": block_text.strip(),
"font_size": max_font_size,
"is_bold": is_bold,
"bbox": block["bbox"] # (x0, y0, x1, y1)
})
pages.append(page_data)
doc.close()
return pages
# Identify section headings
pages = extract_structured("paper.pdf")
for page in pages:
for block in page["blocks"]:
if block["is_bold"] and block["font_size"] > 11:
print(f"[Heading] {block['text'][:80]}")def extract_images(pdf_path, output_dir="./images"):
"""Extract all images from a PDF."""
import os
os.makedirs(output_dir, exist_ok=True)
doc = fitz.open(pdf_path)
img_count = 0
for page_num, page in enumerate(doc):
images = page.get_images(full=True)
for img_idx, img in enumerate(images):
xref = img[0]
pix = fitz.Pixmap(doc, xref)
if pix.n - pix.alpha > 3: # CMYK
pix = fitz.Pixmap(fitz.csRGB, pix)
filename = f"{output_dir}/page{page_num+1}_img{img_idx+1}.png"
pix.save(filename)
img_count += 1
doc.close()
print(f"Extracted {img_count} images to {output_dir}")import pdfplumber
def extract_tables(pdf_path):
"""Extract all tables from a PDF."""
tables = []
with pdfplumber.open(pdf_path) as pdf:
for page_num, page in enumerate(pdf.pages):
page_tables = page.extract_tables()
for table_idx, table in enumerate(page_tables):
tables.append({
"page": page_num + 1,
"table_index": table_idx,
"data": table
})
return tables
# Convert extracted table to pandas DataFrame
import pandas as pd
tables = extract_tables("paper.pdf")
for t in tables:
if t["data"]:
df = pd.DataFrame(t["data"][1:], columns=t["data"][0])
print(f"\nTable on page {t['page']}:")
print(df.to_string())GROBID uses machine learning to parse academic PDFs into structured TEI XML.
import requests
def parse_with_grobid(pdf_path, grobid_url="http://localhost:8070"):
"""Parse a paper PDF using GROBID."""
with open(pdf_path, "rb") as f:
response = requests.post(
f"{grobid_url}/api/processFulltextDocument",
files={"input": f},
data={"consolidateHeader": 1, "consolidateCitations": 1}
)
if response.status_code == 200:
return response.text # TEI XML
else:
raise Exception(f"GROBID error: {response.status_code}")
# Parse the TEI XML
from lxml import etree
tei_xml = parse_with_grobid("paper.pdf")
root = etree.fromstring(tei_xml.encode())
ns = {"tei": "http://www.tei-c.org/ns/1.0"}
# Extract title
title = root.find(".//tei:titleStmt/tei:title", ns)
print(f"Title: {title.text if title is not None else 'N/A'}")
# Extract abstract
abstract = root.find(".//tei:profileDesc/tei:abstract", ns)
if abstract is not None:
print(f"Abstract: {abstract.text}")
# Extract references
refs = root.findall(".//tei:listBibl/tei:biblStruct", ns)
print(f"References found: {len(refs)}")
for ref in refs[:5]:
title_elem = ref.find(".//tei:title", ns)
print(f" - {title_elem.text if title_elem is not None else 'N/A'}")Split documents into semantically meaningful chunks for retrieval-augmented generation:
def chunk_academic_paper(pdf_path, max_chunk_size=1000, overlap=200):
"""Chunk an academic paper by sections with overlap."""
pages = extract_structured(pdf_path)
# Identify sections
sections = []
current_section = {"heading": "Preamble", "text": ""}
for page in pages:
for block in page["blocks"]:
if block["is_bold"] and block["font_size"] > 11 and len(block["text"]) < 100:
if current_section["text"].strip():
sections.append(current_section)
current_section = {"heading": block["text"], "text": ""}
else:
current_section["text"] += block["text"] + "\n"
if current_section["text"].strip():
sections.append(current_section)
# Split long sections into overlapping chunks
chunks = []
for section in sections:
text = section["text"]
if len(text) <= max_chunk_size:
chunks.append({
"heading": section["heading"],
"text": text,
"chunk_index": 0
})
else:
words = text.split()
start = 0
chunk_idx = 0
while start < len(words):
end = start + max_chunk_size // 5 # Approximate words
chunk_text = " ".join(words[start:end])
chunks.append({
"heading": section["heading"],
"text": chunk_text,
"chunk_index": chunk_idx
})
start = end - overlap // 5 # Overlap in words
chunk_idx += 1
return chunks# Using Pandoc (most versatile converter)
pandoc paper.md -o paper.pdf --pdf-engine=xelatex
# With template and bibliography
pandoc paper.md -o paper.pdf \
--pdf-engine=xelatex \
--template=ieee.tex \
--bibliography=references.bib \
--citeproc \
--number-sections
# Markdown to Word (for collaborators who prefer Word)
pandoc paper.md -o paper.docx --reference-doc=template.docx# Install Marker (ML-based PDF to Markdown converter)
pip install marker-pdf
# Convert a single PDF
marker_single paper.pdf output_dir/ --langs English
# Batch convert
marker output_dir/ input_dir/ --workers 4from pdf2image import convert_from_path
import pytesseract
def ocr_pdf(pdf_path, lang="eng"):
"""OCR a scanned PDF using Tesseract."""
images = convert_from_path(pdf_path, dpi=300)
full_text = []
for i, image in enumerate(images):
text = pytesseract.image_to_string(image, lang=lang)
full_text.append(f"--- Page {i+1} ---\n{text}")
return "\n".join(full_text)
# For academic papers with math, use specialized OCR:
# - Mathpix API (commercial, excellent math OCR)
# - Nougat (Meta, open source, GPU required)
# - LaTeX-OCR (open source, formula-specific)page.get_text() to detect if a PDF is text-based or scanned. If empty, use OCR.sort parameter in get_text("blocks") helps with reading order. GROBID and Marker handle this natively.doc.metadata) when available.© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/tools/document/pdf-extraction-guide of wentorai/research-plugins.
Open the folder on GitHubat commit bf44b3c
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.
PDF Extraction Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| PDF Extraction Guide this skillwentorai/research-plugins | 298 | 1 repos | ~2.5k | Automated safety check: Pass | MIT | |
| PDFnuoyimanaituling/manus-x | 830 | — | ~985 | Automated safety check: Pass | None | |
| PDFeinverne/dotfiles | 121 | 47 repos | ~1.8k | Automated safety check: Pass | Proprietary | |
| Reportlabjimmc414/Kosmos | 595 | 1 repos | ~4.2k | Automated safety check: Pass | None | |
| PDFguyi-a/pi-ling | 106 | — | ~3.3k | Automated safety check: Pass | MIT | |
| PDF ReadingWide-Moat/open-computer-use | 126 | 1 repos | ~2.7k | Automated safety check: Pass | Proprietary |
nuoyimanaituling/manus-x
Process PDF files - extract text, read content, create PDFs, merge or split documents.
einverne/dotfiles
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms.
jimmc414/Kosmos
PDF generation toolkit. An agent skill from jimmc414/Kosmos.
guyi-a/pi-ling
PDF 相关的所有操作:从零生成(reportlab / pypdf)、格式转化(md/html → PDF)、修改(合并 / 拆分 / 旋转 / 加水印 / 提图片 / 元数据)、读内容(pdfplumber / extractdocumenttext)、OCR 扫描件、加密解密。触发场景:用户说"生成 PDF" / "做份 PDF 简历" / "合并这几份 PDF" / "给 PDF…
Wide-Moat/open-computer-use
A skill your agent uses when you need to read, inspect, or extract content from PDF files — especially when file content is NOT in your context and you need to read it from disk.
LeastBit/Claude_skills_zh-CN
全面的 PDF 操作工具包,用于提取文本和表格、创建新 PDF、合并/拆分文档以及处理表单。当 Claude 需要填写 PDF 表单或以编程方式大规模处理、生成或分析 PDF 文档时使用。
wentorai/research-plugins
Craft structured research abstracts that maximize clarity and journal acceptance
wentorai/research-plugins
Manage academic citations across BibTeX, APA, MLA, and Chicago formats
wentorai/research-plugins
Summarize academic papers with structured extraction of key elements
wentorai/research-plugins
Evidence-based study techniques for academic learning and retention
wentorai/research-plugins
Adjust writing tone and register for academic audiences and venues
wentorai/research-plugins
Academic translation, post-editing, and Chinglish correction guide
Works with
Categories
PDF parsing, text extraction, and document format conversion. PDF Extraction Guide is an agent skill from wentorai/research-plugins.
PDF Extraction Guide fits situations like: tasks that involve PDF.
Run `npx skills add wentorai/research-plugins --skill pdf-extraction-guide -a claude-code`. Or copy the skill folder (skills/tools/document/pdf-extraction-guide in wentorai/research-plugins) into .claude/skills/pdf-extraction-guide in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wentorai/research-plugins --skill pdf-extraction-guide -a codex`. Or copy the skill folder (skills/tools/document/pdf-extraction-guide in wentorai/research-plugins) into .agents/skills/pdf-extraction-guide in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill pdf-extraction-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pdf-extraction-guide, .gemini/skills/pdf-extraction-guide, .github/skills/pdf-extraction-guide and .opencode/skills/pdf-extraction-guide in your project.
Going by SKILL.md and its folder, PDF Extraction Guide needs the command-line tools its instructions call (pandoc and pip). Our summary lists: Python 3.
SKILL.md names 1 domain. In commands or code: tei-c.org; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
PDF Extraction Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with PDF Extraction Guide: PDF (nuoyimanaituling/manus-x, 830 stars), PDF (einverne/dotfiles, 121 stars), Reportlab (jimmc414/Kosmos, 595 stars) and PDF (guyi-a/pi-ling, 106 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.
Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.