PDF Processing
Documentspdf_processingPDF Processing is an Agent Skill for documents published in the mofa-org/mofa repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Process and manipulate PDF documents, including text extraction, form filling, and metadata editing
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/mofa-org/mofa/blob/HEAD/examples/skills/pdf_processing/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/pdf-processing-ae9aba32, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
PDF Processing Skill
This skill provides comprehensive capabilities for working with PDF documents.
When to Use
Use this skill when you need to:
- Extract text or data from PDF files
- Fill out PDF forms
- Edit PDF metadata
- Analyze PDF structure
Text Extraction
For basic text extraction:
- Provide the PDF file path
- Specify extraction options (plain text, structured data)
Form Filling
For form-specific operations, see @include: forms.md
Code Tools
This skill includes the following executable tools:
- @code: python extract_fields.py - Extract form fields from a PDF
Example Usage
To extract text from a PDF:
Use the pdf_processing skill to extract all text from the document.
To fill a form:
Use the pdf_processing skill and load forms.md for detailed instructions.