Skip to content

Fast, local document text extraction via the lit CLI, using parse-once search patterns to limit cost.

CCM score
70 of 100
skills.sh installs
4.3K
GitHub stars
86
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers PDF, DOCX, PPTX, XLSX, and image files for reading text, tables, and specific values
  • Recommends parsing once to a temp file with lit parse --no-ocr, then searching that file with grep or the bundled search.py ranker
  • Enforces bounded output and minimal round-trips, with one-page, modest-DPI lit screenshot as a last resort
  • Requires Node 18+ and @llamaindex/liteparse, with LibreOffice for Office files and ImageMagick for images

Install

$ npx -y skills add run-llama/llamaparse-agent-skills --skill liteparse -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Effective LiteParse

Extract text from documents locally with the lit CLI — a fast, model-free parser. This skill is about using it cheaply: each lit parse re-runs full extraction, and every line you dump into the conversation is paid for on every subsequent turn. The patterns below come from analyzing real agent traces where the same PDF was parsed up to 9 times and single image reads cost 140k+ characters of context. Don't repeat those mistakes.

The golden rule: parse ONCE to a file, then search the file

lit parse re-extracts the whole document every time you call it. Re-parsing per search is the #1 waste seen in traces. Parse a document exactly once, to a temp file, then run all your searches against that file:

# ONE TIME, per document. --no-ocr for born-digital PDFs (almost all reports) — much faster.
lit parse "/abs/path/doc.pdf" --format text --no-ocr -o /tmp/doc.txt && wc -l /tmp/doc.txt

Then search the file with cheap shell tools — never re-run lit parse to search again.

Search discipline — minimize ROUND-TRIPS, then keep results small

Details

Repository
github.com/run-llama/llamaparse-agent-skills
Category
Office Files & Slides
First seen
Apr 16, 2026

More from run-llama/llamaparse-agent-skills

All 2

Similar to Liteparse

More Office Files & Slides