Agent skill

Document Processor

by vixues in vixues/LeAgent

Guidance for processing documents, extracting content, and transforming structured information.

Apache-2.0Auto-check passedDocuments & Office

Install Document Processor

skills CLI
$ npx skills add vixues/LeAgent --skill document-processor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install vixues/LeAgent document-processor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/vixues/LeAgent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/backend/leagent/skills/builtin/document-processor .claude/skills/document-processor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
document-processor
GitHub stars
232
Token cost
~560 tokens
SKILL.md length
211 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

Guidance for processing documents, extracting content, and transforming structured information.

  • Works in 5 steps: Identify the document type: PDF, DOCX,… → Assess document structure: headers,… → Extract relevant content based on the… → …
  • The user asks to process
  • SKILL.md covers Document Analysis Workflow, Common Operations, Quality Guidelines and Error Handling
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Document Processor is an agent skill from vixues/LeAgent. Guidance for processing documents, extracting content, and transforming structured information. Use when the user asks to process, parse, extract, or transform document content such as PDFs, Word files, or spreadsheets.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Excel spreadsheets and Document parsing. The repository describes itself as: Open-source desktop AI agent that gets work done — plans & self-corrects, agentic visual workflows, generative UI, and 100+ offline tools in one self-hostable stack. The licence is Apache-2.0.

When your agent uses it

  • The user asks to process
  • Transform document content such as PDFs

Example prompts

  • “/document-processor”

Requirements

  • Pre-approved tools (allowed-tools): document_parser, pdf_extractor, docx_extractor, excel_extractor, table_extractor

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Identify the document type: PDF, DOCX, XLSX, TXT, Markdown, HTML.
  2. Assess document structure: headers, sections, tables, images, metadata.
  3. Extract relevant content based on the user's request.
  4. Transform extracted content to the requested format.
  5. Validate accuracy, structure, and completeness.

What it can do on your machine

Read from SKILL.md and the folder at commit 1f16bad. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • document_parser
    • pdf_extractor
    • docx_extractor
    • excel_extractor
    • table_extractor

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Document Processor loads about 560 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 211 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~560

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from vixues/LeAgent at commit 1f16bad, republished under its Apache-2.0 licence (© vixues). 211 words, ~560 tokens.

