Skip to content
LiteParse
Guides

Agent Skill

Add LiteParse as a skill for coding agents like Claude Code, Cursor, and others.

LiteParse ships as a coding agent skill — a self-contained capability that Claude Code, Cursor, Codex, and other compatible agents load on demand. Installing it gives your agent the ability to parse documents, extract text and bounding boxes, and generate screenshots, all locally and with no API key.

Add the LiteParse skill to your project with the skills CLI:

Terminal window
npx skills add run-llama/llamaparse-agent-skills --skill liteparse

This downloads a skill file that compatible coding agents pick up automatically.

You can also copy SKILL.md into your own skills setup by hand, or install the liteparse plugin from the agent plugins marketplace to enable it from inside Claude Code or Codex.

RequirementNeeded for
Node 18+ and npm i -g @llamaindex/liteparseThe lit CLI the skill drives — verify with lit --version
LibreOfficeParsing Office files (DOCX, XLSX, PPTX)
uvThe bundled ranked-search helper

No API key is required since everything runs on your machine.

The skill is more than an install: it encodes the extraction patterns that keep an agent’s context small and its runs cheap. Without it, agents commonly re-parse the same document on every search and dump entire pages into the conversation.

  • Parse once to a file, then search that file. Each lit parse re-extracts the whole document, so the skill has the agent parse to a temp file and run all subsequent searches against it.
  • Minimize round-trips. Fetch a match and its surrounding context in a single command, and batch independent lookups together rather than spending a turn per search term.
  • Bound every output. Results are capped so a single lookup can’t flood the context window.
  • Escalate to ranked search when keyword matching stalls, instead of firing off keyword variants one turn at a time.

Once the skill is installed, you can ask your coding agent things like:

  • “Parse this PDF and extract the text as JSON”
  • “Extract text from all the DOCX files in the ./contracts folder”
  • “Screenshot pages 1-5 of this PDF at 300 DPI”
  • “Parse this scanned document using the PaddleOCR server on localhost:8828”
  • “Get the bounding boxes for all text on page 3”

LiteParse is one of several ways to give an agent document-processing capabilities. For cloud parsing of complex documents, MCP servers, and workflow nodes, see Using LlamaIndex with AI Agents.

Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/for-agents/mcp/ - Other LlamaIndex tooling for agents — the LlamaParse Platform MCP server, agent skills and plugins, and the n8n node — is mapped at https://developers.llamaindex.ai/for-agents/