liteparse
Skill by run-llama
Teaches an AI assistant to pull text, tables and specific values from PDF, DOCX, PPTX, XLSX and image files using the local lit CLI. Aimed at agents that answer questions about documents with low context cost.
Install liteparse
Built from the published package, never by AI.
git clone --depth 1 https://github.com/run-llama/llamaparse-agent-skills /tmp/llamaparse-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/llamaparse-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/run-llama/llamaparse-agent-skills /tmp/llamaparse-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/llamaparse-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 agent skill that guides an AI assistant to extract text, tables and specific values from document files such as PDF, DOCX, PPTX, XLSX and images. It works through the lit command-line tool from the @llamaindex/liteparse package, which the source describes as a fast, local, model-free parser. The skill focuses on keeping extraction cheap.
The recommended workflow is to parse a document once to a temporary text file, then search that file with grep and a bundled BM25 ranking script instead of re-running lit parse. It recommends --no-ocr for born-digital PDFs, OCR for scanned files, and a single page screenshot only when text cannot answer the question. It is aimed at agents answering questions about document contents, looking up figures, or extracting data.
Written from the project's SKILL.md and checked against it.
What it can do
- Parse once to a fileRuns lit parse one time per document and saves the text to a temp file for reuse.
- Context-aware grepUses grep -C so matches return with surrounding lines in one command.
- Batched lookupsRuns several term searches in one shell command to reduce round-trips.
- Ranked searchRuns the bundled search.py BM25 ranker over the saved text when keywords are uncertain.
- OCR choiceUses --no-ocr for born-digital PDFs and keeps OCR for scanned files and images.
- Single-page screenshotsRenders one page with lit screenshot at modest DPI when text is not enough.
- Page selectionLimits parsing to chosen pages with --target-pages.
What you need
- Node.js 18 or later
- @llamaindex/liteparse npm package
- LibreOffice for Office files
- ImageMagick for images
- uv for the search.py helper
Try asking
- Find the total revenue figure in this annual report PDF.
- Pull the scope 1 emissions figures from this sustainability report.
- Extract the tables from this Excel file and summarize them.
Good to know
- Office files need LibreOffice and images need ImageMagick.
- The bundled search.py helper needs uv.
- Each lit parse re-runs full extraction, so the skill advises parsing once.
- Page screenshots use a lot of context, so the skill limits them to one page at a time.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/liteparse/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
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
Which file types does LiteParse read?
The source lists PDF, DOCX, PPTX, XLSX and image files. Office files are converted with LibreOffice and images with ImageMagick.
Does LiteParse need an AI model or API key?
The source describes lit as a model-free, local extraction tool. It does not list an API key requirement.
When should I turn OCR off?
Use --no-ocr for born-digital PDFs that have a text layer. Keep OCR on for scanned PDFs and images.
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 66 of 100. Grades: maintenance C, licence A, quality B. 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.
