[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QF0VPZ5ZV390624YW4CGS9":3,"skill-same:01M6QF0VPZ5ZV390624YW4CGS9":109},{"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":26,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":14,"repositoryHtmlUrl":61,"repositoryHomepageUrl":62,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M6QF0VPZ5ZV390624YW4CGS9","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.","Tashima-Tarsh\u002FDisha6.6","Tashima-Tarsh","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269906498?v=4","01M6PBH98X03XERH0HFT4PFB1P","NITISH KUMAR","01M6PBH9DA0M6KM3Z12P848F0K",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-liteparse\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",[5,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"edit","for","formats","rendering","literature","boxes","local","files","use","docx","write","read","text","multimodal","batch","capabilities","rag","python","PDF","2026-11-10 10:12:30",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":51,"description":7,"allowed-tools":56,"compatibility":57},{"tags":52,"version":53,"category":54,"maintainer":55},"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","0da4485785ee599388900be50db1635489d53056",".agents\u002Fskills\u002Fkal-liteparse","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6","https:\u002F\u002Fdisha6.6.thenitishkr.in\u002F","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh","www.thenitishkr","thenitishkr | AI • Cyber-security • Research\r\n","2026-11-08 03:33:25",{"source":8,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add Tashima-Tarsh\u002FDisha6.6 --skill liteparse",{"tool":73,"command":74},"bunx","bunx skills add Tashima-Tarsh\u002FDisha6.6 --skill liteparse",{"tool":76,"command":77},"pnpm","pnpm dlx skills add Tashima-Tarsh\u002FDisha6.6 --skill liteparse","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-liteparse\u002FSKILL.md",true,[81,87,91,95,99,103],{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fapi_reference.md","REFERENCE","参考文档",4372,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-liteparse\u002Freferences\u002Fapi_reference.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fchoosing_a_parser.md",3362,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-liteparse\u002Freferences\u002Fchoosing_a_parser.md",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fcli_reference.md",3290,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-liteparse\u002Freferences\u002Fcli_reference.md",{"path":96,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Focr_and_formats.md",3223,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-liteparse\u002Freferences\u002Focr_and_formats.md",{"path":100,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Foutput_formats.md",3842,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-liteparse\u002Freferences\u002Foutput_formats.md",{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Fbatch_parse_dir.py","SCRIPT","脚本",4578,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-liteparse\u002Fscripts\u002Fbatch_parse_dir.py",[110,139,162,189,214,238],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":120,"publishedAt":46},"01M6QRD07D4TGNDK6VJ4EHF8BV","youtube-full","Use when the user needs YouTube transcripts, video search, channel browsing, playlist extraction, or content monitoring. Trigger phrases: 'get the transcript for', 'search YouTube for', 'what are the latest videos on', 'list this playlist', 'monitor this channel', or any request involving a YouTube URL, video ID, or @handle. Do NOT use for downloading video or audio files, YouTube engagement data (likes, comments), or private\u002Fage-restricted videos.","MIT","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fyoutube-full\u002FSKILL.md",[117],{"categoryNo":118,"categoryName":119,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体",[121,122,123,124,125,126,127,128,129,130,34,131,132,133,134,135,28,136,137,138],"youtube full","youtube","full","transcript","search","monitoring","data","Video","Audio","list","do","get","age","trigger","URL","browsing","request","youtube transcripts",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":46},"01M6QRCJ3112VYPA97YG7KGMC2","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[146,147,148,149,125,150,151,152,153,154,155,156,37,157,35,158,159,160,161,28],"twitter","x twitter growth","growth","research","content","engineering","plan","web search","competitors","analyze","engine","strategy","platform","grow","posting","competitive",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":171,"publishedAt":46},"01M6QRBN3EHQNJY42RERP7A149","write-a-skill","Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, build, or author a new skill.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[168],{"categoryNo":169,"categoryName":170,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[172,37,173,174,175,176,177,178,35,179,180,58,181,182,183,184,185,186,187,188],"write a skill","github","create","https","productivity","matt pocock","direct","example","build","new skill","structure","new agent","resources","with","tree","progressive disclosure","author",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":195,"publishedAt":46},"01M6QRB6G8P33PNGAF9Y69EJ9T","wrap-up","Close out a launched Claude Managed Agent — recap every primitive the founder now owns, regenerate the single-file overview page, and suggest the next 1-2 upgrades. Use when the user says \"wrap up\", \"close this out\", \"what do I own now\", \"give me the summary\", \"recap the agent\", or when the orchestrator routes phase=wrap-up. primitives_inventory.py tables everything owned (agent, environment, session, memory, outcome, deployment); overview_page.py regenerates a self-contained .\u002Fmy-agent\u002Fagent-overview.html; upgrade_suggester.py ranks the next moves from recorded deferrals plus standing hardening steps. Companion to run-without-you; the last stop before phase=done.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrap-up\u002FSKILL.md",[],[196,197,198,199,200,201,202,203,204,35,205,131,206,207,208,209,210,211,212,213],"wrap up","up","wrap","gemini","deployment","run","file","hardening","closeout","stop","upgrade","founder","close","companion","you","tables","directions","phase",{"skillNo":215,"name":216,"nameZh":6,"description":217,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":218,"categories":219,"keywords":221,"publishedAt":46},"01M6QRA5AYC1RBFZ39GTWGS3N8","workflow-builder","Design and write deterministic multi-agent workflow scripts (.js files in .claude\u002Fworkflows\u002F) for Claude Code's Workflow tool. Use when a user wants to build, create, author, scaffold, or run a custom Claude Code workflow, orchestrate sub-agents (fan-out, pipeline, loop, judge-panel), or automate a repeatable multi-step task across fresh-context agents.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow-builder\u002FSKILL.md",[220],{"categoryNo":169,"categoryName":170,"taxonomyType":21,"taxonomyTypeDesc":22},[222,223,224,225,226,174,201,227,228,229,230,231,37,232,34,233,234,235,236,237],"workflow","workflow builder","builder","design","workflows","code","orchestrate","pipeline","loop","multi-agent","context","across","fresh","scripts","judge","claude code workflow",{"skillNo":239,"name":240,"nameZh":6,"description":241,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":242,"categories":243,"keywords":244,"publishedAt":46},"01M6QR7QMCZESKQA0ERW1E657M","weekly-review","Use when someone wants to run a weekly review, close open loops, audit stalled projects and commitments, get their system back to trusted, restart a lapsed review habit, or says \"\u002Fcs:weekly-review\". Walks David Allen's three-phase loop — GET CLEAR, GET CURRENT, GET CREATIVE — with deterministic scripts that inventory open loops, gate the checklist with named gaps, and score commitment health 0-100.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[245,246,247,248,249,250,251,252,253,230,254,255,256,257,258,259,132,260,261,213],"review","weekly review","weekly","deterministic scripts","reflect","feeds","inventory","open","team","projects","project-management","scanner","conversation","back","project","sprint","cadence"]