Pdf form filler
Skill sayed3li97/skillscore/test/fixtures/excellent/pdf-form-filler
Fills PDF form fields from structured JSON data and writes a flattened output file. Use when the user asks to fill, complete, or populate a PDF form programmatically. Do not use for scanned or image-only PDFs, and not for creating new PDF layouts.From its SKILL.md
npx -y skills add sayed3li97/skillscore --skill pdf-form-fillerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 2 commands, including `python scripts/fill.py --list input.pdf` and 1 more.
SKILL.md
1.6 KB, 306 tokens by cl100k_base, as published. Nobody here has run it
PDF form filler
Fill AcroForm fields in an existing PDF from a JSON mapping and produce a flattened copy. Read field mapping reference when the form uses radio groups or nested field names.
Workflow
- Inspect the form fields: run
python scripts/fill.py --list input.pdf. - Build the JSON mapping of field name to value.
- Fill the form:
python scripts/fill.py input.pdf mapping.json out.pdf. - Validate the output: re-run with
--list out.pdfand confirm every required field is populated; if any field is empty, fix the mapping and repeat until the validation passes.
python scripts/fill.py taxform.pdf mapping.json filled.pdf
{ "applicant_name": "Jane Doe", "filing_year_choice": "single" }
Anti-patterns
- Do not overwrite the input PDF; always write to a new output path.
- Never guess field names — list them first.
- Avoid flattening when the user explicitly asks for an editable result.
Safety
scripts/fill.py only reads the input PDF and writes the named output
file; it touches nothing else on disk and never makes network calls. The
agent should execute it (not merely read it). Arguments: input path, JSON
mapping path, output path; --list prints field names instead of writing.
What ships with it: 2 files
387 B alongside SKILL.md, 1 of them executable
references/
- field-mapping.md263 B
scripts/
- fill.pyruns124 B