liteparse
Skill by K-Dense-AI
Parses local PDFs, Office files and images into layout-aware text, JSON with bounding boxes, Markdown and page PNGs for RAG and multimodal agents.
Install liteparse
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/liteparse ~/.claude/skills/liteparseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/liteparse ~/.gemini/antigravity-cli/skills/liteparseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
LiteParse is an open-source document parser with a Rust core and Python and Node bindings. It extracts layout-preserved text, structured JSON with bounding boxes, or heuristic Markdown from PDFs, Office files and images. It can run OCR on scanned pages using bundled Tesseract or a user-run HTTP OCR server, and it can render pages to PNG screenshots.
The skill covers page subsets, password-protected PDFs, batch parsing of folders through the lit CLI or a bundled script, and phrase search over text items. It is aimed at developers and agents that need local parsing for RAG, citation grounding, batch ingestion of papers, or page images for multimodal models. The source says no cloud account is needed.
Written from the project's SKILL.md and checked against it.
What it can do
- Layout-preserved textReturns layout text from a PDF, Office file or image in one call.
- Spatial JSON outputReturns text items with bounding boxes, confidence and font details.
- Markdown outputProduces heuristic Markdown with headings, tables and links.
- Page screenshotsRenders selected pages to PNG files for multimodal agents.
- OCR configurationRuns OCR on scans with a chosen language or a custom HTTP OCR server.
- Page subsetsParses only chosen pages, such as 1-5,10,15-20.
- Encrypted PDFsOpens password-protected PDFs when given the password.
- Batch parsingParses a folder of documents with recursive and extension filters.
- Phrase searchFinds a phrase across text items and returns combined bounding boxes.
What you need
- Python 3.10 or later with liteparse 2.15.0
- LibreOffice for Office formats such as DOCX, XLSX and PPTX
- Network access for missing Tesseract language data or an optional HTTP OCR server
Try asking
- Parse paper.pdf to JSON with bounding boxes for my RAG index
- Render pages 1, 3 and 5 of this PDF as PNG screenshots
- Batch parse my papers folder into JSON, recursing into subfolders
Good to know
- Office conversion needs LibreOffice, and output depends on available fonts.
- Missing Tesseract language data downloads on first use, so air-gapped setups must pre-populate it.
- Markdown is heuristic and does not recover chart data or guarantee math transcription.
- Native lit batch-parse can collide on same-stem inputs in one directory.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/liteparse/SKILL.md, skills/liteparse/scripts/batch_parse_dir.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Edit Bash
-
SKILL.md12 KB -
references/api_reference.md8 KB -
references/choosing_a_parser.md2 KB -
references/cli_reference.md5 KB -
references/ocr_and_formats.md6 KB
Show all 7 files
-
references/output_formats.md5 KB -
scripts/batch_parse_dir.py6 KB
Alternatives to liteparse
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
liteparse: common questions
Does LiteParse need a cloud account?
The source says no cloud account is needed. Missing Tesseract language data can download from GitHub, and an HTTP OCR service you configure receives document images.
Which file types does LiteParse handle?
PDFs are parsed natively. Office files such as DOCX, XLSX, PPTX and ODT need LibreOffice, and images such as PNG, JPEG, TIFF, WebP and SVG convert natively.
When should I use another parser instead?
The source suggests MarkItDown for EPUB, audio, YouTube and HTML, and LlamaParse for dense tables, handwriting and cloud pipelines.
How do I install liteparse?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is liteparse free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is liteparse safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to liteparse?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
