[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74YX70Q1T3B3SDESER39ZMH":3,"skill-same:01M74YX70Q1T3B3SDESER39ZMH":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M74YX70Q1T3B3SDESER39ZMH","liteparse",null,"Local document and PDF parsing that returns spatial text with bounding boxes. Use for extracting text from PDFs, DOCX, Office files, and images; running OCR on scans; producing layout-preserved JSON for RAG; batch-ingesting folders of papers; or rendering pages to PNG for multimodal agents. Distinguishing capabilities are per-token bounding boxes, page raster output, and fully local processing with no cloud API.","KalarisLabs\u002Fresearch-agent-skills","KalarisLabs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F300878568?v=4","01M74Y7MT23GXXC56VM6TVSXZY","Kalarislabs","01M74Y7MTQM9REXZX4SNXWX95C",132,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fliteparse\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: liteparse\ndescription: Local document and PDF parsing that returns spatial text with bounding boxes. Use for extracting text from PDFs, DOCX, Office files, and images; running OCR on scans; producing layout-preserved JSON for RAG; batch-ingesting folders of papers; or rendering pages to PNG for multimodal agents. Distinguishing capabilities are per-token bounding boxes, page raster output, and fully local processing with no cloud API.\nlicense: Apache-2.0\ncompatibility: Python 3.10+. Optional LibreOffice (Office formats) and ImageMagick (images). Bundled Tesseract for OCR. All processing is local — no cloud API required.\nallowed-tools: Read Write Edit Bash\nmetadata:\n  version: '1.2'\n  category: literature-review\n  maintainer: Kalaris Labs\n  tags: PDF parsing, OCR, document extraction, RAG, papers\n---\n\n# LiteParse — Local Document Parsing\n\n## Overview\n\nLiteParse is a fast, open-source document parser (Rust core, Python\u002FNode bindings) focused on **local, layout-aware text extraction** with bounding boxes. It does not produce Markdown and does not call cloud LLMs. Outputs are **plain text** (layout-preserved) or **structured JSON** with per-page `text_items` (position, font metadata, optional confidence).\n\n**Version note:** Examples target **liteparse 2.0.0** (PyPI, May 2026). The upstream V1 branch is legacy; this skill documents **V2 \u002F main** only.\n\nFor parser selection vs MarkItDown, the `pdf` skill, or LlamaParse, see `references\u002Fchoosing_a_parser.md`.\n\n## When to Use This Skill\n\nUse LiteParse when you need:\n\n- **Fast local parsing** of PDFs or converted Office\u002Fimage files without cloud dependencies\n- **Spatial text** with bounding boxes for layout-aware RAG, citation grounding, or figure\u002Ftable region logic\n- **OCR** on scanned PDFs or images (bundled Tesseract, or a user-run HTTP OCR server)\n- **Page screenshots** (PNG) for multimodal agents that must see charts, figures, or handwriting\n- **Batch ingestion** of literature folders, supplementary PDFs, or protocol libraries\n- **Page subsets** or **password-protected** PDFs\n\n## When Not to Use\n\n| Task | Use instead |\n|------|-------------|\n| Markdown for LLM ingestion (EPUB, audio, YouTube, HTML) | `markitdown` skill |\n| Merge\u002Fsplit PDFs, forms, watermarks, rotation | `pdf` skill |\n| Dense tables, handwriting, production cloud pipelines | [LlamaParse](https:\u002F\u002Fdocs.cloud.llamaindex.ai\u002Fllamaparse\u002Foverview) (cloud; sign up separately) |\n\n## Installation\n\n```bash\nuv pip install \"liteparse==2.0.0\"\n```\n\nThis installs the Python bindings and the **`lit`** CLI. Verify:\n\n```bash\nlit --help\npython -c \"import liteparse; print(liteparse.__version__)\"\n```\n\n**Optional system tools** (for non-PDF inputs):\n\n- **LibreOffice** — Word, Excel, PowerPoint, OpenDocument, CSV\u002FTSV\n- **ImageMagick** — PNG, JPEG, TIFF, WebP, SVG, etc.\n\nInstall commands are in `references\u002Focr_and_formats.md`.\n\n**Node.js \u002F TypeScript** (optional): `npm i @llamaindex\u002Fliteparse` — see `references\u002Fapi_reference.md`.\n\n---\n\n## Quick Start\n\n### Python\n\n```python\nfrom liteparse import LiteParse\n\nparser = LiteParse(quiet=True)\nresult = parser.parse(\"paper.pdf\")\nprint(result.text)\n\nfor page in result.pages:\n    print(f\"Page {page.page_num}: {len(page.text_items)} items\")\n```\n\n### CLI\n\n```bash\n# Layout-preserved text (default)\nlit parse paper.pdf\n\n# Structured JSON with bounding boxes\nlit parse paper.pdf --format json -o paper.json\n\n# Disable OCR on text-native PDFs (faster)\nlit parse paper.pdf --no-ocr\n```\n\n---\n\n## Core Workflows\n\n### 1. Parse to layout-preserved text\n\nBest for quick full-document text or feeding chunkers that do not need coordinates.\n\n```python\nparser = LiteParse(ocr_enabled=True, quiet=True)\nresult = parser.parse(\"document.pdf\")\nfull_text = result.text\n```\n\n```bash\nlit parse document.pdf -o output.txt\n```\n\n### 2. Parse to structured JSON (bounding boxes)\n\nUse when building layout-aware RAG, highlighting source regions, or joining text with screenshots.\n\n```python\nimport json\nfrom liteparse import LiteParse\n\nparser = LiteParse(output_format=\"json\", quiet=True)\nresult = parser.parse(\"document.pdf\")\n\n# Programmatic access\nfor page in result.pages:\n    for item in page.text_items:\n        bbox = (item.x, item.y, item.width, item.height)\n        # item.text, item.confidence, item.font_name, item.font_size\n```\n\n```bash\nlit parse document.pdf --format json -o document.json\n```\n\nJSON field layout: `references\u002Foutput_formats.md`.\n\n### 3. Parse specific pages\n\n```python\nparser = LiteParse(target_pages=\"1-5,10,15-20\", quiet=True)\nresult = parser.parse(\"long_paper.pdf\")\n```\n\n```bash\nlit parse long_paper.pdf --target-pages \"1-5,10\"\n```\n\n### 4. Parse from bytes or stdin\n\nUseful for uploads, S3 downloads, or piping remote PDFs.\n\n```python\nwith open(\"document.pdf\", \"rb\") as f:\n    result = parser.parse(f.read())\n```\n\n```bash\ncurl -sL https:\u002F\u002Fexample.com\u002Freport.pdf | lit parse -\n```\n\n### 5. Page screenshots for multimodal agents\n\nScreenshots capture visual content that text extraction alone misses (figures, complex tables, handwriting).\n\n```python\nfrom pathlib import Path\n\nparser = LiteParse(dpi=150, quiet=True)\nshots = parser.screenshot(\"document.pdf\", page_numbers=[1, 2, 3])\nout = Path(\"screenshots\")\nout.mkdir(exist_ok=True)\nfor s in shots:\n    (out \u002F f\"page_{s.page_num}.png\").write_bytes(s.image_bytes)\n```\n\n```bash\nlit screenshot document.pdf --target-pages \"1,3,5\" -o .\u002Fscreenshots\nlit screenshot document.pdf --dpi 300 -o .\u002Fscreenshots\n```\n\nCombine **JSON parse + screenshots** when an agent needs both coordinates and pixels for the same pages.\n\n### 6. Batch-parse a directory\n\nFor large corpora, prefer the CLI (parallel OCR workers) or the bundled script.\n\n```bash\nlit batch-parse .\u002Fpapers .\u002Fparsed --format json --recursive\nlit batch-parse .\u002Fpapers .\u002Fparsed --extension .pdf --no-ocr\n```\n\n```bash\npython scripts\u002Fbatch_parse_dir.py .\u002Fpapers .\u002Fparsed --format json --recursive\n```\n\nSee `scripts\u002Fbatch_parse_dir.py` for a Python batch wrapper without network calls.\n\n### 7. OCR configuration\n\nOCR is **on by default**. Tesseract is bundled; no extra install for basic English OCR.\n\n```python\nparser = LiteParse(\n    ocr_enabled=True,\n    ocr_language=\"eng\",       # Tesseract codes: fra, deu, etc.\n    num_workers=4,            # parallel OCR (default: CPU cores - 1)\n    dpi=150,                  # higher DPI → better OCR, slower\n)\n```\n\n```bash\nlit parse scan.pdf --ocr-language fra\nlit parse scan.pdf --no-ocr\nlit parse scan.pdf --ocr-server-url http:\u002F\u002Flocalhost:8080\u002Focr\n```\n\n**Offline \u002F air-gapped:** set `TESSDATA_PREFIX` to a directory of `.traineddata` files, or pass `--tessdata-path`. Details: `references\u002Focr_and_formats.md`.\n\n### 8. Encrypted PDFs\n\n```python\nparser = LiteParse(password=\"secret\", quiet=True)\nresult = parser.parse(\"protected.pdf\")\n```\n\n```bash\nlit parse protected.pdf --password secret\n```\n\n### 9. Search text items by phrase\n\nMerge adjacent items and return combined bounding boxes for a phrase (e.g. section titles).\n\n```python\nfrom liteparse import search_items\n\npage = result.get_page(1)\nmatches = search_items(page.text_items, \"Materials and Methods\", case_sensitive=False)\n```\n\n---\n\n## Multi-Format Inputs\n\n| Category | Extensions (examples) | Requirement |\n|----------|----------------------|-------------|\n| PDF | `.pdf` | Native |\n| Office | `.docx`, `.xlsx`, `.pptx`, `.doc`, `.odt`, … | LibreOffice |\n| Images | `.png`, `.jpg`, `.tiff`, `.webp`, `.svg`, … | ImageMagick |\n\nFiles are converted to PDF internally, then parsed. If conversion tools are missing, parsing fails with an actionable error — install the dependency and retry.\n\n---\n\n## Performance Tips\n\n- **`--no-ocr`** on born-digital PDFs — largest speedup\n- **`target_pages`** — parse only methods\u002Fsupplement sections\n- **`num_workers`** — scale OCR across CPU cores\n- **`max_pages`** — cap very large files (default 1000)\n- **`lit batch-parse`** — directory-scale jobs with `--recursive` and `--extension`\n- Lower **`dpi`** (e.g. 100) when OCR quality is already sufficient\n\n---\n\n## Reference Files\n\n| File | Read when |\n|------|-----------|\n| `references\u002Fchoosing_a_parser.md` | Unsure whether to use LiteParse, MarkItDown, pdf, or LlamaParse |\n| `references\u002Fapi_reference.md` | Python\u002FTypeScript API, types, `search_items` |\n| `references\u002Fcli_reference.md` | Full `lit` command flags |\n| `references\u002Foutput_formats.md` | JSON schema, bboxes, confidence scores |\n| `references\u002Focr_and_formats.md` | Tesseract, HTTP OCR, LibreOffice, ImageMagick |\n\n---\n\n## Troubleshooting\n\n| Issue | Fix |\n|-------|-----|\n| Office file fails | Install LibreOffice; ensure `soffice` is on PATH (Windows: add LibreOffice `program` dir) |\n| Image fails | Install ImageMagick; verify `convert` or `magick` works |\n| OCR poor quality | Increase `--dpi`; try `--ocr-language`; or HTTP OCR server |\n| OCR slow | `--no-ocr` if not needed; reduce pages; increase `num_workers` |\n| Air-gapped OCR | `export TESSDATA_PREFIX=\u002Fpath\u002Fto\u002Ftessdata` or `--tessdata-path` |\n| `ParseError` on bytes | Ensure input is valid PDF bytes (Office bytes need a file path + conversion) |\n\n---\n\n## Resources\n\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Frun-llama\u002Fliteparse\n- **Docs**: https:\u002F\u002Fdevelopers.llamaindex.ai\u002Fliteparse\u002F\n- **PyPI**: https:\u002F\u002Fpypi.org\u002Fproject\u002Fliteparse\u002F2.0.0\u002F\n- **npm**: https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@llamaindex\u002Fliteparse\n- **OCR API spec**: https:\u002F\u002Fgithub.com\u002Frun-llama\u002Fliteparse\u002Fblob\u002Fmain\u002FOCR_API_SPEC.md\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm the research question, databases, date range and inclusion criteria.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Run the search on one database with a narrow query and check that the results are relevant.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Every reference is retrieved from a real record with a resolvable identifier; counts and search strings are recorded.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| An API rate-limits or returns errors | Back off and retry, reduce the batch size, or switch database, and report the gap. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Never summarize a paper you have not retrieved; never cite from memory.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `markitdown`: Converts documents to Markdown with Microsoft MarkItDown (Python API, markitdown CLI, markitdown-ocr plugin, markitdown-mcp server), coveri…\n- `llamaindex`: Data framework for building LLM applications with RAG.\n- `open-notebook`: Self-hosted, open-source alternative to Google NotebookLM for AI-powered research and document analysis.\n","# LiteParse — Local Document Parsing\n\n## Overview\n\nLiteParse is a fast, open-source document parser (Rust core, Python\u002FNode bindings) focused on **local, layout-aware text extraction** with bounding boxes. It does not produce Markdown and does not call cloud LLMs. Outputs are **plain text** (layout-preserved) or **structured JSON** with per-page `text_items` (position, font metadata, optional confidence).\n\n**Version note:** Examples target **liteparse 2.0.0** (PyPI, May 2026). The upstream V1 branch is legacy; this skill documents **V2 \u002F main** only.\n\nFor parser selection vs MarkItDown, the `pdf` skill, or LlamaParse, see `references\u002Fchoosing_a_parser.md`.\n\n## When to Use This Skill\n\nUse LiteParse when you need:\n\n- **Fast local parsing** of PDFs or converted Office\u002Fimage files without cloud dependencies\n- **Spatial text** with bounding boxes for layout-aware RAG, citation grounding, or figure\u002Ftable region logic\n- **OCR** on scanned PDFs or images (bundled Tesseract, or a user-run HTTP OCR server)\n- **Page screenshots** (PNG) for multimodal agents that must see charts, figures, or handwriting\n- **Batch ingestion** of literature folders, supplementary PDFs, or protocol libraries\n- **Page subsets** or **password-protected** PDFs\n\n## When Not to Use\n\n| Task | Use instead |\n|------|-------------|\n| Markdown for LLM ingestion (EPUB, audio, YouTube, HTML) | `markitdown` skill |\n| Merge\u002Fsplit PDFs, forms, watermarks, rotation | `pdf` skill |\n| Dense tables, handwriting, production cloud pipelines | [LlamaParse](https:\u002F\u002Fdocs.cloud.llamaindex.ai\u002Fllamaparse\u002Foverview) (cloud; sign up separately) |\n\n## Installation\n\n```bash\nuv pip install \"liteparse==2.0.0\"\n```\n\nThis installs the Python bindings and the **`lit`** CLI. Verify:\n\n```bash\nlit --help\npython -c \"import liteparse; print(liteparse.__version__)\"\n```\n\n**Optional system tools** (for non-PDF inputs):\n\n- **LibreOffice** — Word, Excel, PowerPoint, OpenDocument, CSV\u002FTSV\n- **ImageMagick** — PNG, JPEG, TIFF, WebP, SVG, etc.\n\nInstall commands are in `references\u002Focr_and_formats.md`.\n\n**Node.js \u002F TypeScript** (optional): `npm i @llamaindex\u002Fliteparse` — see `references\u002Fapi_reference.md`.\n\n---\n\n## Quick Start\n\n### Python\n\n```python\nfrom liteparse import LiteParse\n\nparser = LiteParse(quiet=True)\nresult = parser.parse(\"paper.pdf\")\nprint(result.text)\n\nfor page in result.pages:\n    print(f\"Page {page.page_num}: {len(page.text_items)} items\")\n```\n\n### CLI\n\n```bash\n# Layout-preserved text (default)\nlit parse paper.pdf\n\n# Structured JSON with bounding boxes\nlit parse paper.pdf --format json -o paper.json\n\n# Disable OCR on text-native PDFs (faster)\nlit parse paper.pdf --no-ocr\n```\n\n---\n\n## Core Workflows\n\n### 1. Parse to layout-preserved text\n\nBest for quick full-document text or feeding chunkers that do not need coordinates.\n\n```python\nparser = LiteParse(ocr_enabled=True, quiet=True)\nresult = parser.parse(\"document.pdf\")\nfull_text = result.text\n```\n\n```bash\nlit parse document.pdf -o output.txt\n```\n\n### 2. Parse to structured JSON (bounding boxes)\n\nUse when building layout-aware RAG, highlighting source regions, or joining text with screenshots.\n\n```python\nimport json\nfrom liteparse import LiteParse\n\nparser = LiteParse(output_format=\"json\", quiet=True)\nresult = parser.parse(\"document.pdf\")\n\n# Programmatic access\nfor page in result.pages:\n    for item in page.text_items:\n        bbox = (item.x, item.y, item.width, item.height)\n        # item.text, item.confidence, item.font_name, item.font_size\n```\n\n```bash\nlit parse document.pdf --format json -o document.json\n```\n\nJSON field layout: `references\u002Foutput_formats.md`.\n\n### 3. Parse specific pages\n\n```python\nparser = LiteParse(target_pages=\"1-5,10,15-20\", quiet=True)\nresult = parser.parse(\"long_paper.pdf\")\n```\n\n```bash\nlit parse long_paper.pdf --target-pages \"1-5,10\"\n```\n\n### 4. Parse from bytes or stdin\n\nUseful for uploads, S3 downloads, or piping remote PDFs.\n\n```python\nwith open(\"document.pdf\", \"rb\") as f:\n    result = parser.parse(f.read())\n```\n\n```bash\ncurl -sL https:\u002F\u002Fexample.com\u002Freport.pdf | lit parse -\n```\n\n### 5. Page screenshots for multimodal agents\n\nScreenshots capture visual content that text extraction alone misses (figures, complex tables, handwriting).\n\n```python\nfrom pathlib import Path\n\nparser = LiteParse(dpi=150, quiet=True)\nshots = parser.screenshot(\"document.pdf\", page_numbers=[1, 2, 3])\nout = Path(\"screenshots\")\nout.mkdir(exist_ok=True)\nfor s in shots:\n    (out \u002F f\"page_{s.page_num}.png\").write_bytes(s.image_bytes)\n```\n\n```bash\nlit screenshot document.pdf --target-pages \"1,3,5\" -o .\u002Fscreenshots\nlit screenshot document.pdf --dpi 300 -o .\u002Fscreenshots\n```\n\nCombine **JSON parse + screenshots** when an agent needs both coordinates and pixels for the same pages.\n\n### 6. Batch-parse a directory\n\nFor large corpora, prefer the CLI (parallel OCR workers) or the bundled script.\n\n```bash\nlit batch-parse .\u002Fpapers .\u002Fparsed --format json --recursive\nlit batch-parse .\u002Fpapers .\u002Fparsed --extension .pdf --no-ocr\n```\n\n```bash\npython scripts\u002Fbatch_parse_dir.py .\u002Fpapers .\u002Fparsed --format json --recursive\n```\n\nSee `scripts\u002Fbatch_parse_dir.py` for a Python batch wrapper without network calls.\n\n### 7. OCR configuration\n\nOCR is **on by default**. Tesseract is bundled; no extra install for basic English OCR.\n\n```python\nparser = LiteParse(\n    ocr_enabled=True,\n    ocr_language=\"eng\",       # Tesseract codes: fra, deu, etc.\n    num_workers=4,            # parallel OCR (default: CPU cores - 1)\n    dpi=150,                  # higher DPI → better OCR, slower\n)\n```\n\n```bash\nlit parse scan.pdf --ocr-language fra\nlit parse scan.pdf --no-ocr\nlit parse scan.pdf --ocr-server-url http:\u002F\u002Flocalhost:8080\u002Focr\n```\n\n**Offline \u002F air-gapped:** set `TESSDATA_PREFIX` to a directory of `.traineddata` files, or pass `--tessdata-path`. Details: `references\u002Focr_and_formats.md`.\n\n### 8. Encrypted PDFs\n\n```python\nparser = LiteParse(password=\"secret\", quiet=True)\nresult = parser.parse(\"protected.pdf\")\n```\n\n```bash\nlit parse protected.pdf --password secret\n```\n\n### 9. Search text items by phrase\n\nMerge adjacent items and return combined bounding boxes for a phrase (e.g. section titles).\n\n```python\nfrom liteparse import search_items\n\npage = result.get_page(1)\nmatches = search_items(page.text_items, \"Materials and Methods\", case_sensitive=False)\n```\n\n---\n\n## Multi-Format Inputs\n\n| Category | Extensions (examples) | Requirement |\n|----------|----------------------|-------------|\n| PDF | `.pdf` | Native |\n| Office | `.docx`, `.xlsx`, `.pptx`, `.doc`, `.odt`, … | LibreOffice |\n| Images | `.png`, `.jpg`, `.tiff`, `.webp`, `.svg`, … | ImageMagick |\n\nFiles are converted to PDF internally, then parsed. If conversion tools are missing, parsing fails with an actionable error — install the dependency and retry.\n\n---\n\n## Performance Tips\n\n- **`--no-ocr`** on born-digital PDFs — largest speedup\n- **`target_pages`** — parse only methods\u002Fsupplement sections\n- **`num_workers`** — scale OCR across CPU cores\n- **`max_pages`** — cap very large files (default 1000)\n- **`lit batch-parse`** — directory-scale jobs with `--recursive` and `--extension`\n- Lower **`dpi`** (e.g. 100) when OCR quality is already sufficient\n\n---\n\n## Reference Files\n\n| File | Read when |\n|------|-----------|\n| `references\u002Fchoosing_a_parser.md` | Unsure whether to use LiteParse, MarkItDown, pdf, or LlamaParse |\n| `references\u002Fapi_reference.md` | Python\u002FTypeScript API, types, `search_items` |\n| `references\u002Fcli_reference.md` | Full `lit` command flags |\n| `references\u002Foutput_formats.md` | JSON schema, bboxes, confidence scores |\n| `references\u002Focr_and_formats.md` | Tesseract, HTTP OCR, LibreOffice, ImageMagick |\n\n---\n\n## Troubleshooting\n\n| Issue | Fix |\n|-------|-----|\n| Office file fails | Install LibreOffice; ensure `soffice` is on PATH (Windows: add LibreOffice `program` dir) |\n| Image fails | Install ImageMagick; verify `convert` or `magick` works |\n| OCR poor quality | Increase `--dpi`; try `--ocr-language`; or HTTP OCR server |\n| OCR slow | `--no-ocr` if not needed; reduce pages; increase `num_workers` |\n| Air-gapped OCR | `export TESSDATA_PREFIX=\u002Fpath\u002Fto\u002Ftessdata` or `--tessdata-path` |\n| `ParseError` on bytes | Ensure input is valid PDF bytes (Office bytes need a file path + conversion) |\n\n---\n\n## Resources\n\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Frun-llama\u002Fliteparse\n- **Docs**: https:\u002F\u002Fdevelopers.llamaindex.ai\u002Fliteparse\u002F\n- **PyPI**: https:\u002F\u002Fpypi.org\u002Fproject\u002Fliteparse\u002F2.0.0\u002F\n- **npm**: https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@llamaindex\u002Fliteparse\n- **OCR API spec**: https:\u002F\u002Fgithub.com\u002Frun-llama\u002Fliteparse\u002Fblob\u002Fmain\u002FOCR_API_SPEC.md\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm the research question, databases, date range and inclusion criteria.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Run the search on one database with a narrow query and check that the results are relevant.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Every reference is retrieved from a real record with a resolvable identifier; counts and search strings are recorded.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| An API rate-limits or returns errors | Back off and retry, reduce the batch size, or switch database, and report the gap. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Never summarize a paper you have not retrieved; never cite from memory.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `markitdown`: Converts documents to Markdown with Microsoft MarkItDown (Python API, markitdown CLI, markitdown-ocr plugin, markitdown-mcp server), coveri…\n- `llamaindex`: Data framework for building LLM applications with RAG.\n- `open-notebook`: Self-hosted, open-source alternative to Google NotebookLM for AI-powered research and document analysis.\n",{"name":5,"license":15,"metadata":24,"description":7,"allowed-tools":29,"compatibility":30},{"tags":25,"version":26,"category":27,"maintainer":28},"PDF parsing, OCR, document extraction, RAG, papers","1.2","literature-review","Kalaris Labs","Read Write Edit Bash","Python 3.10+. Optional LibreOffice (Office formats) and ImageMagick (images). Bundled Tesseract for OCR. All processing is local — no cloud API required.","main","29fe36d26127205057d5e0ed8425f6b0e9a8c13a","skills\u002Fliteparse",16,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills","https:\u002F\u002Fdocs.kalarislabs.com\u002Fresearch-agent-skills","https:\u002F\u002Fgithub.com\u002FKalarisLabs","kalarislabs.com","Applied AI lab building the infrastructure for the agentic era","2026-11-14 17:49:08",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add KalarisLabs\u002Fresearch-agent-skills --skill liteparse",{"tool":47,"command":48},"bunx","bunx skills add KalarisLabs\u002Fresearch-agent-skills --skill liteparse",{"tool":50,"command":51},"pnpm","pnpm dlx skills add KalarisLabs\u002Fresearch-agent-skills --skill liteparse","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fliteparse\u002FSKILL.md",true,[55,61,65,69,73,77],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fapi_reference.md","REFERENCE","参考文档",4372,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fliteparse\u002Freferences\u002Fapi_reference.md",{"path":62,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fchoosing_a_parser.md",3362,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fliteparse\u002Freferences\u002Fchoosing_a_parser.md",{"path":66,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fcli_reference.md",3290,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fliteparse\u002Freferences\u002Fcli_reference.md",{"path":70,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Focr_and_formats.md",3223,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fliteparse\u002Freferences\u002Focr_and_formats.md",{"path":74,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Foutput_formats.md",3842,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fliteparse\u002Freferences\u002Foutput_formats.md",{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fbatch_parse_dir.py","SCRIPT","脚本",4736,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fliteparse\u002Fscripts\u002Fbatch_parse_dir.py",[84,92,99,106,113,120],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M74Z8MGT305R11SNY5G28QH5","plos","Prepare manuscripts for PLOS journals (PLOS ONE, PLOS Biology, PLOS Computational Biology, PLOS Genetics, PLOS Medicine, PLOS Pathogens, PLOS Neglected Tropical Diseases, PLOS Global Public Health and others), covering structure, abstract and author summary, Vancouver-style references, the mandatory data availability policy, ethics and financial disclosure statements, figure requirements (PACE), the PLOS LaTeX template, reporting guidelines and PLOS ONE's publication criteria. Use when targeting any PLOS journal or checking compliance with PLOS policies.","MIT","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fplos\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M74Z8CCN9APXYHNQ95V1EBGT","pkpd-modeling","Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK\u002FPD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when analysing concentration-time data, deriving exposure metrics, fitting PK or PD models, or evaluating dosing regimens. Triggers include \"pharmacokinetics\", \"pharmacodynamics\", \"PK\u002FPD\", \"NCA\", \"non-compartmental\", \"AUC\", \"Cmax\", \"lambda z\", \"half-life\", \"clearance\", \"volume of distribution\", \"compartmental model\", \"population PK\", \"popPK\", \"NONMEM\", \"nlmixr2\", \"Pharmpy\", \"Monolix\", \"exposure-response\", \"Emax\", \"EC50\", \"indirect response\", \"effect compartment\", \"TMDD\", \"PBPK\", \"bioequivalence\", \"RSABE\", \"ABEL\", \"allometric scaling\", \"first-in-human\", \"MABEL\", \"drug-drug interaction\", \"DDI\", \"ICH M12\", \"concentration-QTc\", \"therapeutic drug monitoring\", \"MIPD\", and \"dosing regimen\".","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpkpd-modeling\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M74Z86YHJJ1FM3X87BHN76KZ","pinecone","Guides use of Pinecone, a managed serverless vector database, through its Python client and the LangChain and LlamaIndex integrations. Covers creating indexes, upserting and querying vectors, metadata filtering, namespaces, hybrid dense and sparse search, index management, and deleting vectors. Use when building a production RAG system on a hosted vector store, adding semantic search or recommendations without running infrastructure, isolating per-user or per-tenant data with namespaces, combining dense and sparse vectors in one query, or filtering results by metadata. Do not use for self-hosted or local stores (Chroma, Weaviate) or offline similarity search (FAISS).","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinecone\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M74Z80T6E89SAJ8MYDD0767Q","pi-agent","Build with and use Pi, the minimal terminal coding harness. Use for installing Pi, configuring providers\u002Fmodels\u002Fsettings\u002Fenvironment variables, creating Pi skills\u002Fextensions\u002Fpackages\u002Fthemes\u002Fprompt templates, embedding Pi through the SDK, integrating over RPC or JSON event streams, parsing sessions, running local models through the llama.cpp router, developing custom Pi providers and TUI components, or using ecosystem packages such as pi-subagents (delegation\u002Forchestration), pi-mcp-adapter (MCP servers), pi-interview (interactive forms), and pi-web-access (web search, fetching, video understanding).","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpi-agent\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M74Z7WF1Y8Q3VFAQPPPRAFMV","phoenix-observability","Open-source AI observability platform for LLM tracing, evaluation, and monitoring. Use when debugging LLM applications with detailed traces, running evaluations on datasets, or monitoring production AI systems with real-time insights.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fphoenix-observability\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M74Z7HNEH1A2AVYR3G1X2QV6","peft-fine-tuning","Fine-tunes LLMs with Hugging Face PEFT, using LoRA, QLoRA, IA3, AdaLoRA, prefix tuning, and prompt tuning so that under 1% of parameters are trained. Covers rank, alpha, and target module selection, loading and merging adapters, multi-adapter serving, and integration with TRL SFTTrainer, Axolotl, and vLLM. Use when fine-tuning 7B-70B models on limited GPU memory, when running QLoRA on a single 24GB GPU, when choosing LoRA rank and alpha, when merging or swapping adapters on one base model, or when debugging CUDA OOM or an adapter that does not apply. Not for full fine-tuning of small models under 1B parameters or cases needing all weights updated.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpeft-fine-tuning\u002FSKILL.md",[],[]]