Skip to content

Fast, local document extraction with the lit CLI, using low-cost parse-once search patterns.

CCM score
58 of 100
skills.sh installs
165
GitHub stars
886
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers parsing PDF, DOCX, PPTX, XLSX, and image files to text, tables, and specific values
  • Includes a bundled search.py BM25 ranker that returns ranked line-windows with line numbers
  • Enforces parsing each document once to a temp file, then searching that file instead of re-parsing
  • Designed for agents answering questions about document contents while keeping context and turn counts low

Install

$ npx -y skills add bastani-inc/atomic --skill liteparse -y

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

Files

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/bastani-inc/atomic
Categories
Office Files & Slides, Research & Academic
First seen
Jun 3, 2026

Questions

What does the liteparse skill do?

The liteparse skill lets an agent read document files such as PDF, DOCX, PPTX, XLSX and images, and pull text, tables or specific values out of them. It runs locally through the lit CLI without a model, and its SKILL.md stresses parsing a document once to a file and then searching that file cheaply.

How do I install the liteparse skill?

Run npx -y skills add bastani-inc/atomic --skill liteparse -y in your project. The skill also expects Node 18+ and the @llamaindex/liteparse package, installed with npm i -g @llamaindex/liteparse.

What does liteparse need to run?

It needs Node 18+ and @llamaindex/liteparse, with lit --version available afterward. LibreOffice is needed for Office files, ImageMagick for images, and uv for the bundled search.py helper.

Where does liteparse stand in Office Files & Slides?

liteparse sits in the Office Files & Slides category on Claude Marketplaces, alongside slideshow and several lark skills. It covers local extraction from PDFs and Office files, with search patterns that limit repeated parsing and context use.

More from bastani-inc/atomic

All 11

Similar to Liteparse

More Office Files & Slides