[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K3JJ50Q5H016DMS262XVVJ":3,"skill-same:01M6K3JJ50Q5H016DMS262XVVJ":89},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6K3JJ50Q5H016DMS262XVVJ","pdf-processing",null,"Extract text, tables, and metadata from PDF documents. Parse scanned PDFs with OCR, analyze PDF structure, and convert PDFs to other formats. Use when the user needs to read, parse, or extract content from PDF files, even if they just say \"get the text from this document.\"","anjijava16\u002FAgent_Skills","anjijava16","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5849522?v=4","01M6JZVCV62H56AYM59D11EGAW","Anjaiah Methuku","01M6JZVD04H0QP910VNCZMJFAG",0,"MIT","https:\u002F\u002Fgithub.com\u002Fanjijava16\u002FAgent_Skills\u002Fblob\u002Fdevelop\u002F.github\u002Fskills\u002Fpdf-processing\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"pdf processing","processing","PDF","use","pip","with","tesseract","get","structure","document","files","say","read","just","text","analyze","convert","ocr","documents","python","2026-11-10 10:12:30",false,"---\nname: pdf-processing\ndescription: >\n  Extract text, tables, and metadata from PDF documents. Parse scanned PDFs\n  with OCR, analyze PDF structure, and convert PDFs to other formats. Use when\n  the user needs to read, parse, or extract content from PDF files, even if they\n  just say \"get the text from this document.\"\nlicense: MIT\ncompatibility: Requires Python 3.10+ and pip. OCR requires tesseract and poppler.\nmetadata:\n  author: welcome\n  version: \"1.0\"\n---\n\n# PDF Processing\n\n## When to use this skill\n\nUse this skill when the user needs to:\n- Extract text or tables from PDF documents\n- Parse scanned\u002Fimage-based PDFs using OCR\n- Read PDF metadata (author, title, page count, creation date)\n- Convert PDF pages to images\n- Analyze PDF structure (fonts, layout, embedded objects)\n\n## Prerequisites\n\n```bash\npip install pdfplumber pypdf pdf2image\n```\n\nFor OCR on scanned PDFs:\n\n```bash\npip install pytesseract Pillow\nbrew install tesseract poppler  # macOS\n```\n\n## Text Extraction\n\nUse pdfplumber as the default. It handles most PDFs well.\n\n```python\nimport pdfplumber\n\nwith pdfplumber.open(\"input.pdf\") as pdf:\n    for i, page in enumerate(pdf.pages):\n        text = page.extract_text()\n        if text:\n            print(f\"--- Page {i + 1} ---\")\n            print(text)\n        else:\n            print(f\"--- Page {i + 1}: no text (likely scanned) ---\")\n```\n\n### OCR Fallback for Scanned PDFs\n\nWhen `extract_text()` returns `None` or empty string, the PDF is image-based. Fall back to OCR:\n\n```python\nfrom pdf2image import convert_from_path\nimport pytesseract\n\nimages = convert_from_path(\"scanned.pdf\", dpi=300)\nfor i, img in enumerate(images):\n    text = pytesseract.image_to_string(img)\n    print(f\"--- Page {i + 1} ---\")\n    print(text)\n```\n\nUse `scripts\u002Fextract_text.py` for automatic detection and OCR fallback.\n\n## Table Extraction\n\n```python\nwith pdfplumber.open(\"input.pdf\") as pdf:\n    for page in pdf.pages:\n        tables = page.extract_tables()\n        for table in tables:\n            for row in table:\n                print(row)\n```\n\nFor structured output, convert tables to pandas DataFrames:\n\n```python\nimport pandas as pd\n\nwith pdfplumber.open(\"input.pdf\") as pdf:\n    tables = pdf.pages[0].extract_tables()\n    if tables:\n        df = pd.DataFrame(tables[0][1:], columns=tables[0][0])\n        print(df.to_markdown(index=False))\n```\n\n## PDF Metadata\n\n```python\nfrom pypdf import PdfReader\n\nreader = PdfReader(\"input.pdf\")\nmeta = reader.metadata\nprint(f\"Pages: {len(reader.pages)}\")\nprint(f\"Title: {meta.title}\")\nprint(f\"Author: {meta.author}\")\nprint(f\"Creator: {meta.creator}\")\nprint(f\"Created: {meta.creation_date}\")\n```\n\n## PDF to Images\n\n```python\nfrom pdf2image import convert_from_path\n\nimages = convert_from_path(\"input.pdf\", dpi=300)\nfor i, img in enumerate(images):\n    img.save(f\"page_{i + 1}.png\", \"PNG\")\n```\n\n## Gotchas\n\n- **pdfplumber for reading, pypdf for writing**: pdfplumber excels at text\u002Ftable extraction. Use pypdf for merge\u002Fsplit\u002Fform operations (see `pdf-service` skill).\n- **Scanned PDFs return empty text**: Always check if `extract_text()` returns `None` or `\"\"` and fall back to OCR.\n- **pdf2image requires poppler**: On macOS: `brew install poppler`. Without it, `convert_from_path` fails with a cryptic error about `pdftoppm`.\n- **Table extraction is layout-dependent**: pdfplumber uses visual line detection. Tables without visible borders may need `table_settings` tuning.\n- **Large PDFs**: Process page-by-page. Never load all pages into memory at once.\n- **Password-protected PDFs**: Use `PdfReader(\"file.pdf\", password=\"secret\")`. An empty password (`\"\"`) works for some \"encrypted\" PDFs that aren't truly locked.\n\n## Validation\n\nAfter extraction:\n1. Spot-check extracted text against the original PDF\n2. For tables, verify column count and row count match the source\n3. For OCR, check for common misreads (0\u002FO, 1\u002Fl\u002FI, rn\u002Fm)\n\n## References\n\n- See [references\u002FREFERENCE.md](references\u002FREFERENCE.md) for advanced extraction patterns and troubleshooting\n","# PDF Processing\n\n## When to use this skill\n\nUse this skill when the user needs to:\n- Extract text or tables from PDF documents\n- Parse scanned\u002Fimage-based PDFs using OCR\n- Read PDF metadata (author, title, page count, creation date)\n- Convert PDF pages to images\n- Analyze PDF structure (fonts, layout, embedded objects)\n\n## Prerequisites\n\n```bash\npip install pdfplumber pypdf pdf2image\n```\n\nFor OCR on scanned PDFs:\n\n```bash\npip install pytesseract Pillow\nbrew install tesseract poppler  # macOS\n```\n\n## Text Extraction\n\nUse pdfplumber as the default. It handles most PDFs well.\n\n```python\nimport pdfplumber\n\nwith pdfplumber.open(\"input.pdf\") as pdf:\n    for i, page in enumerate(pdf.pages):\n        text = page.extract_text()\n        if text:\n            print(f\"--- Page {i + 1} ---\")\n            print(text)\n        else:\n            print(f\"--- Page {i + 1}: no text (likely scanned) ---\")\n```\n\n### OCR Fallback for Scanned PDFs\n\nWhen `extract_text()` returns `None` or empty string, the PDF is image-based. Fall back to OCR:\n\n```python\nfrom pdf2image import convert_from_path\nimport pytesseract\n\nimages = convert_from_path(\"scanned.pdf\", dpi=300)\nfor i, img in enumerate(images):\n    text = pytesseract.image_to_string(img)\n    print(f\"--- Page {i + 1} ---\")\n    print(text)\n```\n\nUse `scripts\u002Fextract_text.py` for automatic detection and OCR fallback.\n\n## Table Extraction\n\n```python\nwith pdfplumber.open(\"input.pdf\") as pdf:\n    for page in pdf.pages:\n        tables = page.extract_tables()\n        for table in tables:\n            for row in table:\n                print(row)\n```\n\nFor structured output, convert tables to pandas DataFrames:\n\n```python\nimport pandas as pd\n\nwith pdfplumber.open(\"input.pdf\") as pdf:\n    tables = pdf.pages[0].extract_tables()\n    if tables:\n        df = pd.DataFrame(tables[0][1:], columns=tables[0][0])\n        print(df.to_markdown(index=False))\n```\n\n## PDF Metadata\n\n```python\nfrom pypdf import PdfReader\n\nreader = PdfReader(\"input.pdf\")\nmeta = reader.metadata\nprint(f\"Pages: {len(reader.pages)}\")\nprint(f\"Title: {meta.title}\")\nprint(f\"Author: {meta.author}\")\nprint(f\"Creator: {meta.creator}\")\nprint(f\"Created: {meta.creation_date}\")\n```\n\n## PDF to Images\n\n```python\nfrom pdf2image import convert_from_path\n\nimages = convert_from_path(\"input.pdf\", dpi=300)\nfor i, img in enumerate(images):\n    img.save(f\"page_{i + 1}.png\", \"PNG\")\n```\n\n## Gotchas\n\n- **pdfplumber for reading, pypdf for writing**: pdfplumber excels at text\u002Ftable extraction. Use pypdf for merge\u002Fsplit\u002Fform operations (see `pdf-service` skill).\n- **Scanned PDFs return empty text**: Always check if `extract_text()` returns `None` or `\"\"` and fall back to OCR.\n- **pdf2image requires poppler**: On macOS: `brew install poppler`. Without it, `convert_from_path` fails with a cryptic error about `pdftoppm`.\n- **Table extraction is layout-dependent**: pdfplumber uses visual line detection. Tables without visible borders may need `table_settings` tuning.\n- **Large PDFs**: Process page-by-page. Never load all pages into memory at once.\n- **Password-protected PDFs**: Use `PdfReader(\"file.pdf\", password=\"secret\")`. An empty password (`\"\"`) works for some \"encrypted\" PDFs that aren't truly locked.\n\n## Validation\n\nAfter extraction:\n1. Spot-check extracted text against the original PDF\n2. For tables, verify column count and row count match the source\n3. For OCR, check for common misreads (0\u002FO, 1\u002Fl\u002FI, rn\u002Fm)\n\n## References\n\n- See [references\u002FREFERENCE.md](references\u002FREFERENCE.md) for advanced extraction patterns and troubleshooting\n",{"name":5,"license":15,"metadata":49,"description":52,"compatibility":53},{"author":50,"version":51},"welcome","1.0","Extract text, tables, and metadata from PDF documents. Parse scanned PDFs with OCR, analyze PDF structure, and convert PDFs to other formats. Use when the user needs to read, parse, or extract content from PDF files, even if they just say \"get the text from this document.\"\n","Requires Python 3.10+ and pip. OCR requires tesseract and poppler.","develop","d85a5e71a5e3e82038a005e5dfa50b6a78cafa7e",".github\u002Fskills\u002Fpdf-processing",1,"https:\u002F\u002Fgithub.com\u002Fanjijava16\u002FAgent_Skills","https:\u002F\u002Fgithub.com\u002Fanjijava16","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fanjaiahmethuku\u002F","AI & Data Engineer ■ Real-time Streaming ■ BigData ■ Machine Learning ■ CLOUD ■ JAVA ■ PYTHON ■ Blog ■  Remain Curious And Keep Learning .....","2026-10-08 08:03:12",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add anjijava16\u002FAgent_Skills --skill pdf-processing",{"tool":69,"command":70},"bunx","bunx skills add anjijava16\u002FAgent_Skills --skill pdf-processing",{"tool":72,"command":73},"pnpm","pnpm dlx skills add anjijava16\u002FAgent_Skills --skill pdf-processing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fanjijava16\u002FAgent_Skills\u002Fblob\u002Fdevelop\u002F.github\u002Fskills\u002Fpdf-processing\u002FSKILL.md",true,[77,83],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002FREFERENCE.md","REFERENCE","参考文档",1958,"https:\u002F\u002Fgithub.com\u002Fanjijava16\u002FAgent_Skills\u002Fblob\u002Fdevelop\u002F.github\u002Fskills\u002Fpdf-processing\u002Freferences\u002FREFERENCE.md",{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"scripts\u002Fextract_text.py","SCRIPT","脚本",1329,"https:\u002F\u002Fgithub.com\u002Fanjijava16\u002FAgent_Skills\u002Fblob\u002Fdevelop\u002F.github\u002Fskills\u002Fpdf-processing\u002Fscripts\u002Fextract_text.py",[90,109,128,134,151,183],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":44},"01M6K52P5M72CRGAHJTVAWSNRA","roll-dice","Roll dice using a random number generator. Use when asked to roll a die (d4, d6, d8, d10, d12, d20, d100), roll multiple dice, or generate random dice rolls for tabletop RPGs, board games, or decision making.","https:\u002F\u002Fgithub.com\u002Fanjijava16\u002FAgent_Skills\u002Fblob\u002Fdevelop\u002Froll-dice\u002FSKILL.md",[],[97,98,50,99,100,101,102,27,103,104,105,106,107,108],"roll dice","dice","generate","tabletop","decision","board","decision making","random","games","generator","number","for",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":116,"publishedAt":44},"01M6K52JJKRBM0A5EXT12G87RW","pdf-service","Extract text and tables from PDFs, fill PDF forms, merge and split PDF files, and convert PDFs to other formats. Use when the user mentions PDFs, document extraction, form filling, or needs to manipulate PDF files.","https:\u002F\u002Fgithub.com\u002Fanjijava16\u002FAgent_Skills\u002Fblob\u002Fdevelop\u002Fpdf-service\u002FSKILL.md",[115],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[26,117,118,43,119,50,120,40,38,121,122,27,34,33,123,124,125,126,28,127],"service","pdf service","merge","extraction","user","extract","forms","form","formats","split","fill",{"skillNo":129,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":133,"publishedAt":44},"01M6K52EVG86E60AQFMJAZ1G09","https:\u002F\u002Fgithub.com\u002Fanjijava16\u002FAgent_Skills\u002Fblob\u002Fdevelop\u002Fpdf-processing\u002FSKILL.md",[132],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[26,24,25,43,42,41,40,39,38,37,36,27,35,34,33,32,31,30,29,28],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":143,"publishedAt":44},"01M6K52A7EC35DTS48PP0VX5TB","my-skill","A template skill for [describe task]. Use when the user asks to [trigger phrases].","https:\u002F\u002Fgithub.com\u002Fanjijava16\u002FAgent_Skills\u002Fblob\u002Fdevelop\u002Fmy-skill\u002FSKILL.md",[140],{"categoryNo":141,"categoryName":142,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[144,145,146,147,121,27,148,149,150,108],"my skill","my","template skill","template","task","trigger","name",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":168,"publishedAt":44},"01M6K51Y5QVHMDX3F01JJRRV33","data-analysis","Analyze datasets — compute summary statistics, clean messy data, add derived columns, detect outliers, and generate charts. Use when the user has a CSV, TSV, Excel, or JSON data file and wants to explore, transform, visualize, or understand the data, even if they don't explicitly mention \"analysis.\"","https:\u002F\u002Fgithub.com\u002Fanjijava16\u002FAgent_Skills\u002Fblob\u002Fdevelop\u002Fdata-analysis\u002FSKILL.md",[157,160,163],{"categoryNo":158,"categoryName":159,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":161,"categoryName":162,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000013","分析与可视化",{"categoryNo":164,"categoryName":165,"taxonomyType":166,"taxonomyTypeDesc":167},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[169,170,171,172,43,173,50,99,174,175,176,177,39,27,178,179,180,181,182,28],"data analysis","data","analysis","xlsx","visualize","file","csv","Charts","explore","clean","statistics","add","transform","columns",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":195,"publishedAt":44},"01M6K51P73MWRNWFM80SYVBST0","code-review","Review code for bugs, security vulnerabilities, performance issues, and style problems. Provide actionable feedback with severity levels and fix suggestions. Use when the user asks to review, audit, or check code quality, or wants a second pair of eyes on a pull request, diff, or code change.","https:\u002F\u002Fgithub.com\u002Fanjijava16\u002FAgent_Skills\u002Fblob\u002Fdevelop\u002Fcode-review\u002FSKILL.md",[189,192],{"categoryNo":190,"categoryName":191,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查",{"categoryNo":193,"categoryName":194,"taxonomyType":166,"taxonomyTypeDesc":167},"01JBSEEDCAT000000000000030","开发工程师",[196,197,198,199,200,201,202,203,204,205,206,207,208,27,209,210,211,29,108,212],"code review","review","code","performance","change","code quality","issues","pull","audit","severity","feedback","check","fix","diff","style","actionable","bugs"]