Agent skill · Backend & API

liteparse

Local document and PDF parsing that returns spatial text with bounding boxes. Use for extracting text from PDFs, DOCX, Office files, and images; running OCR on scans; producing layout-preserved JSON for RAG; batch-ingesting folders of papers; or rendering pages to PNG for multimodal agents. Distinguishing capabilities are per-token bounding boxes, page raster output, and fully local processing with no cloud API.

K-Dense-AIgithub.com/K-Dense-AIGitHub ↗
claude-codecan modify filesships scriptsMIT
Install
npx skills add K-Dense-AI/scientific-agent-skills --skill liteparse --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 9 KB
Bundled scripts: yes
Version: 1.1
Allowed tools: ReadWriteEditBash
Requires: Python 3.10+. Optional LibreOffice (Office formats) and ImageMagick (images). Bundled Tesseract for OCR. All processing…
Path: skills/liteparse/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 32,619
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LiteParse — Local Document Parsing ## Overview LiteParse is a fast, open-source document parser (Rust core, Python/Node bindings) focused on **local, layout-aware text extraction** with bounding boxes. It does not produce Markdown and does not call cloud LLMs. Outputs are **plain text** (layout-preserved) or **structured JSON** with per-page `text_items` (position, font metadata, optional confidence). **Version note:** Examples target **liteparse 2.0.0** (PyPI, May 2026). The upstream V1 branch is legacy; this skill documents **V2 / main** only. For parser selection vs MarkItDown, the `pdf` skill, or LlamaParse, see `references/choosing_a_parser.md`. ## When to Use This Skill Use LiteParse when you need: - **Fast local parsing** of PDFs or converted Office/image files without cloud dependencies - **Spatial text** with bounding boxes for layout-aware RAG, citation grounding, or figure/table region logic - **OCR** on scanned PDFs or images (bundled Tesseract, or a user-run HTTP OCR server) - **Page screenshots** (PNG) for multimodal agents that must see charts, figures, or handwriting - **Batch ingestion** of literature folders, supplementary PDFs, or protocol libraries - **Page su

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. When Not to Use
  4. Installation
  5. Quick Start
  6. Python
  7. CLI
  8. Core Workflows
  9. 1. Parse to layout-preserved text
  10. 2. Parse to structured JSON (bounding boxes)
  11. 3. Parse specific pages
  12. 4. Parse from bytes or stdin
  13. 5. Page screenshots for multimodal agents
  14. 6. Batch-parse a directory
Ships with 6 files
  • references/api_reference.md
  • references/choosing_a_parser.md
  • references/cli_reference.md
  • references/ocr_and_formats.md
  • references/output_formats.md
  • scripts/batch_parse_dir.py
Commands it runs
uv pip install "liteparse==2.0.0"
lit --help
python -c "import liteparse; print(liteparse.__version__)"
Layout-preserved text (default)
lit parse paper.pdf
Structured JSON with bounding boxes
lit parse paper.pdf --format json -o paper.json
Disable OCR on text-native PDFs (faster)
lit parse paper.pdf --no-ocr
lit parse document.pdf -o output.txt
More from scientific-agent-skills
All skills →
About this skill
What does the liteparse skill do?

Local document and PDF parsing that returns spatial text with bounding boxes. Use for extracting text from PDFs, DOCX, Office files, and images; running OCR on scans; producing layout-preserved JSON for RAG; batch-ingesting folders of papers; or rendering pages to PNG for multimodal agents. Distinguishing capabilities are per-token bounding boxes, page raster output, and fully local processing with no cloud API.

How do I install it?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill liteparse --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From K-Dense-AI/scientific-agent-skills, a repository with 32,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going