argentos-ocr-and-documents
Extract text from PDFs and scanned documents.
Skill by ArgentAIOS
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/argentaios-argentos-ocr-and-documents
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, presentations, productivity
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. 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/argentos-ocr-and-documents
What's inside
- Skill name
argentos-ocr-and-documents- Description
- Extract text from PDFs and scanned documents. Use web_extract for remote URLs, pymupdf for local text-based PDFs, marker-pdf for OCR/scanned docs. For DOCX use python-docx, for PPTX see the powerpoint skill.
- License
- MIT
- Instructions
- 166 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: "argentos-ocr-and-documents" does not match folder "ocr-and-documents"
Files (4)
- DESCRIPTION.md
- SKILL.md
- extract_marker.py · scripts/
- extract_pymupdf.py · scripts/
SKILL.md (first lines)
# PDF & Document Extraction
For DOCX: use `python-docx` (parses actual document structure, far better than OCR).
For PPTX: see the `powerpoint` skill (uses `python-pptx` with full slide/notes support).
This skill covers **PDFs and scanned documents**.
## Step 1: Remote URL Available?
If the document has a URL, **always try `web_extract` first**:
```
web_extract(urls=["https://arxiv.org/pdf/2402.03300"])
web_extract(urls=["https://example.com/report.pdf"])
```
This handles PDF-to-markdown conversion via Firecrawl with no local dependencies.
Only use local extraction when: the file is local, web_extract fails, or you need batch processing.
## Step 2: Choose Local Extractor
| Feature | pymupdf (~25MB) | marker-pdf (~3-5GB) |
| --------------------------- | -------------------- | ----------------------------------- |
| **Text-based PDF** | ✅ | ✅ |
| **Scanned PDF (OCR)** | ❌ | ✅ (90+ languages) |
| **Tables** | ✅ (basic) | ✅ (high accuracy) |
| **Equations / LaTeX** | ❌ | ✅ |
| **Code blocks** | ❌ | ✅ |
| **Forms** | ❌ | ✅ |
| **Headers/footers removal** | ❌ | ✅ |
| **Reading order detection** | ❌ | ✅ |
| **Images extraction** | ✅ (embedded) | ✅ (with context) |
| **Images → text (OCR)** | ❌ | ✅ |
| **EPUB** | ✅ | ✅ |
| **Markdown output** | ✅ (via pymupdf4llm) | ✅ (native, higher quality) |
| **Install size** | ~25MB | ~3-5GB (PyTorch + models) |
| **Speed** | Instant | ~1-14s/page (CPU), ~0.2s/page (GPU) |
**Decision**: Use pymupdf unless you need OCR, equations, forms, or complex layout analysis.
If the user needs marker capabilities but the system lacks ~5GB free disk:
> "This document needs OCR/advanced extraction (marker-pdf), which requires ~5GB for PyTorch and models. Your system has [X]GB free. Options: free up space, provide a URL so I can use web_extract, or I can try pymupdf which works for text-based PDFs but not scanned documents or equations."
---
## pymupdf (lightweight)
```bash
pip install pymupdf pymupdf4llm
```
**Via helper script**:
```bash
python scripts/extract_pymupdf.py document.pdf # Plain text
python scripts/extract_pymupdf.py document.pdf --markdown # Markdown
python scripts/extract_pymupdf.py document.pdf --tables # Tables
python scripts/extract_pymupdf.py document.pdf --images out/ # Extract images
python scripts/extract_pymupdf.py document.pdf --metadata # Title, author, pages
python scripts/extract_pymupdf.py document.pdf --pages 0-4 # Specific pages
```
**Inline**:
```bash
python3 -c "
import pymupdf
doc = pymupdf.open('document.pdf')
for page in doc:
print(page.get_text())
"
```
---
## marker-pdf (high-quality OCR)
```bash
# Check disk space first
python scripts/extract_marker.py --check
pip install marker-pdf
```
**Via helper script**:
```bash
python scripts/extract_marker.py document.pdf # Markdown
python scripts/extract_marker.py document.pdf --json # JSON with metadata
python scripts/extract_marker.py document.pdf --output_dir out/ # Save images
python scripts/extract_marker.py scanned.pdf # Scanned PDF (OCR)
python scripts/extract_marker.py document.pdf --use_llm # LLM-boosted accuracy
```
**CLI** (installed with marker-pdf):
```bash
marker_single document.pdf --output_dir ./output
marker /path/to/folder --workers 4 # Batch
```
---
## Arxiv Papers
```
# Abstract only (fast)
web_extract(urls=["https://arxiv.org/abs/2402.03300"])
# Full paper
web_extract(urls=["https://arxiv.org/pdf/2402.03300"])
# Search
web_search(query="arxiv GRPO reinforcement learning 2026")
```
## Split, Merge & SearchFrom ArgentAIOS/argentos-core, MIT.
More from ArgentAIOS/argentos-core
- 0.528score
community-godmode
ArgentAIOS
Jailbreak API-served LLMs using G0DM0D3 techniques — Parseltongue input obfuscation (33 techniques), GODMODE CLASSIC system prompt templates, ULTRAPLINIAN…
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
argentos-baoyu-comic
ArgentAIOS
Knowledge comic creator supporting multiple art styles and tones.
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-serving-llms-vllm
ArgentAIOS
Serves LLMs with high throughput using vLLM's PagedAttention and continuous batching.
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-maps
ArgentAIOS
Location intelligence — geocode a place, reverse-geocode coordinates, find nearby places (46 POI categories), driving/walking/cycling distance + time…
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-fine-tuning-with-trl
ArgentAIOS
Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward…
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-segment-anything-model
ArgentAIOS
Foundation model for image segmentation with zero-shot transfer.
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-obliteratus
ArgentAIOS
Remove refusal behaviors from open-weight LLMs using OBLITERATUS — mechanistic interpretability techniques (diff-in-means, SVD, whitened SVD, LEACE, SAE…
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
argentos-fine-tuning-with-trl
ArgentAIOS
Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward…
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-ideation
ArgentAIOS
Generate project ideas through creative constraints.
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-baoyu-infographic
ArgentAIOS
Generate professional infographics with 21 layout types and 21 visual styles.
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-baoyu-comic
ArgentAIOS
Knowledge comic creator supporting multiple art styles and tones.
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
argentos-baoyu-infographic
ArgentAIOS
Generate professional infographics with 21 layout types and 21 visual styles.
SkillCFreshness: C★ 127Claude Code +9
Signals
- Stars
- 127
- Forks
- 23
- Open issues
- 25
- Last commit (this folder)
- Apr 29, 2026 (6 months ago)
- Last release
- Jul 9, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ArgentAIOS/argentos-core
- Website
- argentos.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ArgentAIOS
- 0.528score
community-ideation
ArgentAIOS
Generate project ideas through creative constraints.
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-obliteratus
ArgentAIOS
Remove refusal behaviors from open-weight LLMs using OBLITERATUS — mechanistic interpretability techniques (diff-in-means, SVD, whitened SVD, LEACE, SAE…
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-baoyu-infographic
ArgentAIOS
Generate professional infographics with 21 layout types and 21 visual styles.
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
argentos-fine-tuning-with-trl
ArgentAIOS
Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward…
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-baoyu-comic
ArgentAIOS
Knowledge comic creator supporting multiple art styles and tones.
SkillCFreshness: C★ 127Claude Code +9 - 0.528score
community-serving-llms-vllm
ArgentAIOS
Serves LLMs with high throughput using vLLM's PagedAttention and continuous batching.
SkillCFreshness: C★ 127Claude Code +9
Cite this page
argentos-ocr-and-documents skill. Agent Mart. https://agentmart.dev/skills/argentaios-argentos-ocr-and-documents (last updated 2026-10-24)