[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MVX0Y4B4FRVHQ92XYP3CAN":3,"skill-same:01M6MVX0Y4B4FRVHQ92XYP3CAN":84},{"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":34,"publishedAt":54,"linkOnly":55,"markdownContent":56,"markdownBody":57,"frontMatter":58,"refName":62,"commitSha":63,"skillDirectory":64,"forksCount":14,"repositoryHtmlUrl":65,"repositoryHomepageUrl":6,"ownerHtmlUrl":66,"ownerBlogUrl":67,"ownerDescription":68,"updatedAt":69,"install":70,"resources":83},"01M6MVX0Y4B4FRVHQ92XYP3CAN","liteparse",null,"Use this skill when the user asks to parse, perform multi-format document conversion or spatially extract text from an unstructured file (PDF, DOCX, PPTX, XLSX, images, etc.) locally without cloud dependencies.","VincentK1991\u002Funconcealment","VincentK1991","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F38667606?v=4","01M6MVWEXDC7P5ZT43ANEDNMC5","Vincent Kieuvongngam","01M6MVWF8MMXXWJE66RT4F9VEW",0,"MIT","https:\u002F\u002Fgithub.com\u002FVincentK1991\u002Funconcealment\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fliteparse\u002FSKILL.md",[18,23,26,29],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":27,"categoryName":28,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":30,"categoryName":31,"taxonomyType":32,"taxonomyTypeDesc":33},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[5,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],"use","unstructured","LlamaIndex","multi","via","dependencies","document","images","conversion","docx","node","text","format","cloud","file","npm","xlsx","pptx","PDF","2026-11-10 10:12:30",false,"---\nname: liteparse\ndescription: Use this skill when the user asks to parse, perform multi-format document conversion or spatially extract text from an unstructured file (PDF, DOCX, PPTX, XLSX, images, etc.) locally without cloud dependencies.\ncompatibility: Requires Node 18+ and `@llamaindex\u002Fliteparse` installed globally via npm (`npm i -g @llamaindex\u002Fliteparse`)\nlicense: MIT\nmetadata:\n  author: LlamaIndex\n  version: \"0.1.0\"\n---\n\n# LiteParse Skill\n\nParse unstructured documents (PDF, DOCX, PPTX, XLSX, images, and more) locally with LiteParse: fast, lightweight, no cloud dependencies or LLM required.\n\n## Initial Setup\n\nWhen this skill is invoked, respond with:\n\n```\nI'm ready to use LiteParse to parse files locally. Before we begin, please confirm that:\n\n- `@llamaindex\u002Fliteparse` is installed globally (`npm i -g @llamaindex\u002Fliteparse`)\n- The `lit` CLI command is available in your terminal\n\nIf both are set, please provide:\n\n1. One or more files to parse (PDF, DOCX, PPTX, XLSX, images, etc.)\n2. Any specific options: output format (json\u002Ftext), page ranges, OCR preferences, DPI, etc.\n3. What you'd like to do with the parsed content.\n\nI will produce the appropriate `lit` CLI command or TypeScript script, and once approved, report the results.\n```\n\nThen wait for the user's input.\n\n---\n\n## Step 0 — Install LiteParse (if needed)\n\nIf `liteparse` is not yet installed, install it globally:\n\n```bash\nnpm i -g @llamaindex\u002Fliteparse\n```\n\nVerify installation:\n\n```bash\nlit --version\n```\n\nFor Office document support (DOCX, PPTX, XLSX), LibreOffice is required:\n\n```bash\n# macOS\nbrew install --cask libreoffice\n\n# Ubuntu\u002FDebian\napt-get install libreoffice\n```\n\nFor image parsing, ImageMagick is required:\n```bash\n# macOS\nbrew install imagemagick\n\n# Ubuntu\u002FDebian\napt-get install imagemagick\n```\n\n---\n\n## Step 1 — Produce the CLI Command or Script\n\n### Parse a Single File\n\n```bash\n# Basic text extraction\nlit parse document.pdf\n\n# JSON output saved to a file\nlit parse document.pdf --format json -o output.json\n\n# Specific page range\nlit parse document.pdf --target-pages \"1-5,10,15-20\"\n\n# Disable OCR (faster, text-only PDFs)\nlit parse document.pdf --no-ocr\n\n# Use an external HTTP OCR server for higher accuracy\nlit parse document.pdf --ocr-server-url http:\u002F\u002Flocalhost:8828\u002Focr\n\n# Higher DPI for better quality\nlit parse document.pdf --dpi 300\n```\n\n### Batch Parse a Directory\n\n```bash\nlit batch-parse .\u002Finput-directory .\u002Foutput-directory\n\n# Only process PDFs, recursively\nlit batch-parse .\u002Finput .\u002Foutput --extension .pdf --recursive\n```\n\n### Generate Page Screenshots\n\nScreenshots are useful for LLM agents that need to see visual layout.\n\n```bash\n# All pages\nlit screenshot document.pdf -o .\u002Fscreenshots\n\n# Specific pages\nlit screenshot document.pdf --pages \"1,3,5\" -o .\u002Fscreenshots\n\n# High-DPI PNG\nlit screenshot document.pdf --dpi 300 --format png -o .\u002Fscreenshots\n\n# Page range\nlit screenshot document.pdf --pages \"1-10\" -o .\u002Fscreenshots\n```\n\n---\n\n## Step 3 — Key Options Reference\n\n### OCR Options\n\n| Option | Description |\n|--------|-------------|\n| (default) | Tesseract.js — zero setup, built-in |\n| `--ocr-language fra` | Set OCR language (ISO code) |\n| `--ocr-server-url \u003Curl>` | Use external HTTP OCR server (EasyOCR, PaddleOCR, custom) |\n| `--no-ocr` | Disable OCR entirely |\n\n### Output Options\n\n| Option | Description |\n|--------|-------------|\n| `--format json` | Structured JSON with bounding boxes |\n| `--format text` | Plain text (default) |\n| `-o \u003Cfile>` | Save output to file |\n\n### Performance \u002F Quality Options\n\n| Option | Description |\n|--------|-------------|\n| `--dpi \u003Cn>` | Rendering DPI (default: 150; use 300 for high quality) |\n| `--max-pages \u003Cn>` | Limit pages parsed |\n| `--target-pages \u003Cpages>` | Parse specific pages (e.g. `\"1-5,10\"`) |\n| `--no-precise-bbox` | Disable precise bounding boxes (faster) |\n| `--skip-diagonal-text` | Ignore rotated\u002Fdiagonal text |\n| `--preserve-small-text` | Keep very small text that would otherwise be dropped |\n\n---\n\n## Step 4 — Using a Config File\n\nFor repeated use with consistent options, generate a `liteparse.config.json`:\n\n```json\n{\n  \"ocrLanguage\": \"en\",\n  \"ocrEnabled\": true,\n  \"maxPages\": 1000,\n  \"dpi\": 150,\n  \"outputFormat\": \"json\",\n  \"preciseBoundingBox\": true,\n  \"skipDiagonalText\": false,\n  \"preserveVerySmallText\": false\n}\n```\n\nFor an HTTP OCR server:\n\n```json\n{\n  \"ocrServerUrl\": \"http:\u002F\u002Flocalhost:8828\u002Focr\",\n  \"ocrLanguage\": \"en\",\n  \"outputFormat\": \"json\"\n}\n```\n\nUse with:\n\n```bash\nlit parse document.pdf --config liteparse.config.json\n```\n\n---\n\n## Step 5 — HTTP OCR Server API (Advanced)\n\nIf the user wants to plug in a custom OCR backend, the server must implement:\n\n- **Endpoint**: `POST \u002Focr`\n- **Accepts**: `file` (multipart) and `language` (string) parameters\n- **Returns**:\n```json\n{\n  \"results\": [\n    { \"text\": \"Hello\", \"bbox\": [x1, y1, x2, y2], \"confidence\": 0.98 }\n  ]\n}\n```\n\nReady-to-use wrappers exist for EasyOCR and PaddleOCR in the LiteParse repo.\n\n---\n\n## Supported Input Formats\n\n| Category | Formats |\n|----------|---------|\n| PDF | `.pdf` |\n| Word | `.doc`, `.docx`, `.docm`, `.odt`, `.rtf` |\n| PowerPoint | `.ppt`, `.pptx`, `.pptm`, `.odp` |\n| Spreadsheets | `.xls`, `.xlsx`, `.xlsm`, `.ods`, `.csv`, `.tsv` |\n| Images | `.jpg`, `.jpeg`, `.png`, `.gif`, `.bmp`, `.tiff`, `.webp`, `.svg` |\n\nOffice documents require LibreOffice; images require ImageMagick. LiteParse auto-converts these formats to PDF before parsing.\n","# LiteParse Skill\n\nParse unstructured documents (PDF, DOCX, PPTX, XLSX, images, and more) locally with LiteParse: fast, lightweight, no cloud dependencies or LLM required.\n\n## Initial Setup\n\nWhen this skill is invoked, respond with:\n\n```\nI'm ready to use LiteParse to parse files locally. Before we begin, please confirm that:\n\n- `@llamaindex\u002Fliteparse` is installed globally (`npm i -g @llamaindex\u002Fliteparse`)\n- The `lit` CLI command is available in your terminal\n\nIf both are set, please provide:\n\n1. One or more files to parse (PDF, DOCX, PPTX, XLSX, images, etc.)\n2. Any specific options: output format (json\u002Ftext), page ranges, OCR preferences, DPI, etc.\n3. What you'd like to do with the parsed content.\n\nI will produce the appropriate `lit` CLI command or TypeScript script, and once approved, report the results.\n```\n\nThen wait for the user's input.\n\n---\n\n## Step 0 — Install LiteParse (if needed)\n\nIf `liteparse` is not yet installed, install it globally:\n\n```bash\nnpm i -g @llamaindex\u002Fliteparse\n```\n\nVerify installation:\n\n```bash\nlit --version\n```\n\nFor Office document support (DOCX, PPTX, XLSX), LibreOffice is required:\n\n```bash\n# macOS\nbrew install --cask libreoffice\n\n# Ubuntu\u002FDebian\napt-get install libreoffice\n```\n\nFor image parsing, ImageMagick is required:\n```bash\n# macOS\nbrew install imagemagick\n\n# Ubuntu\u002FDebian\napt-get install imagemagick\n```\n\n---\n\n## Step 1 — Produce the CLI Command or Script\n\n### Parse a Single File\n\n```bash\n# Basic text extraction\nlit parse document.pdf\n\n# JSON output saved to a file\nlit parse document.pdf --format json -o output.json\n\n# Specific page range\nlit parse document.pdf --target-pages \"1-5,10,15-20\"\n\n# Disable OCR (faster, text-only PDFs)\nlit parse document.pdf --no-ocr\n\n# Use an external HTTP OCR server for higher accuracy\nlit parse document.pdf --ocr-server-url http:\u002F\u002Flocalhost:8828\u002Focr\n\n# Higher DPI for better quality\nlit parse document.pdf --dpi 300\n```\n\n### Batch Parse a Directory\n\n```bash\nlit batch-parse .\u002Finput-directory .\u002Foutput-directory\n\n# Only process PDFs, recursively\nlit batch-parse .\u002Finput .\u002Foutput --extension .pdf --recursive\n```\n\n### Generate Page Screenshots\n\nScreenshots are useful for LLM agents that need to see visual layout.\n\n```bash\n# All pages\nlit screenshot document.pdf -o .\u002Fscreenshots\n\n# Specific pages\nlit screenshot document.pdf --pages \"1,3,5\" -o .\u002Fscreenshots\n\n# High-DPI PNG\nlit screenshot document.pdf --dpi 300 --format png -o .\u002Fscreenshots\n\n# Page range\nlit screenshot document.pdf --pages \"1-10\" -o .\u002Fscreenshots\n```\n\n---\n\n## Step 3 — Key Options Reference\n\n### OCR Options\n\n| Option | Description |\n|--------|-------------|\n| (default) | Tesseract.js — zero setup, built-in |\n| `--ocr-language fra` | Set OCR language (ISO code) |\n| `--ocr-server-url \u003Curl>` | Use external HTTP OCR server (EasyOCR, PaddleOCR, custom) |\n| `--no-ocr` | Disable OCR entirely |\n\n### Output Options\n\n| Option | Description |\n|--------|-------------|\n| `--format json` | Structured JSON with bounding boxes |\n| `--format text` | Plain text (default) |\n| `-o \u003Cfile>` | Save output to file |\n\n### Performance \u002F Quality Options\n\n| Option | Description |\n|--------|-------------|\n| `--dpi \u003Cn>` | Rendering DPI (default: 150; use 300 for high quality) |\n| `--max-pages \u003Cn>` | Limit pages parsed |\n| `--target-pages \u003Cpages>` | Parse specific pages (e.g. `\"1-5,10\"`) |\n| `--no-precise-bbox` | Disable precise bounding boxes (faster) |\n| `--skip-diagonal-text` | Ignore rotated\u002Fdiagonal text |\n| `--preserve-small-text` | Keep very small text that would otherwise be dropped |\n\n---\n\n## Step 4 — Using a Config File\n\nFor repeated use with consistent options, generate a `liteparse.config.json`:\n\n```json\n{\n  \"ocrLanguage\": \"en\",\n  \"ocrEnabled\": true,\n  \"maxPages\": 1000,\n  \"dpi\": 150,\n  \"outputFormat\": \"json\",\n  \"preciseBoundingBox\": true,\n  \"skipDiagonalText\": false,\n  \"preserveVerySmallText\": false\n}\n```\n\nFor an HTTP OCR server:\n\n```json\n{\n  \"ocrServerUrl\": \"http:\u002F\u002Flocalhost:8828\u002Focr\",\n  \"ocrLanguage\": \"en\",\n  \"outputFormat\": \"json\"\n}\n```\n\nUse with:\n\n```bash\nlit parse document.pdf --config liteparse.config.json\n```\n\n---\n\n## Step 5 — HTTP OCR Server API (Advanced)\n\nIf the user wants to plug in a custom OCR backend, the server must implement:\n\n- **Endpoint**: `POST \u002Focr`\n- **Accepts**: `file` (multipart) and `language` (string) parameters\n- **Returns**:\n```json\n{\n  \"results\": [\n    { \"text\": \"Hello\", \"bbox\": [x1, y1, x2, y2], \"confidence\": 0.98 }\n  ]\n}\n```\n\nReady-to-use wrappers exist for EasyOCR and PaddleOCR in the LiteParse repo.\n\n---\n\n## Supported Input Formats\n\n| Category | Formats |\n|----------|---------|\n| PDF | `.pdf` |\n| Word | `.doc`, `.docx`, `.docm`, `.odt`, `.rtf` |\n| PowerPoint | `.ppt`, `.pptx`, `.pptm`, `.odp` |\n| Spreadsheets | `.xls`, `.xlsx`, `.xlsm`, `.ods`, `.csv`, `.tsv` |\n| Images | `.jpg`, `.jpeg`, `.png`, `.gif`, `.bmp`, `.tiff`, `.webp`, `.svg` |\n\nOffice documents require LibreOffice; images require ImageMagick. LiteParse auto-converts these formats to PDF before parsing.\n",{"name":5,"license":15,"metadata":59,"description":7,"compatibility":61},{"author":37,"version":60},"0.1.0","Requires Node 18+ and `@llamaindex\u002Fliteparse` installed globally via npm (`npm i -g @llamaindex\u002Fliteparse`)","main","9b8fcfc4466dffab51d55ffa54569ae2fdd4ac9a",".claude\u002Fskills\u002Fliteparse","https:\u002F\u002Fgithub.com\u002FVincentK1991\u002Funconcealment","https:\u002F\u002Fgithub.com\u002FVincentK1991","https:\u002F\u002Fvincentk1991.github.io\u002F","Data scientist working on AI and ML app. \r\n\r\nPhD in molecular biophysics from the Rockefeller University.","2026-04-18 02:58:43",{"source":8,"skillName":5,"commands":71,"prompt":81,"zipAvailable":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add VincentK1991\u002Funconcealment --skill liteparse",{"tool":76,"command":77},"bunx","bunx skills add VincentK1991\u002Funconcealment --skill liteparse",{"tool":79,"command":80},"pnpm","pnpm dlx skills add VincentK1991\u002Funconcealment --skill liteparse","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVincentK1991\u002Funconcealment\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fliteparse\u002FSKILL.md",true,[],[]]