Index of every page on this site: llms.txt
All skills
Run it yourself

OCR scanned or image-only PDFs, and get page screenshots, bounding boxes or coordinates. Text PDFs use `pdftotext -layout`; Office files and PDF authoring have their own skills.

  • 3 files
  • 3.8 KB
  • Updated last week
  • GitHub
Use this Skill: https://skilld.dev/gh/enjoyoer/loadout/liteparse

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈47 tokens for metadata: the name and description. ≈524 when used: this file. ≈58 more on demand in 1 file.

Description uses 2.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈189 characters, or 2.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

LiteParse

Rule

Use pdftotext -layout first for text PDFs. Use lit only when a PDF is scanned or image-only and needs OCR, and then use lit parse --format text, not markdown: markdown splits labels from values and table rows.

lit screenshot and lit parse --format json (bounding boxes, page coordinates) stay fine for any PDF when you need rendered pages or positions.

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.

Text PDF (pdftotext comes from poppler):

pdftotext -layout "input.pdf" "input.extracted.txt"

Scanned or image-only PDF, screenshots, and coordinates:

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

A text PDF is one where pdftotext returns the page's words; if it returns nothing or near nothing, treat the PDF as scanned.

Useful options:

Option Use
--target-pages 1,3-5 Parse selected pages only.
--max-pages 20 Bound large files.
--ocr-language eng OCR language.
--no-ocr Skip OCR when you only need JSON coordinates from a text PDF.

Helper Script

For repeatable extraction, run:

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

The script defaults to --format text and writes an adjacent .liteparse.txt file unless --output is provided. --format json and --format markdown stay selectable.

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.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 5dbdf49. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 5 hours ago.

Activeupdated last week

README badge

README badge for enjoyoer/loadout/liteparse