Pdf Fill
Fill a PDF form from a JSON record
Skill metadata
| Name | pdf-fill |
| Version | 1.0.0 |
| Author | example |
| Category | document |
| Tags | pdf, 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.
| Address | sha256:ab27cf7f3afa2c71ee18fe21057cdfa80dbaf499521ca62859423a9669450f06 |
| Files | 3 |
# fetch from distributed storage, verify, and use it
node agent/skill-agent.mjs --address sha256:ab27cf7f3afa2c71ee18fe21057cdfa80dbaf499521ca62859423a9669450f06 --key <publisher-key>
Files
| Path | Address | Bytes |
|---|---|---|
SKILL.md | sha256:101bf4a01acb6ab21112051552273cdd964a5125a2648020c8ee8a0c2f0e43aa | 686 |
references/fields.md | sha256:84cd0a8890fc2a386cba90504bcf4cdbd15ea9c7add9c7282b43ae5b811522c1 | 145 |
scripts/fill.py | sha256:eea5d8d700580c7f9e5f959556169424169f292004371f2679452621325c7d3b | 426 |
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
- Read the field map in
references/fields.md. - Run
scripts/fill.py <template.pdf> <values.json> <out.pdf>. - 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.