/document-processor
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.
$ npx -y skills add vixues/LeAgent --skill document-processor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/document-processor
Context preview
The summary Claude sees to decide when to auto-load this skill.
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.
SKILL.md
document-processor.SKILL.mdname: 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.
license: Apache-2.0
allowed-tools: document_parser pdf_extractor docx_extractor excel_extractor table_extractor
metadata:
version: 1.0.0
category: document
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.
Read more
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. license: Apache-2.0 allowed-tools: document_parser pdf_extractor docx_extractor excel_extractor table_extractor metadata: version: 1.0.0 category: document 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.
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.
Repo: vixues/LeAgent
Other skills on leagent.
- /attendance-signin-sheet
Generate printable attendance / 签到表 spreadsheets from name lists. Use when the user asks for 签到表, attendance sheet, meeting sign-in table, or similar printable roster tables (not full payroll attendance scoring unless asked).
Open skill - /data-analyzer
Guidance for analyzing structured data, generating statistics and producing data-driven insights. Use when the user asks to analyze data, compute statistics, find patterns, or generate analytical reports.
Open skill - /procurement-audit
Review procurement contracts and purchase packages against uploaded compliance rules (招标/采购制度). Use for 采购审核, contract compliance checklists, or procurement statistics rollups.
Open skill - /skill-packager
Authors Agent Skills v1.0 packages (SKILL.md plus references/scripts), runs package_skill to produce a standards-compliant zip, and uses install_skill to add skills from HTTPS, registry, workspace, or an uploaded archive. Use when the user wants to turn documentation, workflows,
Open skill - /travel-expense-audit
Audit travel / 差旅报销 claims against uploaded policy handbooks and rate tables (lodging caps, transport, per diem). Use for 差旅费审核, travel expense review, or lodging over-limit checks.
Open skill - /workflow-helper
Guidance for creating, managing and executing workflow automations that chain multiple tools and agents together. Use when the user asks about building, listing, running or composing workflows and automated task pipelines.
Open skill

