Acroform fill

From FDU-INS/Insurance-Skills · View interactive version

Acroform fill is an AI agent skill from the GitHub repository FDU-INS/Insurance-Skills. Inspect, schema, and fill true AcroForm PDFs using sciClaw's pdf_form_inspect, pdf_form_schema, and pdf_form_fill tools. Use when: (1) checking whether a PDF is a real fillable AcroForm, (2) listing form field names, types, and choices, (3) filling a supported form from structured values, (4) prepar

How to use this skill

Skill file

acroform-fill

Use this skill for fillable PDF form workflows backed by sciClaw's dedicated PDF form tools.

Core workflow

  1. Run pdf_form_inspect first.
  2. If isSupportedAcroForm is false, stop and explain that sciClaw will not force-fill non-AcroForm, XFA-only, or scanned PDFs.
  3. Run pdf_form_schema to get the field inventory before preparing values.
  4. If values are not already in a JSON file, create one in the workspace with write_file.
  5. Run pdf_form_fill to a new output path.
  6. Keep flatten=false by default. Only flatten when the user explicitly wants final non-editable output.
  7. Report skippedFields and unusedInputKeys clearly. If either is non-empty, treat the output as review-needed.
  8. If you need to send the resulting PDF back to the user, use message with the output file as an attachment.

Rules

Minimal examples

1. Check whether a PDF is a real AcroForm

Use when the user asks: "Is this PDF fillable?"

{"pdf_path":"forms/prior-auth.pdf"}

Tool:

Good outcome:

2. Get the field schema before filling

Use when the user asks: "What fields are on this form?"

{"pdf_path":"forms/prior-auth.pdf"}

Tool:

Then summarize the important field names, types, and any choices the model must respect.

3. Fill from an existing values JSON file

First make sure the values file exists in the workspace, for example:

{
  "PatientName": "Jane Doe",
  "DOB": "1978-02-14",
  "Urgent": true
}

Then call:

{
  "pdf_path":"forms/prior-auth.pdf",
  "values_path":"memory/prior-auth.values.json",
  "output_path":"memory/prior-auth.filled.pdf",
  "flatten":false
}

Tool:

4. Fill from narrative text

Use when the user gives a note, letter, or summary instead of a ready JSON file.

Workflow:

  1. pdf_form_inspect
  2. pdf_form_schema
  3. write_file a JSON values file in the workspace
  4. pdf_form_fill
  5. Report any skipped or unused fields

When not to use this skill

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.