用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cxcscmu/SkillLearnBench --skill run2-pdf-form-filling命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | run2_pdf-form-filling |
| description | Complete workflow for filling fillable PDF forms using Claude Code PDF skill scripts with pypdf. |
/root/.claude/skills/pdf/scripts/cd /root/.claude/skills/pdfpython3 scripts/check_fillable_fields.py <input.pdf>
If fillable, continue below. If not, use the non-fillable annotation workflow in forms.md.
python3 scripts/extract_form_field_info.py <input.pdf> <field_info.json>
Output JSON contains field_id, type, page, rect, and for checkboxes: checked_value/unchecked_value.
mkdir -p <output_dir>
python3 scripts/convert_pdf_to_images.py <input.pdf> <output_dir>
Important: Create the output directory first or the script fails.
PlaintiffName1, DefendantAddress1)rect coordinates to locate fields on the page[
{
"field_id": "exact.field.id.from.extract",
"description": "Human-readable description",
"page": 1,
"value": "text value"
},
{
"field_id": "some.checkbox.field",
"description": "Check this box",
"page": 2,
"value": "/1"
}
]
Value rules:
checked_value from field_info.json to check (e.g., "/1", "/On"), unchecked_value to uncheck (e.g., "/Off")value entries from radio_optionspython3 scripts/fill_fillable_fields.py <input.pdf> <field_values.json> <output.pdf>
Script validates field IDs and values. Fix any error messages and retry.
Convert filled PDF to images and visually inspect each page:
mkdir -p <verify_dir>
python3 scripts/convert_pdf_to_images.py <output.pdf> <verify_dir>
convert_pdf_to_images.py doesn't create directories automatically/root/.claude/skills/pdf before running scripts