pdf-form-filler

pdf-form-filler is a skill for Claude Code, Codex from cdeistopened/skill-stack. It costs 166 tokens per session (4,285 once invoked), scanned A, original, MIT.

A tool for identifying fields in fillable and non-fillable PDF forms, entering values, checking the field mapping, and exporting the completed file.

In plain words
What is it for?
Use it to complete tax forms, government applications, contracts, insurance forms, and other PDF paperwork, and to troubleshoot or verify field identification.
Why use it?
It helps when PDF fields are missing, unclear, or mapped to the wrong labels, including forms that only look fillable.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/cdeistopened/skill-stack/pdf-form-filler
Any agent
npx skills add cdeistopened/skill-stack --skill pdf-form-filler
Clone the repo
git clone --depth 1 https://github.com/cdeistopened/skill-stack

Made for: Claude Code, Codex.

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-form-filler

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdeistopened/skill-stack/pdf-form-filler.svg)](https://agentmods.dev/skills/cdeistopened/skill-stack/pdf-form-filler)
Your own site
<a href="https://agentmods.dev/skills/cdeistopened/skill-stack/pdf-form-filler"><img src="https://agentmods.dev/badge/skills/cdeistopened/skill-stack/pdf-form-filler.svg" alt="Measured on agentmods" height="20"></a>
Per session 166 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,285 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00166 $0.04285
Opus 5 $0.00083 $0.02142
Sonnet 5 $0.00033 $0.00857
Haiku 4.5 $0.00017 $0.00428

Measured 4d ago against content hash 4a80ca2654ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pdf-form-filler scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

public/skills/pdf-form-filler/SKILL.md · 365 lines

How it starts

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

PDF Form Filler Skill

You are an expert PDF form filling system. You fill any PDF with perfect field accuracy using two distinct modes:

  1. AcroForm mode — PDFs with fillable fields: radial spatial identity, scanline context, Gemini vision, server-side validation
  2. Flat PDF mode — PDFs with NO fillable fields: content stream geometry scanning, floor/ceiling detection, FreeText annotations with appearance streams

Quick Reference

CRITICAL FILES (read these first when debugging):

  • src/hooks/usePdfFormFields.js — Field extraction + spatial labels
  • src/utils/scanlineAccumulator.js — Radial identity + bbox scoring
  • src/utils/formFieldsCsv.js — CSV generation (13 columns)
  • server/src/routes/ai.ts — Server: analyze-form, fill validation, prompt builder
  • src/validator.ts — Server-side validation engine (5 rules)
  • src/form-state.ts — Form state simulator (buildFormState, applyFields)
  • src/eval-runner.ts — Eval assertion runner + intent parser

SCRIPTS (run from PDF-Filler-Skill/scripts/):

  • verify-field-map.ts — Validate field mapping against ground truth
  • diagnose-field.ts — Debug why a specific field maps wrong
  • dump-field-context.ts — Dump all spatial context for every field
  • eval-fill-accuracy.ts — Run automated fill accuracy eval
  • live-fill.ts — End-to-end pipeline: prompt → intent → validate → fill JSON
  • flat-pdf-fill.py — Flat PDF scanner + annotation filler (no AcroForm required)

TESTS (115 tests, 686 assertions):

  • __tests__/ground-truth.test.ts — 27 tests: field map integrity
  • __tests__/validator.test.ts — 25 tests: all 5 validation rules
  • __tests__/form-state.test.ts — 17 tests: state management
  • __tests__/e2e-scenarios.test.ts — 46 tests: all 6 eval scenarios + filing status matrix

For detailed architecture, see architecture.md. For field extraction internals, see field-extraction-guide.md. For validation rules, see validation-rules.md. For system prompt construction, see system-prompt-reference.md. For flat PDF filling technique, see docs/flat-pdf-filling-guide.md.

Read the full file on GitHub · 365 lines

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. 4d ago First seen · 365 lines · 166 tokens per session scan A 4a80ca2654ac

Subscribe to this mod's changes

pdf-form-filler is a skill published in the GitHub repository cdeistopened/skill-stack (27 stars, last pushed 1mo ago), licensed MIT. It adds 166 tokens to every session and 4,285 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

audit-support

Support SOX 404 compliance with control testing methodology, sample selection, and documentation standards. Use when generating testing workpapers, selecting audit samples, classifying control deficiencies, or preparing for internal or external audits.

anthropics/knowledge-work-plugins · 45 tokens

kyc-doc-parse

Parse an investor or client onboarding packet into structured KYC fields — identity, ownership, control, source of funds, and document inventory. Use as the first step of KYC screening; output feeds the rules engine.

anthropics/financial-services · 49 tokens

fiscaliste

Fiscaliste IA pour la fiscalité personnelle des particuliers français : optimisation et déclaration de l'impôt sur le revenu, IFI, revenus du capital, revenus fonciers, equity salarial, crypto-actifs et PER. Couvre le calcul de l'IR (barème, quotient familial, décote, PAS, CEHR, revenus exceptionnels), la déclaration…

romainsimon/paperasse · 302 tokens

example-harness

Scaffold a ready-made AI agent harness in one command from the 19 published @metaharness/ example packages — 9 host integrations (Claude Code, Codex, Hermes, pi.dev, OpenClaw, RVM, Copilot, OpenCode, GitHub Actions) + 10 vertical pods (devops, research, trading, support, legal, coding, education, sales, gaming…

ruvnet/metaharness · 90 tokens

27-personal-brand-monetize-global

Use when a PERSONAL brand needs to make money — three funnel versions for founder, coach, and creator, an offer ladder from free to low to mid to high ticket, pricing psychology, inbound versus outbound outreach, and brand deal and sponsorship negotiation, with tax and legal variants for US LLC, EU per country, SEA…

minhnv0807/ai-business-skills · 173 tokens

regulatory-analysis

Analyzes documents and processes against FINRA, SEC, Federal Reserve, and CFPB regulatory frameworks. Identifies compliance gaps, classifies findings by severity, and recommends remediation. Use when performing compliance audits, regulatory reviews, gap analyses, or verifying policy adherence to financial regulations.

open-gitagent/opengap · 59 tokens