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

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to complete tax forms, government applications, contracts, insurance forms, and other PDF paperwork, and to troubleshoot or verify field identification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cdeistopened/skill-stack/pdf-form-filler
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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pdf-form-filler

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00166 $0.04285
Opus 5.5 $0.00066 $0.01714
Sonnet 5.5 $0.00033 $0.00857
Haiku 4.5 $0.00017 $0.00428

Measured 3mo ago against content hash 4a80ca2654ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (32 stars, last pushed 4mo ago), licensed MIT. It adds 166 tokens to every session and 4,285 once invoked, about $0.0007 per session on Opus 5.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

pdf-form-filler compared with skills from other repositories

pdf-form-filler next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pdf-form-fillercdeistopened/skill-stackSkill324mo agoMITA166Claude Code, Codex
apify-youtube-transcript-scrapersickn33/agentic-awesome-skillsSkill51kyesterdayMITA48Claude Code
report-to-pdfasgeirtj/system_prompts_leaksSkill74k3d agoCC0-1.0A17Claude Code, Codex
skill-doc-deliverynyldn/claude-octopusSkill4.5ktodayMITA29Claude Code
pdf-extract-create-workflowHKUDS/OpenSpaceSkill8.1k20d agoMITA22Claude Code, Codex
document-direct-pythonHKUDS/OpenSpaceSkill8.1k20d agoMITA20Claude Code, Codex
pdf-text-extraction-fallback-85d5caHKUDS/OpenSpaceSkill8.1k20d agoMITA25Claude Code, Codex