document-processor

document-processor is a skill for Claude Code from vixues/LeAgent. It costs 44 tokens per session (459 once invoked), scanned A, original, Apache-2.0.

A document-processing workflow for reading, extracting, and transforming information from PDFs, Word files, spreadsheets, and other common document types. It preserves useful structure such as headings and table relationships.

In plain words
What is it for?
Extracting text, tables, names, dates, amounts, or addresses; converting documents; and returning structured results such as JSON or Markdown.
Why use it?
It reduces errors when moving information between documents or formats. It also encourages checking the extracted content for completeness and ambiguity.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Extracting text, tables, names, dates, amounts, or addresses; converting documents; and returning structured results such as JSON or Markdown.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vixues/leagent/document-processor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vixues/LeAgent --skill document-processor
Clone the repo
git clone --depth 1 https://github.com/vixues/LeAgent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for document-processor

README.md
[![agentmods](https://agentmods.dev/badge/skills/vixues/leagent/document-processor/github.svg)](https://agentmods.dev/skills/vixues/leagent/document-processor)
Your own site
<a href="https://agentmods.dev/skills/vixues/leagent/document-processor"><img src="https://agentmods.dev/badge/skills/vixues/leagent/document-processor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for document-processor

Your own site · 80×15
<a href="https://agentmods.dev/skills/vixues/leagent/document-processor"><img src="https://agentmods.dev/badge/skills/vixues/leagent/document-processor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 459 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00459
Opus 5.5 $0.00018 $0.00184
Sonnet 5.5 $0.00009 $0.00092
Haiku 4.5 $0.00004 $0.00046

Measured 1mo ago against content hash 2f64120cc234, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

document-processor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

backend/leagent/skills/builtin/document-processor/SKILL.md · 63 lines

What it actually says

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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 63 lines · 44 tokens per session scan A 2f64120cc234

Subscribe to this mod's changes

document-processor is a skill published in the GitHub repository vixues/LeAgent (236 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 459 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

word-cloud

Generate static or animated word clouds from any text source (PDF, DOCX, XLSX, PPTX, HTML, CSV, TXT), with theming, sentiment coloring and shape masks.

saajunaid/caddis-plugin · 41 tokens

office-documents-official

Hint for Office and PDF file work. Use when the user asks to create, edit, read or convert a Word .docx, PDF, PowerPoint .pptx or Excel .xlsx file. caddis does not ship these skills; points to Anthropic's official document-skills plugin.

saajunaid/caddis-plugin · 66 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

papyrus-diagnose-compilation

Diagnose and fix LaTeX compilation failures. Use when the document does not compile, pdflatex/bibtex/biber/tectonic errors out, the PDF is stale, or the author reports a build/compile error in the Papyrus editor.

kirodotdev/KiroCrew · 60 tokens

pdfcraft

Headless PDF work with PdfCraft, provisioned on demand by pi-craft - combine, split, extract, rotate, delete and reorder pages, read text, render a page to png, audit faux redactions, script its 163 tools. Use for "merge these two PDFs", "extract pages 1 and 3 from this PDF", "rotate page 1 and drop page 2", "what…

BlackBeltTechnology/pi-agent-dashboard · 92 tokens

deck3d-from-pptx

Turn an existing .pptx into a styled deck3d 3D presentation: import, reference renders, then nine steps (fidelity … transitions), each authoring 2-4 variants, showing a contact sheet, asking the user, recording the pick, then build + compare. Use on "make a 3D deck from this pptx", "convert my PowerPoint to deck3d"…

BlackBeltTechnology/pi-agent-dashboard · 100 tokens