Skip to main content

Pdf Fill

Fill a PDF form from a JSON record

Skill metadata

Namepdf-fill
Version1.0.0
Authorexample
Categorydocument
Tagspdf, forms, automation

Verification

This skill is addressed by the hash of its contents. An agent fetches it by that address and rechecks every file before running anything, so a changed skill is a different address it was never approved to use.

Addresssha256:ab27cf7f3afa2c71ee18fe21057cdfa80dbaf499521ca62859423a9669450f06
Files3
# fetch from distributed storage, verify, and use it
node agent/skill-agent.mjs --address sha256:ab27cf7f3afa2c71ee18fe21057cdfa80dbaf499521ca62859423a9669450f06 --key <publisher-key>

Files

PathAddressBytes
SKILL.mdsha256:101bf4a01acb6ab21112051552273cdd964a5125a2648020c8ee8a0c2f0e43aa686
references/fields.mdsha256:84cd0a8890fc2a386cba90504bcf4cdbd15ea9c7add9c7282b43ae5b811522c1145
scripts/fill.pysha256:eea5d8d700580c7f9e5f959556169424169f292004371f2679452621325c7d3b426

Reference: full SKILL.md

Fill a PDF Form

When to Use

The user has a fillable PDF and a set of field values, and wants a completed copy.

Procedure

  1. Read the field map in references/fields.md.
  2. Run scripts/fill.py <template.pdf> <values.json> <out.pdf>.
  3. Return the absolute path to the output PDF.

Pitfalls

  • Flatten the form only if the user asks; flattened PDFs are not re-editable.

Verification

  • Confirm every required field in the field map is present in the output.