Pdf filler
[COLM'26] SkillLearnBench is the first benchmark for evaluating continual learning methods that automatically generate agent skills.
npx -y skills add cxcscmu/SkillLearnBench --skill pdf-fillerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Provides guidelines for filling out PDF forms using programming tools.
SKILL.md
0.8 KB, as published. Nobody here has run it
PDF Filler Skill
Overview
This skill provides instructions for filling out existing PDF form fields using Python libraries like pypdf or pdfrw.
Prerequisites
- Python 3.x
pypdflibrary
Installation
pip install pypdf
Usage Pattern
from pypdf import PdfReader, PdfWriter
def fill_pdf(input_path, output_path, data_dict):
reader = PdfReader(input_path)
writer = PdfWriter()
# Copy pages
for page in reader.pages:
writer.add_page(page)
# Fill fields
writer.update_page_form_field_values(
writer.pages[0], data_dict
)
with open(output_path, "wb") as output_stream:
writer.write(output_stream)