pdf-forms-integration

pdf-forms-integration is a skill for Claude Code from ThierryN/fire-flow. It costs 45 tokens per session (5,063 once invoked), scanned A, original, MIT.

A guide for adding official fillable PDF forms to web applications, including automatic field filling and browser-based editing. Fillable PDFs contain interactive fields such as text boxes, checkboxes, and dropdowns.

In plain words
What is it for?
Use it to load official forms, map application data to PDF fields, let users complete forms in a browser, and download finished PDFs.
Why use it?
It explains how to connect web-app data to existing PDF forms while still letting users review and edit them.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { fillAndPreviewPDF, fillAndDownloadPDF } from '../../lib/pdfFormFiller';.

Part of the dominion-flow plugin — 5 skills, 51 commands, 13 agents shipped together

Good fit Use it to load official forms, map application data to PDF fields, let users complete forms in a browser, and download finished PDFs.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ThierryN/fire-flow
agentmods
npx agentmods add skills/thierryn/fire-flow/pdf-forms-integration

Made for: Claude Code.

Or install dominion-flow, the plugin that ships this one along with the rest of its 5 skills, 51 commands, 13 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pdf-forms-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/thierryn/fire-flow/pdf-forms-integration.svg)](https://agentmods.dev/skills/thierryn/fire-flow/pdf-forms-integration)
Your own site
<a href="https://agentmods.dev/skills/thierryn/fire-flow/pdf-forms-integration"><img src="https://agentmods.dev/badge/skills/thierryn/fire-flow/pdf-forms-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,063 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.05063
Opus 5 $0.00023 $0.02531
Sonnet 5 $0.00009 $0.01013
Haiku 4.5 $0.00005 $0.00506

Measured 3d ago against content hash 4a0c13911d92, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pdf-forms-integration scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -o public/irs-forms/f656.pdf https://www.irs.gov/pub/irs-pdf/f656.pdf
skills-library/document-processing/pdf-forms-integration/SKILL.md · 663 lines

How it starts

The opening of the file, as written. The whole thing — 663 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PDF Forms Integration Skill

Purpose: Guide Claude in integrating official fillable PDF forms (especially GTA forms) into web applications

Use Cases:

  • Integrating official GTA PDF forms (Form 656, 433-A, 433-B, etc.)
  • Auto-populating AcroForm fields from user data
  • Allowing users to manually edit PDFs in browser
  • Downloading filled PDFs for submission

Key Technologies: pdf-lib, PDF.js, React, TypeScript


Overview

This skill helps integrate official PDF forms (with AcroForm fields) into web applications, enabling:

  1. Loading official PDFs from GTA or other sources
  2. Auto-populating form fields programmatically
  3. Allowing users to edit fields directly in the PDF
  4. Downloading the completed PDF

Core Concepts

AcroForm Fields

  • What: Interactive form fields embedded in PDFs
  • Types: Text fields, checkboxes, radio buttons, dropdowns
  • Field Names: Cryptic identifiers like topmostSubform[0].Page1[0].f1_01[0]
  • Browser Support: Chrome, Firefox, Edge, Safari all support editing AcroForms

pdf-lib Library

  • Best For: Programmatic PDF manipulation (filling fields, generating PDFs)
  • NOT For: Interactive editing in browser (use native browser support)
  • Use Cases: Pre-filling PDFs, batch processing, server-side generation

PDF.js Library

  • Best For: Rendering PDFs in browser
  • Limitations: Not designed for form filling (use pdf-lib or native browser)
  • Use Case: Custom PDF viewer, annotation tools

Implementation Strategy

Recommended Approach: Hybrid System

Step 1: Use pdf-lib to pre-fill fields from auto-populate Step 2: Display filled PDF in iframe using native browser PDF viewer Step 3: Let users edit directly in PDF (native browser support) Step 4: Users download the edited PDF

Why This Works:

  • ✅ Pre-filling is fast (pdf-lib)
  • ✅ Editing is native (no custom UI needed)
  • ✅ Works offline (PDFs cached locally)
  • ✅ Legally compliant (official GTA forms)

Read the full file on GitHub · 663 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 663 lines · 45 tokens per session scan A 4a0c13911d92

Subscribe to this mod's changes

pdf-forms-integration is a skill published in the GitHub repository ThierryN/fire-flow (77 stars, last pushed 25d ago), licensed MIT. It adds 45 tokens to every session and 5,063 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.