Download SKILL.mdSave it as .claude/skills/document-processor/SKILL.md (or your agent's skills folder).
name
document-processor
description
Guidance for processing documents, extracting content, and transforming structured information. Use when the user asks to process, parse, extract, or transform document content such as PDFs, Word files, or spreadsheets.
allowed-tools
document_parser, pdf_extractor, docx_extractor, excel_extractor, table_extractor
license
Apache-2.0
metadata.version
1.0.0
metadata.category
document
metadata.tags
document, processing, parsing, extraction, conversion

Document Processing

You are assisting with document processing tasks. Follow these guidelines.

Document Analysis Workflow

  1. Identify the document type: PDF, DOCX, XLSX, TXT, Markdown, HTML.
  2. Assess document structure: headers, sections, tables, images, metadata.
  3. Extract relevant content based on the user's request.
  4. Transform extracted content to the requested format.
  5. Validate accuracy, structure, and completeness.

Common Operations

Text Extraction
  • Preserve document structure (headers, paragraphs, lists).
  • Keep formatting where semantically meaningful (bold terms, emphasis).
  • Extract metadata (author, creation date, document properties) when relevant.
Table Extraction
  • Identify table boundaries and column headers.
  • Preserve row/column relationships when exporting to CSV or JSON.
  • Handle merged cells, nested tables, and multi-page tables carefully.
Information Extraction
  • Extract specific fields (names, dates, amounts, addresses) with high precision.
  • Use structured output (JSON, YAML) when returning multiple fields.
  • Report confidence when extraction is ambiguous.
Format Conversion
  • PDF ↔ Text/Markdown
  • DOCX ↔ Markdown/HTML
  • XLSX ↔ CSV/JSON
  • HTML ↔ Markdown

Quality Guidelines

  • Verify that extracted content matches the source.
  • Preserve line breaks and paragraph structure unless asked to flatten.
  • Flag OCR artifacts or illegible sections explicitly.
  • For multi-page documents, maintain page references where useful.

Error Handling

  • Document any parts that could not be processed (e.g., encrypted pages, images).
  • Provide clear error messages for unsupported formats.
  • Suggest alternative approaches when the primary method fails.

© vixues, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in backend/leagent/skills/builtin/document-processor of vixues/LeAgent.

Open the folder on GitHubat commit 1f16bad

Compare with similar skills

Document Processor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Document Processor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Document Processor this skillvixues/LeAgent232—~560Automated safety check: PassApache-2.0
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Markitdownjimmc414/Kosmos5942 repos~1.7kAutomated safety check: PassNone
Liteparsebastani-inc/atomic846—~1.4kAutomated safety check: PassMIT
MineruNebutra/MinerU-Skill122—~504Automated safety check: PassMIT
Nutrient Document Processingaffaan-m/ECC275k4 repos~1.5kAutomated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Markitdown

    jimmc414/Kosmos

    Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing.

    594 GitHub starsUsed in 2 repos~1.7k tokens
    Documents & OfficeAuto-check passed
  • Liteparse

    bastani-inc/atomic

    A skill your agent uses 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…

    846 GitHub stars~1.4k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Mineru

    Nebutra/MinerU-Skill

    An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.

    122 GitHub stars~504 tokensUpdated 14 days ago
    Documents & OfficeAuto-check passed
  • Process, convert, OCR, extract, redact, sign, and fill documents using the Nutrient DWS API.

    275k GitHub starsUsed in 4 repos~1.5k tokens
    Documents & OfficeAuto-check passed
  • Markdown Converter

    intellectronica/agent-skills

    Convert documents and files to Markdown using markitdown. An agent skill from intellectronica/agent-skills.

    295 GitHub starsUsed in 4 repos~492 tokens
    Documents & OfficeAuto-check passed

More from vixues/LeAgent

  • Skill Packager

    vixues/LeAgent

    Authors Agent Skills v1.0 packages (SKILL.md plus references/scripts), runs packageskill to produce a standards-compliant zip, and uses installskill to add skills from HTTPS, registry, workspace, or…

    232 GitHub stars~656 tokensUpdated 1 mo ago
    Auto-check passed
  • Data Analyzer

    vixues/LeAgent

    Guidance for analyzing structured data, generating statistics and producing data-driven insights.

    232 GitHub starsUsed in 1 repo~481 tokens
    Auto-check passed
  • Workflow Helper

    vixues/LeAgent

    Guidance for creating, managing and executing workflow automations that chain multiple tools and agents together.

    232 GitHub stars~601 tokensUpdated 1 mo ago
    Auto-check passed
  • Generate printable attendance / 签到表 spreadsheets from name lists.

    232 GitHub stars~425 tokensUpdated 1 mo ago
    Auto-check passed
  • Procurement Audit

    vixues/LeAgent

    Review procurement contracts and purchase packages against uploaded compliance rules (招标/采购制度).

    232 GitHub stars~321 tokensUpdated 1 mo ago
    Auto-check passed
  • Travel Expense Audit

    vixues/LeAgent

    Audit travel / 差旅报销 claims against uploaded policy handbooks and rate tables (lodging caps, transport, per diem).

    232 GitHub stars~333 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Document Processor

What does Document Processor do?

Guidance for processing documents, extracting content, and transforming structured information. Document Processor is an agent skill from vixues/LeAgent. Guidance for processing documents, extracting content, and transforming structured information.

When should I use Document Processor?

Document Processor fits situations like: the user asks to process; transform document content such as PDFs.

How do I install Document Processor in Claude Code?

Run `npx skills add vixues/LeAgent --skill document-processor -a claude-code`. Or copy the skill folder (backend/leagent/skills/builtin/document-processor in vixues/LeAgent) into .claude/skills/document-processor in your project. Claude Code loads it when a task matches its description.

How do I install Document Processor in Codex?

Run `npx skills add vixues/LeAgent --skill document-processor -a codex`. Or copy the skill folder (backend/leagent/skills/builtin/document-processor in vixues/LeAgent) into .agents/skills/document-processor in your project. Codex loads it when a task matches its description.

Can I use Document Processor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vixues/LeAgent --skill document-processor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/document-processor, .gemini/skills/document-processor, .github/skills/document-processor and .opencode/skills/document-processor in your project.

What does Document Processor need to run?

SKILL.md names no scripts, command-line tools or credentials: Document Processor is instructions for the agent only. Its frontmatter pre-approves these tools: document_parser, pdf_extractor, docx_extractor, excel_extractor, table_extractor.

Does Document Processor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Document Processor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Document Processor use?

Document Processor is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Document Processor use?

About 560 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Document Processor?

Skills that share tags, products or a category with Document Processor: Markitdown (ImCa0/just-laws, 781 stars), Markitdown (jimmc414/Kosmos, 594 stars), Liteparse (bastani-inc/atomic, 846 stars) and Mineru (Nebutra/MinerU-Skill, 122 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Document Processor?

vixues (a GitHub user) maintains it in vixues/LeAgent, which has 232 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on August 11, 2026.

Source: vixues/LeAgent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.