[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CVR86836BTPXJ6NM3XBNDY":3,"skill-same:01M7CVR86836BTPXJ6NM3XBNDY":56},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7CVR86836BTPXJ6NM3XBNDY","liteparse",null,"Use this skill whenever a task involves a document file (PDF, DOCX, PPTX, XLSX, or image) and you need to read it or pull text, tables, or specific values out of it — to answer a question about its contents, look up a figure, or extract data. Provides fast, local, model-free extraction via the `lit` CLI with disciplined, low-cost search patterns.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Frun-llama-llamaparse-agent-skills\u002Fliteparse\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: liteparse\ndescription: Use this skill whenever a task involves a document file (PDF, DOCX, PPTX, XLSX, or image) and you need to read it or pull text, tables, or specific values out of it — to answer a question about its contents, look up a figure, or extract data. Provides fast, local, model-free extraction via the `lit` CLI with disciplined, low-cost search patterns.\ncompatibility: Requires Node 18+ and `@llamaindex\u002Fliteparse` (`npm i -g @llamaindex\u002Fliteparse`, verify `lit --version`). LibreOffice for Office files; ImageMagick for images. The bundled search.py helper needs `uv`.\nlicense: MIT\nmetadata:\n  author: LlamaIndex\n  version: \"1.0.1\"\n---\n\n# Effective LiteParse\n\nExtract text from documents locally with the `lit` CLI — a fast, model-free parser. This skill is\nabout using it **cheaply**: each `lit parse` re-runs full extraction, and every line you dump into\nthe conversation is paid for on every subsequent turn. The patterns below come from analyzing real\nagent traces where the same PDF was parsed up to **9 times** and single image reads cost\n**140k+ characters** of context. Don't repeat those mistakes.\n\n## The golden rule: parse ONCE to a file, then search the file\n\n`lit parse` re-extracts the whole document every time you call it. Re-parsing per search is the #1\nwaste seen in traces. Parse a document exactly once, to a temp file, then run all your searches\nagainst that file:\n\n```bash\n# ONE TIME, per document. --no-ocr for born-digital PDFs (almost all reports) — much faster.\nlit parse \"\u002Fabs\u002Fpath\u002Fdoc.pdf\" --format text --no-ocr -o \u002Ftmp\u002Fdoc.txt && wc -l \u002Ftmp\u002Fdoc.txt\n```\n\nThen search the file with cheap shell tools — **never** re-run `lit parse` to search again.\n\n## Search discipline — minimize ROUND-TRIPS, then keep results small\n\nEvery Bash call is a full model round-trip (latency + re-read of context). The biggest waste after\nparsing is a **serial** loop: grep → look → grep again → `sed` to read the window → grep again. In\ntraces this doubled the turn count versus just reading the doc. Two rules fix it:\n\n**1. Get context in the SAME command — don't grep then `sed`.** Use `grep -C` so the surrounding\nlines come back with the hit. This removes the follow-up `sed` turn for the common case:\n\n```bash\ngrep -n -i -C4 \"total assets\" \u002Ftmp\u002Fdoc.txt | head -40      # location AND its window, one turn\n```\n\nOnly fall back to `sed -n 'A,Bp'` when you already know the exact line and need a *wider* window\nthan `-C` gave you.\n\n**2. Batch independent lookups into ONE command.** When a question needs several distinct facts\n(e.g. emissions *and* revenue), don't spend one turn per term. Probe them together with labels:\n\n```bash\nfor q in \"carbon intensity\" \"scope 1\" \"total revenue\"; do \\\n  echo \"=== $q ===\"; grep -n -i -C3 \"$q\" \u002Ftmp\u002Fdoc.txt | head -25; done\n```\n\nThen keep results small:\n\n- **Always bound output** with `head` and use `-n` for line numbers.\n- **Don't fan out blindly.** Aim to resolve a question in ≤3 search commands. If two targeted greps\n  don't pin it down, switch to `search.py` (below) — don't keep firing keyword variations one per turn.\n- Prefer **Bash `grep`\u002F`sed` on the saved file over the Read and Grep tools** — fewer round-trips and\n  you control output size precisely.\n\n## Ranked search when keywords are uncertain (bundled helper)\n\nWhen two targeted greps haven't pinned the answer, **stop greping** — don't iterate keyword variants\none turn at a time. Run the bundled BM25 ranker ONCE to surface the most relevant line-windows in a\nsingle command:\n\n```bash\n.\u002F.claude\u002Fskills\u002Feffective-liteparse\u002Fscripts\u002Fsearch.py \u002Ftmp\u002Fdoc.txt -q \"materiality assessment priority topics\" -k 8 -e 5\n```\n\n`-k` = number of matches, `-e` = lines of context around each (so the window comes back inline — no\nfollow-up `sed` turn). It returns ranked windows with line numbers. Use a rich natural-language query\n(several synonyms in one string), not a single keyword. This replaces a long chain of speculative greps.\n\n## Born-digital vs scanned\n\n- **Born-digital PDF** (real text layer — nearly all corporate\u002Ffinance\u002FESG reports): always pass\n  `--no-ocr`. It's much faster and the text is identical. Leaving OCR on wastes time.\n- **Scanned PDF \u002F image**: drop `--no-ocr`. If the value is missing or digits look wrong, read the\n  page visually (see below) rather than trusting OCR.\n\n## Reading a page visually — last resort, ONE screenshot, modest DPI\n\nScreenshots are the most expensive thing you can put in context: a single high-DPI page PNG ran\n**~140k characters** in one trace, and agents often rendered the same page twice (default + hi-res).\n\nOnly screenshot when text\u002Ftables genuinely can't answer the question (dense multi-column tables,\nfigures, charts). Then:\n\n- Render **one** page at a time with `--target-pages \"N\"` (note: it's `--target-pages`, NOT `--pages`).\n- Use **modest DPI (~150–200)**. Do not start at 300+; do not re-render the same page at higher DPI\n  unless the text is actually illegible.\n\n```bash\nlit screenshot \"\u002Fabs\u002Fpath\u002Fdoc.pdf\" --target-pages \"13\" --dpi 150 -o \u002Ftmp\u002Fshots\u002F   # then Read the PNG\n```\n\n## Many questions about the same document\n\nParsing once to a file already covers this: keep the `\u002Ftmp\u002Fdoc.txt` and reuse it across every\nquestion instead of re-parsing.\n\n## Don't waste turns on preamble\n\nSkip `lit --version`, `ls -la`, and `lit … --help` unless something actually failed. Go straight to\nthe parse. Core flags you need:\n\n`--format text|json` · `--no-ocr` · `--target-pages \"1-5,10\"` · `--dpi \u003Cn>` (default 150) ·\n`--ocr-language \u003Ciso>`. Use `--format json` only when you need bounding boxes\u002Flayout — it's much\nlarger; still search it, never load it whole.\n\n## Setup\n\nPDFs work out of the box. If `lit` is missing: `npm i -g @llamaindex\u002Fliteparse`. Office docs need\nLibreOffice; images need ImageMagick (both auto-converted to PDF).\n","# Effective LiteParse\n\nExtract text from documents locally with the `lit` CLI — a fast, model-free parser. This skill is\nabout using it **cheaply**: each `lit parse` re-runs full extraction, and every line you dump into\nthe conversation is paid for on every subsequent turn. The patterns below come from analyzing real\nagent traces where the same PDF was parsed up to **9 times** and single image reads cost\n**140k+ characters** of context. Don't repeat those mistakes.\n\n## The golden rule: parse ONCE to a file, then search the file\n\n`lit parse` re-extracts the whole document every time you call it. Re-parsing per search is the #1\nwaste seen in traces. Parse a document exactly once, to a temp file, then run all your searches\nagainst that file:\n\n```bash\n# ONE TIME, per document. --no-ocr for born-digital PDFs (almost all reports) — much faster.\nlit parse \"\u002Fabs\u002Fpath\u002Fdoc.pdf\" --format text --no-ocr -o \u002Ftmp\u002Fdoc.txt && wc -l \u002Ftmp\u002Fdoc.txt\n```\n\nThen search the file with cheap shell tools — **never** re-run `lit parse` to search again.\n\n## Search discipline — minimize ROUND-TRIPS, then keep results small\n\nEvery Bash call is a full model round-trip (latency + re-read of context). The biggest waste after\nparsing is a **serial** loop: grep → look → grep again → `sed` to read the window → grep again. In\ntraces this doubled the turn count versus just reading the doc. Two rules fix it:\n\n**1. Get context in the SAME command — don't grep then `sed`.** Use `grep -C` so the surrounding\nlines come back with the hit. This removes the follow-up `sed` turn for the common case:\n\n```bash\ngrep -n -i -C4 \"total assets\" \u002Ftmp\u002Fdoc.txt | head -40      # location AND its window, one turn\n```\n\nOnly fall back to `sed -n 'A,Bp'` when you already know the exact line and need a *wider* window\nthan `-C` gave you.\n\n**2. Batch independent lookups into ONE command.** When a question needs several distinct facts\n(e.g. emissions *and* revenue), don't spend one turn per term. Probe them together with labels:\n\n```bash\nfor q in \"carbon intensity\" \"scope 1\" \"total revenue\"; do \\\n  echo \"=== $q ===\"; grep -n -i -C3 \"$q\" \u002Ftmp\u002Fdoc.txt | head -25; done\n```\n\nThen keep results small:\n\n- **Always bound output** with `head` and use `-n` for line numbers.\n- **Don't fan out blindly.** Aim to resolve a question in ≤3 search commands. If two targeted greps\n  don't pin it down, switch to `search.py` (below) — don't keep firing keyword variations one per turn.\n- Prefer **Bash `grep`\u002F`sed` on the saved file over the Read and Grep tools** — fewer round-trips and\n  you control output size precisely.\n\n## Ranked search when keywords are uncertain (bundled helper)\n\nWhen two targeted greps haven't pinned the answer, **stop greping** — don't iterate keyword variants\none turn at a time. Run the bundled BM25 ranker ONCE to surface the most relevant line-windows in a\nsingle command:\n\n```bash\n.\u002F.claude\u002Fskills\u002Feffective-liteparse\u002Fscripts\u002Fsearch.py \u002Ftmp\u002Fdoc.txt -q \"materiality assessment priority topics\" -k 8 -e 5\n```\n\n`-k` = number of matches, `-e` = lines of context around each (so the window comes back inline — no\nfollow-up `sed` turn). It returns ranked windows with line numbers. Use a rich natural-language query\n(several synonyms in one string), not a single keyword. This replaces a long chain of speculative greps.\n\n## Born-digital vs scanned\n\n- **Born-digital PDF** (real text layer — nearly all corporate\u002Ffinance\u002FESG reports): always pass\n  `--no-ocr`. It's much faster and the text is identical. Leaving OCR on wastes time.\n- **Scanned PDF \u002F image**: drop `--no-ocr`. If the value is missing or digits look wrong, read the\n  page visually (see below) rather than trusting OCR.\n\n## Reading a page visually — last resort, ONE screenshot, modest DPI\n\nScreenshots are the most expensive thing you can put in context: a single high-DPI page PNG ran\n**~140k characters** in one trace, and agents often rendered the same page twice (default + hi-res).\n\nOnly screenshot when text\u002Ftables genuinely can't answer the question (dense multi-column tables,\nfigures, charts). Then:\n\n- Render **one** page at a time with `--target-pages \"N\"` (note: it's `--target-pages`, NOT `--pages`).\n- Use **modest DPI (~150–200)**. Do not start at 300+; do not re-render the same page at higher DPI\n  unless the text is actually illegible.\n\n```bash\nlit screenshot \"\u002Fabs\u002Fpath\u002Fdoc.pdf\" --target-pages \"13\" --dpi 150 -o \u002Ftmp\u002Fshots\u002F   # then Read the PNG\n```\n\n## Many questions about the same document\n\nParsing once to a file already covers this: keep the `\u002Ftmp\u002Fdoc.txt` and reuse it across every\nquestion instead of re-parsing.\n\n## Don't waste turns on preamble\n\nSkip `lit --version`, `ls -la`, and `lit … --help` unless something actually failed. Go straight to\nthe parse. Core flags you need:\n\n`--format text|json` · `--no-ocr` · `--target-pages \"1-5,10\"` · `--dpi \u003Cn>` (default 150) ·\n`--ocr-language \u003Ciso>`. Use `--format json` only when you need bounding boxes\u002Flayout — it's much\nlarger; still search it, never load it whole.\n\n## Setup\n\nPDFs work out of the box. If `lit` is missing: `npm i -g @llamaindex\u002Fliteparse`. Office docs need\nLibreOffice; images need ImageMagick (both auto-converted to PDF).\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":27},{"author":25,"version":26},"LlamaIndex","1.0.1","Requires Node 18+ and `@llamaindex\u002Fliteparse` (`npm i -g @llamaindex\u002Fliteparse`, verify `lit --version`). LibreOffice for Office files; ImageMagick for images. The bundled search.py helper needs `uv`.","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Frun-llama-llamaparse-agent-skills\u002Fliteparse",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill liteparse",{"tool":42,"command":43},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill liteparse",{"tool":45,"command":46},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill liteparse","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Frun-llama-llamaparse-agent-skills\u002Fliteparse\u002FSkill.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"metadata.json","REFERENCE","参考文档",486,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Frun-llama-llamaparse-agent-skills\u002Fliteparse\u002Fmetadata.json",[57,64,69,76,81,88],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":65,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":77,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":89,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]