pdf-fill-studio
它能做什么
这项技能在本地填写 PDF:对于无字段表单使用可视化编辑器,对于带字段的表单则自动填写。适合需要填写税务、保险或银行文件的人。
适用场景
- ✓当你想填写税务、保险或银行表格 PDF 时。
- ✓当 PDF 没有可填写字段,而你需要把文字放到线上时。
- ✓当表单每个字符一个格子,例如邮政编码,需要填写的时候。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/document-processing/pdf-fill-studio/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用我的信息填写这份保险理赔 PDF,并把签名栏留空给我。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会识别表单类型。对于可填写字段,它会从你的资料中自动填写;对于无字段表单,它会打开本地编辑器,由你输入文字、移动到正确位置,然后导出结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
pdf-fill-studio
Fill a PDF locally, place the values precisely, then export. Flat PDFs use a browser editor; AcroForm PDFs fill natively; the signature is always left blank for the user to sign.
When to use
The user gives you a PDF to fill (form, claim, tax/bank/insurance document).
Setup (once)
pip install pdf-fill-studio (provides the pdf-fill-studio command).
From source instead: python3 -m venv .venv && .venv/bin/pip install -e ., then use
.venv/bin/pdf-fill-studio.
Flow
(Replace form.pdf and profile.json with the user's actual file paths.)
- Start:
pdf-fill-studio form.pdf -o out/form_filled.pdf. It detects the form type. - AcroForm (native fields): re-run with a profile of known facts:
pdf-fill-studio form.pdf -o out/form_filled.pdf --profile profile.json. Matched fields fill automatically; it prints "Needs manual input: [...]" for the rest. Ask the user for each listed field, add them to the profile, re-run, then render to verify. - Flat (no fields): a local browser editor opens. Tell the user to type values, drag boxes onto the lines, nudge with arrow keys, and click "Export PDF". Comb fields (one box per character, e.g. postal code) are detected and filled one character per cell automatically.
- XFA: tell the user this form type is not supported yet (open it in free Adobe Reader).
- The filled PDF is written to
out/. The user signs it themselves.
Self-check (before declaring done)
Render and look: python -m pdf_fill_studio.render_page out/form_filled.pdf out/preview.
Check each value sits on its line / inside its cell, not too low or spilling outside. Apply
minimal coordinate corrections and re-bake if needed.
Rules
- Never fill a signature field.
- Never store or hard-code a SIN, bank account, or card number (the profile matcher skips them).
- Everything runs locally; no document is uploaded.
常见问题
它会替我签名吗?
不会。签名栏始终留空,由你自己签名。
XFA 表单怎么办?
这项技能说明目前还不支持 XFA 表单,并建议在 Adobe Reader 中打开。
我的文件会被上传到别处吗?
这项技能被描述为在你自己的电脑上本地填写 PDF。
详情
作者的原始描述
Fill any PDF locally and place each value precisely in a visual editor. Use when the user wants to fill out a PDF form, enter data into a PDF, complete a tax/insurance/bank form, or position text on a flat/scanned PDF. Handles flat (field-less) PDFs, per-character (comb) fields, and native AcroForm fields; leaves the signature blank for the user to sign.
热度
- GitHub 星标
- 33k
- 排名
- #8819
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。