Agent skill

Liteparse

by Prismer-AI in Prismer-AI/PrismerCloud

Parse local document files into LLM-ready content on the daemon itself — PDFs → Markdown / structured JSON (with bounding boxes) / page screenshots via the bundled lit CLI.

MITAuto-check passedDocuments & Office

Install Liteparse

skills CLI
$ npx skills add Prismer-AI/PrismerCloud --skill liteparse -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Prismer-AI/PrismerCloud liteparse --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud.git skills-src && mkdir -p .claude/skills && cp -r skills-src/sdk/cloud/catalog/skills/liteparse .claude/skills/liteparse && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
liteparse
GitHub stars
1.6k
Token cost
~2.1k tokens
SKILL.md length
900 words
Files
1
Skills in repo
88
Repo updated
First seen
Licence
MIT

At a glance

Parse local document files into LLM-ready content on the daemon itself — PDFs → Markdown / structured JSON (with bounding boxes) / page screenshots via the bundled lit CLI.

  • Works in 4 steps: Locate the file. Workspace asset →… → Pick the path by input type + kind. → Read the result as source of truth. Base… → …
  • The user attaches
  • SKILL.md covers Capability tiers — what works…, Tier 1 — PDF (default, ready…, Tier 2 — Image files (install… and Tier 3 — Office documents…, plus 4 more sections
  • Calls apt-get, brew and curl

What it does

Liteparse is an agent skill from Prismer-AI/PrismerCloud. Parse local document files into LLM-ready content on the daemon itself — PDFs → Markdown / structured JSON (with bounding boxes) / page screenshots via the bundled lit CLI. PDF works out of the box, offline, zero external deps (Tesseract + PDFium are bundled): digital PDFs use a near-instant native text path (--no-ocr), scanned PDFs fall back to bundled OCR. Image files (PNG/JPG) additionally need ImageMagick, and Office files (DOCX/XLSX/PPTX) need LibreOffice — install those on demand only when required. Use…

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Document parsing, PDF and Word documents. It works with LibreOffice, Microsoft Excel, Microsoft PowerPoint and Microsoft Word. The licence is MIT.

When your agent uses it

  • The user attaches
  • Points to a local file that must be read before reasoning
  • Asks to extract text / tables / page images from a file on disk

Example prompts

  • “/liteparse”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Locate the file. Workspace asset → resolve its local path (see the
  2. Pick the path by input type + kind.
  3. Read the result as source of truth. Base extraction/summary only on
  4. Deliver products only when the user requests the parse output as a

What it can do on your machine

Read from SKILL.md and the folder at commit e5d9444. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • apt-get
    • brew
    • curl
    • npm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Liteparse loads about 2.1k tokens when it runs. Until then it costs about 186 tokens; SKILL.md has 900 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~186
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Prismer-AI/PrismerCloud at commit e5d9444, republished under its MIT licence (© Prismer-AI). 900 words, ~2,133 tokens.

Download SKILL.mdSave it as .claude/skills/liteparse/SKILL.md (or your agent's skills folder).
name
liteparse
description
Parse local document files into LLM-ready content on the daemon itself — PDFs → Markdown / structured JSON (with bounding boxes) / page screenshots via the bundled `lit` CLI. PDF works out of the box, offline, zero external deps (Tesseract + PDFium are bundled): digital PDFs use a near-instant native text path (`--no-ocr`), scanned PDFs fall back to bundled OCR. Image files (PNG/JPG) additionally need ImageMagick, and Office files (DOCX/XLSX/PPTX) need LibreOffice — install those on demand only when required. Use whenever the user attaches or points to a local file that must be read before reasoning, or asks to extract text / tables / page images from a file on disk. For web URLs and search, use the `ingest` skill instead.
scope
common

LiteParse (local-first document parsing)

LiteParse turns document files into text the model can read — on the daemon machine, offline, zero cloud dependency. It ships as the @llamaindex/liteparse npm package (CLI: lit) with PDFium and Tesseract bundled inside the package — the digital-PDF and scanned-OCR paths need no external system dependencies.

Upstream: run-llama/liteparse

Capability tiers — what works where

TierInputsExternal depStatus
1 — PDFdigital + scanned PDFnone (Tesseract + PDFium bundled)Default, out of the box — lit is baked into the daemon image
2 — ImagesPNG / JPG / TIFF / …ImageMagickInstall on demand
3 — OfficeDOCX / XLSX / PPTX / ODTLibreOffice (~1GB)Install on demand

Only Tier 1 is guaranteed present. Tiers 2 and 3 pull large system dependencies that are deliberately not baked into the daemon image — install them yourself, only when the actual input requires it (see below). Do not assume they are already installed.

Tier 1 — PDF (default, ready to use)

lit is available on the daemon. Sanity-check once, quietly:

bash
command -v lit && lit --version    # baked into the image

If (and only if) it is somehow missing, install the package locally — it is ~38MB with the OCR/render binaries bundled and installs in a few seconds:

bash
npm i @llamaindex/liteparse && npx lit --version

Do not rely on the CLI "self-installing on first use" — that path is unreliable (npm permission / cache conflicts). Either it is baked in, or you install the package explicitly as above.

Native text path vs OCR — pick deliberately, cost differs ~10×
  • Digital PDF (has an embedded text layer): use --no-ocr. PDFium extracts the text directly — near-instant (~0.35s/page), no OCR. This is the fast, cheap path; prefer it whenever the PDF is computer-generated.
  • Scanned / image-only PDF: leave OCR on (default). The bundled Tesseract OCRs each page — ~5s/page, an order of magnitude slower. Only pay this when there is no real text layer.

If unsure which kind you have, run --no-ocr first: empty/garbled output means it's a scan → re-run without --no-ocr to OCR it.

bash
lit parse report.pdf --no-ocr                       # digital PDF → fast native text
lit parse scan.pdf                                   # scanned PDF → bundled OCR
lit parse report.pdf --format markdown -o out.md     # Markdown output to a file
lit parse report.pdf --format json -o out.json       # structured JSON + bounding boxes
lit parse report.pdf --target-pages "1-5,10,15-20"   # page subset (huge speedup on OCR path)

--format accepts markdown (default) or json (adds per-block bounding boxes). Other useful flags: -o/--output, --target-pages "1-5,10", --dpi <n> (render DPI, default 150 — bump to 300 for small scanned text), --ocr-language eng+chi_sim (Tesseract lang codes for the OCR path), --password '****' (encrypted PDFs), -q/--quiet.

Page screenshots (for figures/charts text can't capture)
bash
lit screenshot report.pdf -o ./shots                   # all pages → PNG
lit screenshot report.pdf --target-pages "1,3,5" -o ./shots
lit screenshot report.pdf --dpi 300 -o ./shots         # high-res

Tier 2 — Image files (install ImageMagick on demand)

Parsing standalone image files (PNG/JPG/TIFF/…) needs ImageMagick, which is not in the daemon image. Install it the first time you actually have an image input:

bash
apt-get update && apt-get install -y imagemagick   # Debian/Ubuntu (daemon image)
brew install imagemagick                            # macOS (local dev)
lit parse diagram.png --format markdown

If ImageMagick can't be installed (no network / no apt), report ImageMagick unavailable and stop — don't fabricate the image's contents.

Tier 3 — Office documents (install LibreOffice on demand)

DOCX / XLSX / PPTX / ODT conversion needs LibreOffice (~1GB), which is intentionally not baked into the daemon image. Install it only when you genuinely need to parse an Office file (it's a big download — don't do it speculatively):

bash
apt-get update && apt-get install -y libreoffice   # Debian/Ubuntu (daemon image)
brew install --cask libreoffice                     # macOS (local dev)
lit parse deck.pptx --format markdown

If LibreOffice can't be installed, say so and ask the user for a PDF export of the document instead of guessing.

A shared cloud parse service for heavy formats (offloading Office / hi-res OCR to a hosted backend so agents don't install 1GB deps) is a future TODO — it is not running today. Don't route to a cloud OCR endpoint.

Show full SKILL.md (375 more words)Show less

Scope — liteparse vs ingest

Two skills, clean split by source location:

  • liteparse (this skill) — local files on disk. PDF / image / Office files already on the machine → Markdown / JSON / screenshots, fully offline. This is the only local document-parsing path.
  • ingest (sibling skill) — web URLs and search. cloud load / cloud search fetch and compress remote pages. liteparse cannot fetch URLs; if you only have a URL, either curl -sL <url> -o file then parse the local copy with liteparse, or route to ingest.

Decision rule: local file → liteparse. Web page / search → ingest.

Workflow

  1. Locate the file. Workspace asset → resolve its local path (see the assets skill). URL-only → curl -sL <url> -o <name> first, then parse the local copy (or use ingest).
  2. Pick the path by input type + kind.
    • PDF, computer-generated → lit parse <f> --no-ocr (fast native).
    • PDF, scanned/image-only → lit parse <f> (OCR); set --ocr-language, bump --dpi 300 for small text, and use --target-pages to avoid OCR'ing pages you don't need.
    • Need spatial structure / table coordinates → --format json.
    • Need to see a chart/figure/signature → lit screenshot, then read the PNG.
    • Image file → install ImageMagick (Tier 2), then parse.
    • Office file → install LibreOffice (Tier 3), then parse.
  3. Read the result as source of truth. Base extraction/summary only on what lit returned. Empty or low-confidence page → say so; never guess.
  4. Deliver products only when the user requests the parse output as a file. Write the requested final file into $PRISMER_ARTIFACTS_DIR, then explicitly run cloud deliver <abs-path> for the current reply or cloud task attach <abs-path> for a task. Auto-scan is OFF; writing the file alone is not delivery. See office-artifacts SKILL.md §Delivery contract.

Output reporting

  • After a parse: Parsed <filename>: <N> pages, format=<markdown|json>, path=<native|ocr> — then answer the user's actual question, citing page numbers. Don't dump the whole parsed body into chat unless asked.
  • After screenshots: Rendered <N> page screenshot(s) → <dir>, then read the relevant ones.

HARD RULE — never claim a parse you didn't run

Forbidden unless lit actually ran with exit 0 and produced output: "parsed the document", "the PDF says…", "extracted the table". If lit is unavailable, a required dependency (ImageMagick / LibreOffice) can't be installed, or the parse failed, completion text must start with 无法解析 文档 (reason) / Cannot parse document (reason) — do not substitute guessed content.

© Prismer-AI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in sdk/cloud/catalog/skills/liteparse of Prismer-AI/PrismerCloud.

Open the folder on GitHubat commit e5d9444

Compare with similar skills

Liteparse next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Liteparse compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Liteparse this skillPrismer-AI/PrismerCloud1.6k—~2.1kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Markitdownjimmc414/Kosmos5952 repos~1.7kAutomated safety check: PassNone
Nutrient Document Processingaffaan-m/ECC276k4 repos~1.5kAutomated safety check: PassMIT
Document Converterwentorai/Research-Claw858—~1.3kAutomated safety check: PassCustom licence
To MarkdownMathews-Tom/armory329—~2kAutomated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Markitdown

    jimmc414/Kosmos

    Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing.

    595 GitHub starsUsed in 2 repos~1.7k tokens
    Documents & OfficeAuto-check passed
  • Process, convert, OCR, extract, redact, sign, and fill documents using the Nutrient DWS API.

    276k GitHub starsUsed in 4 repos~1.5k tokens
    Documents & OfficeAuto-check passed
  • Document Converter

    wentorai/Research-Claw

    Convert Office documents (PPTX, DOCX, XLSX, PDF, HTML, CSV, JSON, XML, images) to Markdown using Microsoft MarkItDown.

    858 GitHub stars~1.3k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • To Markdown

    Mathews-Tom/armory

    Convert any file or URL to clean Markdown: PDF, DOCX, XLSX, PPTX, HTML, images (OCR), audio, CSV, YouTube.

    329 GitHub stars~2k tokensUpdated 5 days ago
    Documents & OfficeAuto-check passed
  • Nutrient Document Processing

    xu-xiang/everything-claude-code-zh

    使用 Nutrient DWS API 处理、转换、OCR、提取、脱敏、签名和填充文档。支持 PDF、DOCX、XLSX、PPTX、HTML 和图像。

    2k GitHub stars~1.3k tokensUpdated 7 mo ago
    Documents & OfficeAuto-check passed

More from Prismer-AI/PrismerCloud

All 88 skills in this repo
  • Prismer Google Workspace

    Prismer-AI/PrismerCloud

    Gives an agent account-scoped access to Gmail, Calendar, Drive, Contacts, Docs and Sheets through the gws CLI or a bundled Python client.

    1.6k GitHub starsUsed in 3 repos~4.2k tokens
    Auto-check passed
  • Prismer Skill Creator

    Prismer-AI/PrismerCloud

    Walks an agent through creating, importing, editing, validating, testing and publishing Prismer Skills with a fixed workflow and bundled scripts.

    1.6k GitHub stars~2.6k tokensUpdated 10 days ago
    Auto-check: notes
  • Himalaya Email CLI

    Prismer-AI/PrismerCloud

    Operates a mailbox from the terminal with the external Himalaya CLI over IMAP, SMTP, Notmuch or Sendmail, separate from any built-in email gateway adapter.

    1.6k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Prismer Image Generation

    Prismer-AI/PrismerCloud

    Generates one image from a text prompt with a bundled Node.js helper and delivers it once as the attachment to the current Prismer reply.

    1.6k GitHub stars~1.4k tokensUpdated 10 days ago
    Auto-check passed
  • Manim Explainer Videos

    Prismer-AI/PrismerCloud

    Produces 3Blue1Brown-style explainer animations with Manim Community Edition for math, algorithms, equations and architecture diagrams, with planning and rendering references.

    1.6k GitHub starsUsed in 2 repos~3.1k tokens
    Auto-check passed
  • Prismer Role Builder

    Prismer-AI/PrismerCloud

    Creates or updates Prismer role templates from a persona, SOP or job description, and turns a role into a working agent that runs its first task through a bundled script.

    1.6k GitHub stars~2.3k tokensUpdated 10 days ago
    Auto-check: notes

Questions about Liteparse

What does Liteparse do?

Parse local document files into LLM-ready content on the daemon itself — PDFs → Markdown / structured JSON (with bounding boxes) / page screenshots via the bundled lit CLI. Liteparse is an agent skill from Prismer-AI/PrismerCloud. Parse local document files into LLM-ready content on the daemon itself — PDFs → Markdown / structured JSON (with bounding boxes) / page screenshots via the bundled lit CLI.

When should I use Liteparse?

Liteparse fits situations like: the user attaches; points to a local file that must be read before reasoning; asks to extract text / tables / page images from a file on disk.

How do I install Liteparse in Claude Code?

Run `npx skills add Prismer-AI/PrismerCloud --skill liteparse -a claude-code`. Or copy the skill folder (sdk/cloud/catalog/skills/liteparse in Prismer-AI/PrismerCloud) into .claude/skills/liteparse in your project. Claude Code loads it when a task matches its description.

How do I install Liteparse in Codex?

Run `npx skills add Prismer-AI/PrismerCloud --skill liteparse -a codex`. Or copy the skill folder (sdk/cloud/catalog/skills/liteparse in Prismer-AI/PrismerCloud) into .agents/skills/liteparse in your project. Codex loads it when a task matches its description.

Can I use Liteparse in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Prismer-AI/PrismerCloud --skill liteparse -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/liteparse, .gemini/skills/liteparse, .github/skills/liteparse and .opencode/skills/liteparse in your project.

What does Liteparse need to run?

Going by SKILL.md and its folder, Liteparse needs the command-line tools its instructions call (apt-get, brew, curl, npm and npx). Our summary lists: Node.js.

Does Liteparse access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Liteparse safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Liteparse use?

Liteparse is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Liteparse use?

About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Liteparse?

Skills that share tags, products or a category with Liteparse: Markitdown (ImCa0/just-laws, 781 stars), Markitdown (jimmc414/Kosmos, 595 stars), Nutrient Document Processing (affaan-m/ECC, 276k stars) and Document Converter (wentorai/Research-Claw, 858 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Liteparse?

Prismer-AI (a GitHub organization) maintains it in Prismer-AI/PrismerCloud, which has 1,555 GitHub stars. The repository holds 88 skills in this directory. The repository was last updated on September 30, 2026.

Source: Prismer-AI/PrismerCloud on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.