[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KF3ZYTKYPCGHMSC28KEK78":3,"skill-same:01M6KF3ZYTKYPCGHMSC28KEK78":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M6KF3ZYTKYPCGHMSC28KEK78","run2_pdf-skill-form-filling",null,"Fill PDF forms using the PDF skill's form-filling scripts and workflow","cxcscmu\u002FSkillLearnBench","cxcscmu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142838272?v=4","01M6KCQDFQWPDSN0MKZY96MSQP","01M6KCQDM7G70TKJ28NTSQC0RZ",93,"MIT","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb2-self-feedback-claude-haiku-4-5\u002Fcourt-form-filling\u002Frun2_pdf-skill-form-filling\u002FSKILL.md",[],[18,19,20,21,22,23,24,25],"PDF","form","run2 pdf skill form filling","workflow","forms","scripts","form-filling","fill","2026-11-10 10:12:30",false,"---\nname: run2_pdf-skill-form-filling\ndescription: Fill PDF forms using the PDF skill's form-filling scripts and workflow\n---\n\n# Filling PDF Forms with the PDF Skill\n\n## Overview\nThe PDF skill provides specialized Python scripts for filling PDF forms that have fillable form fields. This is the recommended approach for working with AcroForm PDFs.\n\n## Prerequisite Check\nBefore attempting to fill a form, verify the PDF has fillable fields:\n```bash\npython3 scripts\u002Fcheck_fillable_fields.py \u003Cpdf_file>\n```\n- If output is \"This PDF has fillable form fields\" → proceed with steps below\n- If output is \"This PDF does not have fillable form fields\" → use annotation-based approach instead\n\n## Workflow for Fillable Forms\n\n### Step 1: Extract Form Field Information\nExtract all form fields and their metadata:\n```bash\npython3 scripts\u002Fextract_form_field_info.py \u003Cinput.pdf> \u003Coutput_field_info.json>\n```\n\nThis creates a JSON file with all fields including:\n- `field_id`: Unique identifier for the field (use this in field_values.json)\n- `type`: \"text\", \"checkbox\", \"radio_group\", or \"choice\"\n- `page`: Page number (1-based)\n- `rect`: Bounding box [left, bottom, right, top] in PDF coordinates\n- For checkboxes: `checked_value` and `unchecked_value`\n- For radio groups\u002Fchoices: `radio_options` or `choice_options` with values\n\n### Step 2: Create field_values.json\nCreate a JSON file with values for each field to fill:\n\n```json\n[\n  {\n    \"field_id\": \"SC-100[0].Page2[0].List1[0].Item1[0].PlaintiffName1[0]\",\n    \"description\": \"Plaintiff's name\",\n    \"page\": 2,\n    \"value\": \"John Smith\"\n  },\n  {\n    \"field_id\": \"SomeCheckboxField\",\n    \"description\": \"Agreement checkbox\",\n    \"page\": 1,\n    \"value\": \"\u002F1\"  \u002F\u002F Use the \"checked_value\" from field_info for checked checkboxes\n  },\n  {\n    \"field_id\": \"RadioGroupField\",\n    \"description\": \"Choose option\",\n    \"page\": 1,\n    \"value\": \"\u002FYes\"  \u002F\u002F Use one of the \"value\" entries from radio_options\n  }\n]\n```\n\n**Key Rules:**\n- `field_id`: Must match exactly from field_info.json (case-sensitive)\n- `value`: For text fields, use a string; for checkboxes\u002Fradio, use the `checked_value` or option `value`\n- `page`: Must match the page number in field_info.json\n- `description`: Optional, but helpful for documentation\n\n### Step 3: Fill the Form\nRun the fill script to create the filled PDF:\n```bash\npython3 scripts\u002Ffill_fillable_fields.py \u003Cinput.pdf> \u003Cfield_values.json> \u003Coutput.pdf>\n```\n\nThe script will:\n- Verify all field_ids and values are valid\n- Print error messages if there are issues\n- Create the output PDF if successful\n\n## Important Notes\n\n### Field ID Matching\n- Field IDs are case-sensitive and must be exact matches\n- Field IDs use XPath-like notation (e.g., `SC-100[0].Page2[0].List1[0].Item1[0].PlaintiffName1[0]`)\n- Do not modify or abbreviate field IDs\n\n### Value Formats\n- **Text fields**: Plain strings (no special formatting needed)\n- **Checkboxes**: Use the `checked_value` when you want to check; omit the field or use `unchecked_value` to leave unchecked\n- **Radio buttons**: Use one of the values from the `radio_options` list\n- **Dropdowns**: Use one of the values from the `choice_options` list\n\n### Common Issues\n- If script reports \"Invalid field_id\" → copy the exact ID from field_info.json\n- If checkbox doesn't appear checked → use the correct `checked_value` (often \"\u002F1\" or \"\u002F2\")\n- If script reports \"Invalid value for field\" → verify the value matches an option from field_info\n\n### Optional Fields\n- To leave a field empty, simply omit it from field_values.json\n- Court-filled fields (like case number, trial date) should be left empty\u002Fomitted\n- Don't include signature or date fields that the court fills in\n\n## File Path Usage\nThe scripts must be run from the `\u002Froot\u002F.claude\u002Fskills\u002Fpdf` directory or with full paths:\n```bash\ncd \u002Froot\u002F.claude\u002Fskills\u002Fpdf\npython3 scripts\u002Ffill_fillable_fields.py \u002Fpath\u002Fto\u002Finput.pdf \u002Fpath\u002Fto\u002Ffield_values.json \u002Fpath\u002Fto\u002Foutput.pdf\n```\n","# Filling PDF Forms with the PDF Skill\n\n## Overview\nThe PDF skill provides specialized Python scripts for filling PDF forms that have fillable form fields. This is the recommended approach for working with AcroForm PDFs.\n\n## Prerequisite Check\nBefore attempting to fill a form, verify the PDF has fillable fields:\n```bash\npython3 scripts\u002Fcheck_fillable_fields.py \u003Cpdf_file>\n```\n- If output is \"This PDF has fillable form fields\" → proceed with steps below\n- If output is \"This PDF does not have fillable form fields\" → use annotation-based approach instead\n\n## Workflow for Fillable Forms\n\n### Step 1: Extract Form Field Information\nExtract all form fields and their metadata:\n```bash\npython3 scripts\u002Fextract_form_field_info.py \u003Cinput.pdf> \u003Coutput_field_info.json>\n```\n\nThis creates a JSON file with all fields including:\n- `field_id`: Unique identifier for the field (use this in field_values.json)\n- `type`: \"text\", \"checkbox\", \"radio_group\", or \"choice\"\n- `page`: Page number (1-based)\n- `rect`: Bounding box [left, bottom, right, top] in PDF coordinates\n- For checkboxes: `checked_value` and `unchecked_value`\n- For radio groups\u002Fchoices: `radio_options` or `choice_options` with values\n\n### Step 2: Create field_values.json\nCreate a JSON file with values for each field to fill:\n\n```json\n[\n  {\n    \"field_id\": \"SC-100[0].Page2[0].List1[0].Item1[0].PlaintiffName1[0]\",\n    \"description\": \"Plaintiff's name\",\n    \"page\": 2,\n    \"value\": \"John Smith\"\n  },\n  {\n    \"field_id\": \"SomeCheckboxField\",\n    \"description\": \"Agreement checkbox\",\n    \"page\": 1,\n    \"value\": \"\u002F1\"  \u002F\u002F Use the \"checked_value\" from field_info for checked checkboxes\n  },\n  {\n    \"field_id\": \"RadioGroupField\",\n    \"description\": \"Choose option\",\n    \"page\": 1,\n    \"value\": \"\u002FYes\"  \u002F\u002F Use one of the \"value\" entries from radio_options\n  }\n]\n```\n\n**Key Rules:**\n- `field_id`: Must match exactly from field_info.json (case-sensitive)\n- `value`: For text fields, use a string; for checkboxes\u002Fradio, use the `checked_value` or option `value`\n- `page`: Must match the page number in field_info.json\n- `description`: Optional, but helpful for documentation\n\n### Step 3: Fill the Form\nRun the fill script to create the filled PDF:\n```bash\npython3 scripts\u002Ffill_fillable_fields.py \u003Cinput.pdf> \u003Cfield_values.json> \u003Coutput.pdf>\n```\n\nThe script will:\n- Verify all field_ids and values are valid\n- Print error messages if there are issues\n- Create the output PDF if successful\n\n## Important Notes\n\n### Field ID Matching\n- Field IDs are case-sensitive and must be exact matches\n- Field IDs use XPath-like notation (e.g., `SC-100[0].Page2[0].List1[0].Item1[0].PlaintiffName1[0]`)\n- Do not modify or abbreviate field IDs\n\n### Value Formats\n- **Text fields**: Plain strings (no special formatting needed)\n- **Checkboxes**: Use the `checked_value` when you want to check; omit the field or use `unchecked_value` to leave unchecked\n- **Radio buttons**: Use one of the values from the `radio_options` list\n- **Dropdowns**: Use one of the values from the `choice_options` list\n\n### Common Issues\n- If script reports \"Invalid field_id\" → copy the exact ID from field_info.json\n- If checkbox doesn't appear checked → use the correct `checked_value` (often \"\u002F1\" or \"\u002F2\")\n- If script reports \"Invalid value for field\" → verify the value matches an option from field_info\n\n### Optional Fields\n- To leave a field empty, simply omit it from field_values.json\n- Court-filled fields (like case number, trial date) should be left empty\u002Fomitted\n- Don't include signature or date fields that the court fills in\n\n## File Path Usage\nThe scripts must be run from the `\u002Froot\u002F.claude\u002Fskills\u002Fpdf` directory or with full paths:\n```bash\ncd \u002Froot\u002F.claude\u002Fskills\u002Fpdf\npython3 scripts\u002Ffill_fillable_fields.py \u002Fpath\u002Fto\u002Finput.pdf \u002Fpath\u002Fto\u002Ffield_values.json \u002Fpath\u002Fto\u002Foutput.pdf\n```\n",{"name":5,"description":7},"main","726e1f79b96b0cb3d729d0e55a1c847e0b5353ae","skills\u002Fb2-self-feedback-claude-haiku-4-5\u002Fcourt-form-filling\u002Frun2_pdf-skill-form-filling",8,"https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench","https:\u002F\u002Fcxcscmu.github.io\u002FSkillLearnBench","https:\u002F\u002Fgithub.com\u002Fcxcscmu","2026-10-02 22:55:36",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add cxcscmu\u002FSkillLearnBench --skill run2_pdf-skill-form-filling",{"tool":45,"command":46},"bunx","bunx skills add cxcscmu\u002FSkillLearnBench --skill run2_pdf-skill-form-filling",{"tool":48,"command":49},"pnpm","pnpm dlx skills add cxcscmu\u002FSkillLearnBench --skill run2_pdf-skill-form-filling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb2-self-feedback-claude-haiku-4-5\u002Fcourt-form-filling\u002Frun2_pdf-skill-form-filling\u002FSKILL.md",true,[],[54,67,88,106,126,137],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":26},"01M6KM5KH175P5ABP5JMX2SBDQ","object_counter","Count occurrences of an object in the image using computer vision algorithm.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Fvideo-object-counting\u002Fobject_counter\u002FSKILL.md",[],[61,62,63,64,65,66],"object counter","object","vision","computer","Computer Vision","image",{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":26},"01M6KM51TMVXG79MMPCS6Y8G86","travel-planning-workflow","Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Ftravel-planning-workflow\u002FSKILL.md",[],[21,74,75,76,77,78,79,80,81,82,83,84,85,86,87],"planning","planning workflow","travel","travel planning","travel planning workflow","structured","performing","plan","for","user","it","requirements","essential","itineraries",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":26},"01M6KM4DY820XHS9YTSK5QP5HD","bundled-dataset-search-tool","invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Fbundled-dataset-search-tool\u002FSKILL.md",[],[95,96,97,98,99,100,101,76,102,103,77,104,82,105,74],"search","tool","dataset","bundled dataset search tool","restaurants","Tools","up","look","flights","you","database",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":26},"01M6KM465BB9PQ0B548HQSVAWZ","glm-output","Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final \u002Froot\u002Fmetrics.json.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-output\u002FSKILL.md",[],[113,114,115,82,116,117,118,119,120,121,122,123,104,124,125],"glm output","output","glm","tasks","metrics","json","basics","guidance","matching","verifier","processing","root","calibration",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":26},"01M6KM40KY3QWDW5W97S39R2BC","glm-calibration","Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-calibration\u002FSKILL.md",[],[133,125,115,114,120,119,116,134,135,82,136],"glm calibration","setup","companion","metric",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":26},"01M6KM3VHHVSGMGHJQB3PPT6YG","glm-basics","A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-basics\u002FSKILL.md",[],[144,115,119,145,133,125,82,114,146,147,148,149,150,151,116],"glm basics","inspect","relevant","files","good","use","how","Evaluation"]