Skip to content
Agentmart
Submit a tool

pdf

Extract text, tables, and metadata from scientific PDF papers and reports

Skill by lamm-mit

IndexedApache-2.0★ 250
Write a review

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/lamm-mit-pdf-e3f7a2

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.

We use your email only for this newsletter. Privacy

About

Extract text, tables, and metadata from scientific PDF papers and reports

Use cases: documents, research

No 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. 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 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/pdf

What's inside

Skill name
pdf
Description
Extract text, tables, and metadata from scientific PDF papers and reports
License
Apache-2.0
Instructions
50 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • metadata: must be a key/value mapping

Files (3)

  • SKILL.md
  • pdf_extract.cpython-313.pyc · scripts/__pycache__/
  • pdf_extract.py · scripts/

SKILL.md (first lines)

## Overview

PDF processing toolkit for extracting text, tables, and metadata from scientific papers, supplementary data files, and technical reports. Uses pdfplumber for high-fidelity text and table extraction with layout preservation, falling back to pypdf when pdfplumber is unavailable.

Supports page range selection for large documents and targeted extraction modes (text-only, tables-only, metadata-only) for efficient processing.

## Usage

```bash
# Extract everything from a PDF
python3 skills/pdf/scripts/pdf_extract.py --file /path/to/paper.pdf

# Extract only text from pages 1-5
python3 skills/pdf/scripts/pdf_extract.py --file /path/to/paper.pdf --pages "1-5" --extract text

# Extract tables only
python3 skills/pdf/scripts/pdf_extract.py --file /path/to/supplementary.pdf --extract tables

# Extract metadata only
python3 skills/pdf/scripts/pdf_extract.py --file /path/to/paper.pdf --extract metadata
```

## Output Format

```json
{
  "file": "/path/to/paper.pdf",
  "text": "Abstract\n\nWe present a novel approach to protein structure...",
  "tables": [
    [["Gene", "Expression", "p-value"], ["BRCA1", "2.4x", "0.001"]],
    [["Compound", "IC50 (nM)"], ["Compound A", "12.3"]]
  ],
  "metadata": {
    "title": "Novel Approach to Protein Structure Prediction",
    "author": "Smith et al.",
    "creation_date": "2024-01-15",
    "pages": 12
  },
  "page_count": 12
}
```

## Dependencies

Install with pip:
```bash
pip install pdfplumber pypdf
```

From lamm-mit/scienceclaw, Apache-2.0.

More from lamm-mit/scienceclaw

Signals

Stars
250
Forks
47
Open issues
1
Last commit (this folder)
Mar 14, 2026 (7 months ago)
Last release
Jun 23, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from lamm-mit

Cite this page

pdf skill. Agent Mart. https://agentmart.dev/skills/lamm-mit-pdf-e3f7a2 (last updated 2026-10-24)