agentleFS
EnjoyoerEnjoyoer/loadout/skills/research-docs/liteparse/SKILL.md

liteparse

Skill0 starsChanged 2 months agoMITView on GitHub

Use when extracting or inspecting PDFs with LiteParse, especially scanned or image-heavy files, OCR candidates, page screenshots, markdown/text/JSON output, bounding boxes, or page coordinates. Use the bundled type-specific artifact skills for Office files and native PDF authoring/editing.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use lit first for PDF extraction, OCR, screenshots, and coordinates.

    line 10
  2. Distinctive:

    Write output to a temp file, then read the file.

    line 14
  3. Very specific:

    If lit is missing, install with uv tool install liteparse.

    line 45
  4. Distinctive:

    Do not use LiteParse as a generic Office converter.

    line 46
  5. Distinctive:

    If visual layout matters, generate screenshots and inspect rendered pages before trusting text order.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

LiteParse

Rule

Use lit first for PDF extraction, OCR, screenshots, and coordinates. Route DOCX to documents:documents, XLSX/CSV to spreadsheets:Spreadsheets, PPTX to presentations:Presentations, and PDF authoring/editing or fillable forms to pdf:pdf. Use Browser or a structured HTML parser for web and HTML content.

Commands

Write output to a temp file, then read the file.

lit parse "input.pdf" --format markdown -o "input.extracted.md" --quiet
lit parse "input.pdf" --format json -o "input.extracted.json" --quiet
lit screenshot "input.pdf" -o "screenshots" --target-pages 1 --quiet

Useful options:

OptionUse
--target-pages 1,3-5Parse selected pages only.
--max-pages 20Bound large files.
--no-ocrSkip OCR for born-digital PDFs.
--ocr-language engOCR language.
--image-mode placeholderKeep markdown light.
--image-mode embed --image-output-dir imagesExtract images next to markdown.

Helper Script

For repeatable extraction, run:

python "$env:USERPROFILE\.codex\skills\liteparse\scripts\parse_document.py" "input.pdf" --format markdown

The script writes an adjacent .liteparse.md, .liteparse.txt, or .liteparse.json file unless --output is provided.

Fallbacks

  • If lit is missing, install with uv tool install liteparse.
  • Do not use LiteParse as a generic Office converter; invoke the matching bundled artifact skill.
  • If visual layout matters, generate screenshots and inspect rendered pages before trusting text order.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.