evo-pdf-form-filler

SkillDocs & knowledge

Fills PDF AcroForm fields (text and checkboxes) using pypdf, sets NeedAppearances flag, and writes the output PDF. Handles checkbox state detection and proper value updates.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the evo-pdf-form-filler skill

What this skill tells your AI

The instructions your AI receives, as published by openlair/openskill in tasks-evolved/court-form-filling/environment/skills/evo-pdf-form-filler/SKILL.md and read by ahel’s review.

Fills a PDF AcroForm with provided data (text fields, checkboxes), sets the /NeedAppearances flag, and writes the output PDF.

Key Functions

  • fill_pdf_form(input_pdf, output_pdf, text_fields, checkbox_fields) - Main entry point
  • set_need_appearances(writer) - Sets /NeedAppearances on AcroForm root
  • fill_text_field(writer, field_name, value) - Fill a single text field
  • fill_checkbox_field(writer, field_name, on_state) - Check a single checkbox

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-pdf-form-filler/scripts')
from utils import fill_pdf_form

text_fields = {
    'SC-100[0].Page2[0].List1[0].Item1[0].PlaintiffName1[0]': 'Jane Smith',
    'SC-100[0].Page2[0].List3[0].PlaintiffClaimAmount1[0]': '5000',
}
checkbox_fields = {
    'SC-100[0].Page3[0].List5[0].Lia[0].Checkbox5cb[0]': '/1',
}
fill_pdf_form('blank.pdf', 'filled.pdf', text_fields, checkbox_fields)

SC-100 Checkbox Notes

  • Checkbox on-states are typically '/1', '/2', etc. (NOT '/Yes')
  • Must match the non-Off key from the checkbox's /AP/N dictionary
  • Use evo-pdf-field-inspector's get_checkbox_on_states() to discover correct values

Signals

GitHub stars
89
Forks
4
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
evo-pdf-form-filler
Source
github.com/openlair/openskill