ivanrvpereira/.agents/liteparse
Claude Code and agent skill by ivanrvpereira/.agents
- community
Checking that the SKILL.md file is still in the repository.
Read or extract text, tables, and values from a document file (PDF, DOCX, PPTX, XLSX, or image) locally with the `lit` CLI. Use when a task needs the contents of such a file.
Install
npx vskill@latest install ivanrvpereira/.agents/liteparseSKILL.md
The same SKILL.md was published earlier as ivanrvpereira/.agents/liteparse.
LiteParse
lit extracts text from documents locally without a model. Every lit parse re-extracts the whole document, and every line you print stays in context for the rest of the session, so the goal is few parses, few turns, small output.
Parse once to a file, then search the file
Reuse /tmp/doc.txt for every later question about the document. Never re-run lit parse to search.
- Born-digital PDF (has a text layer, like most reports): pass
--no-ocr. It is much faster and gives the same text. - Scanned PDF or image: drop
--no-ocr. If digits look wrong, read the page visually (below). --format jsononly when you need bounding boxes or layout. Search it, never print it whole.
Search in few turns
- Get the context in the same command:
grep -n -i -C4 "total assets" /tmp/doc.txt | head -40. Usesed -n 'A,Bp'only when you need a wider window than-Cgave. - Batch independent lookups into one command:
``bash for q in "carbon intensity" "scope 1" "total revenue"; do \ echo "=== $q ==="; grep -n -i -C3 "$q" /tmp/doc.txt | head -25; done ``
- Bound every output with
head. Use shellgrep/sedon the saved file rather than the Read and Grep tools. - If two targeted greps do not find the answer, run the bundled BM25 ranker once instead of trying keyword variants. Give it a natural-language query with several synonyms.
-kis the number of matches and-ethe lines of context around each:
``bash uv run --script <skill-dir>/scripts/search.py /tmp/doc.txt -q "materiality assessment priority topics" -k 8 -e 5 ``
Read a page visually: last resort
Screenshots are the most expensive thing you can put in context. Use one only when text cannot answer the question (dense multi-column tables, figures, charts). Render one page at modest DPI, and re-render higher only if the text is illegible:
The page flag is --target-pages, not --pages.
Setup
Go straight to the parse. Skip lit --version and --help unless something failed. If lit is missing: npm i -g @llamaindex/liteparse. Office files need LibreOffice and images need ImageMagick; lit converts both to PDF.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/auto/liteparse/SKILL.md
Popularity
- Repository stars
- 19
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ivanrvpereira/.agents/liteparse)