Agent skill · Audited from source
Grobid Pdf Parsing
skill · brycewang-stanford/Auto-Empirical-Research-SkillsNOASSERTION licenceAudited 8 Oct 2026 · source e1ba289846fd
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit e1ba289846fd and found no filesystem, network or shell access and no hard-coded secrets. What it does: Extract structured text, metadata, and references from academic PDFs
Cite
Cite this page
ModelsAtlas. “Grobid Pdf Parsing (brycewang-stanford/Auto-Empirical-Research-Skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/brycewang-stanford/grobid-pdf-parsing
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha e1ba289846fd · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherbrycewang-stanford GitHub userOwner of the repository this skill is read from
- Source folderbrycewang-stanford/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/tools/document/grobid-pdf-parsingThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdicte1ba289846fdA new audit runs when the source changes
- Repository statusNot archivedLast push 3 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Extract structured text, metadata, and references from academic PDFs
---
name: grobid-pdf-parsing
description: "Extract structured text, metadata, and references from academic PDFs"
metadata:
openclaw:
emoji: "📄"
category: "tools"
subcategory: "document"
keywords: ["PDF parsing", "PDF extraction", "document chunking", "format conversion"]
source: "https://github.com/kermitt2/grobid"
---
# GROBID PDF Parsing Guide
## Overview
Academic PDFs are the primary format for distributing research, yet extracting structured data from them remains challenging. PDFs encode visual layout, not semantic structure -- headings, paragraphs, equations, tables, and citations are all just positioned text and graphics. GROBID (GeneRation Of BIbliographic Data) is the leading open-source tool for parsing academic PDFs into structured XML/TEI format, extracting metadata, body text, references, and figures with high accuracy.
GROBID is used by major academic platforms including CORE, ResearchGate, and others for large-scale document processing. It combines machine learning models (CRF and deep learning) with heuristic rules to handle the diverse formatting of academic papers across publishers and disciplines.
This guide covers installing and running GROBID, using its REST API for batch processing, extracting specific elements (metadata, references, body sections), and integrating GROBID output into downstream workflows such as knowledge bases, systematic reviews, and literature analysis pipelines.
## Installation
### Docker (Recommended)
```bash
# Pull the latest GROBID image
docker pull grobid/grobid:0.8.1
# Run GROBID server
docker run --rm --init \
--ulimit core=0 \
-p 8070:8070 \
grobid/grobid:0.8.1
# GROBID is now running at http://localhost:8070
# Web console: http://localhost:8070/console
```
### From Source
```bash
git clone https://github.com/kermitt2/grobid.git
cd grobid
./gradlew clean install
./gradlew run
```
## REST API Usage
### Process Full Document
```bash
# Process a single PDF and get TEI XML
curl -v --form [email protected] \
http://localhost:8070/api/processFulltextDocument \
-o paper.tei.xml
# With options
curl -v --form [email protected] \
--form consolidateHeader=1 \
--form consolidateCitations=1 \
--form includeRawCitations=1 \
http://localhost:8070/api/processFulltextDocument \
-o paper.tei.xml
```
### API Endpoints
| Endpoint | Purpose | Input | Output |
|----------|---------|-------|--------|
| `/api/processFulltextDocument` | Full paper parsing | PDF | TEI XML |
| `/api/processHeaderDocument` | Metadata only | PDF | TEI XML (header) |
| `/api/processReferences` | Reference parsing | PDF | TEI XML (refs) |
| `/api/processCitation` | Parse citation string | Text | TEI XML |
| `/api/processDate` | Parse date string | Text | Structured date |
### Python Client
```python
import requests
from pathlib import Path
class GrobidClient:
def __init__(self, base_url='http://localhost:8070'):
self.base_url = base_url
def process_fulltext(self, pdf_path, consolidate_header=True,
consolidate_citations=True):
"""Process a PDF and return TEI XML."""
url = f'{self.base_url}/api/processFulltextDocument'
files = {'input': open(pdf_path, 'rb')}
data = {
'consolidateHeader': '1' if consolidate_header else '0',
'consolidateCitations': '1' if consolidate_citations else '0',
}
response = requests.post(url, files=files, data=data)
response.raise_for_status()
return response.text
def process_header(self, pdf_path):
"""Extract only header metadata from PDF."""
url = f'{self.base_url}/api/processHeaderDocument'
files = {'input': open(pdf_path, 'rb')}
response = requests.post(url, files=files)
response.raise_for_status()
return response.text
def is_alive(self):
"""Check if GROBID server is running."""
try:
resp = requests.get(f'{self.base_url}/api/isalive')
return resp.status_code == 200
except requests.ConnectionError:
return False
# Usage
client = GrobidClient()
if client.is_alive():
tei_xml = client.process_fulltext('paper.pdf')
with open('paper.tei.xml', 'w') as f:
f.write(tei_xml)
```
## Parsing TEI XML Output
### Extracting Metadata
```python
from lxml import etree
def parse_tei_metadata(tei_xml):
"""Extract title, authors, abstract from TEI XML."""
ns = {'tei': 'http://www.tei-c.org/ns/1.0'}
root = etree.fromstring(tei_xml.encode('utf-8'))
# Title
title_el = root.find('.//tei:titleStmt/tei:title', ns)
title = title_el.text if title_el is not None else ''
# Authors
authors = []
for author in root.findall('.//tei:sourceDesc//tei:author', ns):
forename = author.findtext('.//tei:forename', '', ns)
surname = author.findtext('.//tei:surname', '', ns)
if surname:
authors.append(f'{forename} {surname}'.strip())
# Abstract
abstract_el = root.find('.//tei:profileDesc/tei:abstract', ns)
abstract = ''.join(abstract_el.itertext()).strip() if abstract_el is not None else ''
# DOI
doi_el = root.find('.//tei:idno[@type="DOI"]', ns)
doi = doi_el.text if doi_el is not None else ''
return {
'title': title,
'authors': authors,
'abstract': abstract,
'doi': doi,
}
```
### Extracting Body Sections
```python
def parse_tei_sections(tei_xml):
"""Extract structured sections from TEI XML body."""
ns = {'tei': 'http://www.tei-c.org/ns/1.0'}
root = etree.fromstring(tei_xml.encode('utf-8'))
sections = []
for div in root.findall('.//tei:body/tei:div', ns):
head = div.findtext('tei:head', '', ns).strip()
paragraphs = []
for p in div.findall('tei:p', ns):
text = ''.join(p.itertext()).strip()
if text:
paragraphs.append(text)
sections.append({
Excerpt, first 6,001 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit e1ba289
git clone https://github.com/kermitt2/grobid.git
git clone https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills git -C Auto-Empirical-Research-Skills checkout e1ba289846fd
Commands as the repository documents them: shown, never run by us. Our verdict covers commit e1ba289846fd only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
e1ba289846fd
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/brycewang-stanford/grobid-pdf-parsing/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
brycewang-stanford/Auto-Empirical-Research-Skills
GIS analysis and remote sensing workflows for geospatial research applications
brycewang-stanford/Auto-Empirical-Research-Skills
Run and manage Google Colab notebooks for Python and ML research
brycewang-stanford/Auto-Empirical-Research-Skills
Advanced Google Scholar search techniques for comprehensive literature discovery
brycewang-stanford/Auto-Empirical-Research-Skills
Ethical Google Scholar data collection techniques and best practices
brycewang-stanford/Auto-Empirical-Research-Skills
Autonomous agent for comprehensive deep research on any topic
brycewang-stanford/Auto-Empirical-Research-Skills
Practical advice for thriving in PhD programs and academic research
Add this badge to your README
[](https://modelsatlas.com/skills/brycewang-stanford/grobid-pdf-parsing/)
<a href="https://modelsatlas.com/skills/brycewang-stanford/grobid-pdf-parsing/"><img src="https://modelsatlas.com/skills/brycewang-stanford/grobid-pdf-parsing/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Grobid Pdf Parsing
What does the Grobid Pdf Parsing skill do?
Is Grobid Pdf Parsing safe to install?
What can Grobid Pdf Parsing access on my machine?
Which assistants does Grobid Pdf Parsing work with?
How current is this page?
Sources
- github.com/brycewang-stanford/Auto-Empirical-Research-Skills/tre — the audited source at commit e1ba289846fd and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Grobid Pdf Parsing skill do?
- Is Grobid Pdf Parsing safe to install?
- What can Grobid Pdf Parsing access on my machine?