[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71H6840PMX99XHENBZZ36ZF":3,"skill-same:01M71H6840PMX99XHENBZZ36ZF":99},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M71H6840PMX99XHENBZZ36ZF","pdf-to-markdown",null,"[Document Processing] Convert PDF files to Markdown with support for native text PDFs and scanned documents (OCR). Cross-platform.","JSGforever\u002Fskillguard","JSGforever","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F85541948?v=4","01M71FQD3E132VMR5F4TAYX3YS","01M71FQD4DYW0XJ4XQ4YQH75Y9",2,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__andreadellacorte--pdf-to-markdown\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"markdown","pdf to markdown","PDF","cross-platform","support","native","with","text","convert","documents","document","files","pdfs","for","platform","processing","ocr","2026-11-10 10:12:30",false,"---\nname: pdf-to-markdown\nversion: 1.0.0\ndescription: '[Document Processing] Convert PDF files to Markdown with support for native text PDFs and scanned documents (OCR). Cross-platform.'\n\nallowed-tools: NONE\n---\n\n> **[IMPORTANT]** Use `TaskCreate` to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ask user whether to skip.\n\n## Quick Summary\n\n**Goal:** Convert PDF files to well-formatted Markdown with auto-detection of native text vs scanned documents. Only native-text conversion is implemented; OCR is planned.\n\n**Workflow:**\n\n1. **Auto-Detect** — Determine if PDF has native text or needs OCR\n2. **Convert** — Run `scripts\u002Fconvert.cjs` with input path and optional mode\u002Foutput flags\n3. **Output** — Returns JSON with success status, page count, and output path\n\n**Key Rules:**\n\n- Use `--mode auto` (default) to let the tool decide native vs OCR\n- OCR for scanned PDFs requires additional `tesseract.js` setup\n- Complex multi-column layouts may not preserve structure perfectly\n\n# pdf-to-markdown\n\nConvert PDF files to Markdown format with automatic detection of native text vs scanned documents.\n\n## No npm install required\n\nThe skill runs with **Node.js only**; no `node_modules` in the repo. It uses **npx** to run `@opendocsg\u002Fpdf2md` on first use (cached by npx). Optional: run `npm install` in the skill directory for faster runs without npx.\n\n**Requirements:** Node.js ≥18, `npx` (included with npm).\n\n## Quick Start\n\n```bash\n# Basic conversion (auto-detect native vs scanned)\nnode .agents\u002Fskills\u002Fpdf-to-markdown\u002Fscripts\u002Fconvert.cjs --input .\u002Fdocument.pdf\n\n# Specify output path\nnode .agents\u002Fskills\u002Fpdf-to-markdown\u002Fscripts\u002Fconvert.cjs -i .\u002Fdoc.pdf -o .\u002Foutput.md\n\n# Force native mode (skip OCR detection)\nnode .agents\u002Fskills\u002Fpdf-to-markdown\u002Fscripts\u002Fconvert.cjs -i .\u002Fdoc.pdf --mode native\n```\n\n## CLI Options\n\n| Option     | Short | Description                              | Default      |\n| ---------- | ----- | ---------------------------------------- | ------------ |\n| `--input`  | `-i`  | Input PDF file path                      | (required)   |\n| `--output` | `-o`  | Output markdown file path                | `{input}.md` |\n| `--mode`   | `-m`  | Conversion mode: `auto`, `native`, `ocr` | `auto`       |\n| `--help`   | `-h`  | Show help message                        |              |\n\n## Features\n\n- **Auto-Detection:** Automatically determines if PDF has native text or requires OCR\n- **Native PDFs:** Fast extraction using @opendocsg\u002Fpdf2md\n- **Tables:** Basic table structure preservation\n- **Cross-Platform:** Works on Windows, macOS, Linux\n- **No System Dependencies:** Pure JavaScript implementation\n\n## Conversion Modes\n\n### Auto (Default)\n\nChecks if PDF has extractable text on first page. Uses native extraction if text found, otherwise falls back to OCR warning.\n\n### Native\n\nFast direct text extraction. Best for PDFs with selectable text (not scanned images).\n\n### OCR (Scanned PDFs) - Coming Soon\n\nFor scanned documents. Currently not implemented - the skill will notify you if a PDF appears to be scanned.\n\n## Output\n\nReturns JSON on success:\n\n```json\n{\n    \"success\": true,\n    \"input\": \"\u002Fpath\u002Fto\u002Finput.pdf\",\n    \"output\": \"\u002Fpath\u002Fto\u002Foutput.md\",\n    \"stats\": {\n        \"pages\": 5,\n        \"mode\": \"native\"\n    }\n}\n```\n\n## Limitations\n\n- Complex multi-column layouts may not preserve structure\n- Scanned PDF OCR accuracy depends on image quality\n- Mathematical formulas may not convert perfectly\n- First-run OCR downloads language data (~15MB)\n\n## OCR Setup (Optional)\n\nOCR mode is wired into the skill but not yet implemented. If you want to prepare your environment or extend it yourself, install the OCR dependencies so Node can resolve them:\n\n```bash\ncd .agents\u002Fskills\u002Fpdf-to-markdown\nnpm install tesseract.js pdfjs-dist canvas\n```\n\n**Note:** The `canvas` package may require build tools on some systems.\n\n---\n\n**IMPORTANT Task Planning Notes (MUST FOLLOW)**\n\n- Always plan and break work into many small todo tasks\n- Always add a final review todo task to verify work quality and identify fixes\u002Fenhancements\n","> **[IMPORTANT]** Use `TaskCreate` to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ask user whether to skip.\n\n## Quick Summary\n\n**Goal:** Convert PDF files to well-formatted Markdown with auto-detection of native text vs scanned documents. Only native-text conversion is implemented; OCR is planned.\n\n**Workflow:**\n\n1. **Auto-Detect** — Determine if PDF has native text or needs OCR\n2. **Convert** — Run `scripts\u002Fconvert.cjs` with input path and optional mode\u002Foutput flags\n3. **Output** — Returns JSON with success status, page count, and output path\n\n**Key Rules:**\n\n- Use `--mode auto` (default) to let the tool decide native vs OCR\n- OCR for scanned PDFs requires additional `tesseract.js` setup\n- Complex multi-column layouts may not preserve structure perfectly\n\n# pdf-to-markdown\n\nConvert PDF files to Markdown format with automatic detection of native text vs scanned documents.\n\n## No npm install required\n\nThe skill runs with **Node.js only**; no `node_modules` in the repo. It uses **npx** to run `@opendocsg\u002Fpdf2md` on first use (cached by npx). Optional: run `npm install` in the skill directory for faster runs without npx.\n\n**Requirements:** Node.js ≥18, `npx` (included with npm).\n\n## Quick Start\n\n```bash\n# Basic conversion (auto-detect native vs scanned)\nnode .agents\u002Fskills\u002Fpdf-to-markdown\u002Fscripts\u002Fconvert.cjs --input .\u002Fdocument.pdf\n\n# Specify output path\nnode .agents\u002Fskills\u002Fpdf-to-markdown\u002Fscripts\u002Fconvert.cjs -i .\u002Fdoc.pdf -o .\u002Foutput.md\n\n# Force native mode (skip OCR detection)\nnode .agents\u002Fskills\u002Fpdf-to-markdown\u002Fscripts\u002Fconvert.cjs -i .\u002Fdoc.pdf --mode native\n```\n\n## CLI Options\n\n| Option     | Short | Description                              | Default      |\n| ---------- | ----- | ---------------------------------------- | ------------ |\n| `--input`  | `-i`  | Input PDF file path                      | (required)   |\n| `--output` | `-o`  | Output markdown file path                | `{input}.md` |\n| `--mode`   | `-m`  | Conversion mode: `auto`, `native`, `ocr` | `auto`       |\n| `--help`   | `-h`  | Show help message                        |              |\n\n## Features\n\n- **Auto-Detection:** Automatically determines if PDF has native text or requires OCR\n- **Native PDFs:** Fast extraction using @opendocsg\u002Fpdf2md\n- **Tables:** Basic table structure preservation\n- **Cross-Platform:** Works on Windows, macOS, Linux\n- **No System Dependencies:** Pure JavaScript implementation\n\n## Conversion Modes\n\n### Auto (Default)\n\nChecks if PDF has extractable text on first page. Uses native extraction if text found, otherwise falls back to OCR warning.\n\n### Native\n\nFast direct text extraction. Best for PDFs with selectable text (not scanned images).\n\n### OCR (Scanned PDFs) - Coming Soon\n\nFor scanned documents. Currently not implemented - the skill will notify you if a PDF appears to be scanned.\n\n## Output\n\nReturns JSON on success:\n\n```json\n{\n    \"success\": true,\n    \"input\": \"\u002Fpath\u002Fto\u002Finput.pdf\",\n    \"output\": \"\u002Fpath\u002Fto\u002Foutput.md\",\n    \"stats\": {\n        \"pages\": 5,\n        \"mode\": \"native\"\n    }\n}\n```\n\n## Limitations\n\n- Complex multi-column layouts may not preserve structure\n- Scanned PDF OCR accuracy depends on image quality\n- Mathematical formulas may not convert perfectly\n- First-run OCR downloads language data (~15MB)\n\n## OCR Setup (Optional)\n\nOCR mode is wired into the skill but not yet implemented. If you want to prepare your environment or extend it yourself, install the OCR dependencies so Node can resolve them:\n\n```bash\ncd .agents\u002Fskills\u002Fpdf-to-markdown\nnpm install tesseract.js pdfjs-dist canvas\n```\n\n**Note:** The `canvas` package may require build tools on some systems.\n\n---\n\n**IMPORTANT Task Planning Notes (MUST FOLLOW)**\n\n- Always plan and break work into many small todo tasks\n- Always add a final review todo task to verify work quality and identify fixes\u002Fenhancements\n",{"name":5,"version":40,"description":7,"allowed-tools":41},"1.0.0","NONE","main","f2ec4b3b9133d34eeaf9b38e4b0a97e8e5705a7f","benchmarks\u002Ffinal\u002Fskills\u002Fasset1__andreadellacorte--pdf-to-markdown",0,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard","https:\u002F\u002Fgithub.com\u002FJSGforever","2026-08-29 18:27:56",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add JSGforever\u002Fskillguard --skill pdf-to-markdown",{"tool":55,"command":56},"bunx","bunx skills add JSGforever\u002Fskillguard --skill pdf-to-markdown",{"tool":58,"command":59},"pnpm","pnpm dlx skills add JSGforever\u002Fskillguard --skill pdf-to-markdown","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__andreadellacorte--pdf-to-markdown\u002FSKILL.md",true,[63,69,73,77,81,85,91,95],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"scripts\u002Fconvert.cjs","SCRIPT","脚本",4093,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__andreadellacorte--pdf-to-markdown\u002Fscripts\u002Fconvert.cjs",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"scripts\u002Flib\u002Fconverter.cjs",6497,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__andreadellacorte--pdf-to-markdown\u002Fscripts\u002Flib\u002Fconverter.cjs",{"path":74,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":75,"sourceHtmlUrl":76},"scripts\u002Flib\u002Foutput-handler.cjs",1174,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__andreadellacorte--pdf-to-markdown\u002Fscripts\u002Flib\u002Foutput-handler.cjs",{"path":78,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Flib\u002Fpdf-detector.cjs",2009,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__andreadellacorte--pdf-to-markdown\u002Fscripts\u002Flib\u002Fpdf-detector.cjs",{"path":82,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":83,"sourceHtmlUrl":84},"tests\u002Fconverter.test.cjs",3679,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__andreadellacorte--pdf-to-markdown\u002Ftests\u002Fconverter.test.cjs",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"tests\u002Ffixtures\u002Ftemp.txt","REFERENCE","参考文档",4,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__andreadellacorte--pdf-to-markdown\u002Ftests\u002Ffixtures\u002Ftemp.txt",{"path":92,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":93,"sourceHtmlUrl":94},"tests\u002Frun-tests.cjs",397,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__andreadellacorte--pdf-to-markdown\u002Ftests\u002Frun-tests.cjs",{"path":96,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":97,"sourceHtmlUrl":98},"tests\u002Ftest-framework.cjs",3197,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__andreadellacorte--pdf-to-markdown\u002Ftests\u002Ftest-framework.cjs",[100,127,137,164,183,201],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":35},"01M71HY2SNXBA9Q00WZDTZQ31Z","skillguard-codex-scanner","Hybrid deterministic+LLM agent-skill security scanner. Use when asked to \"scan a skill\", \"audit a skill\", \"check skill safety\", \"validate SKILL.md\", \"is this skill safe to install\", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fsrc\u002Fskillguard\u002Fstatic_scanner\u002Fskillguard-codex-scanner\u002FSKILL.md",[],[107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126],"scanner","skillguard codex scanner","skillguard","codex","chain","skill security","security-review","review report","structural","secret","prompt injection","security scanner","when","review","malicious","permissions","exposure","audit","scripts","safe",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":131,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":35},"01M71HY0SPKTT3S27BC2HPAC5M","data-exfiltrator","Analyzes data files","MIT","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Fsmoke-one-skill\u002Fasset1__cisco-ai-defense--data-exfiltrator\u002FSKILL.md",[],[135,136,29],"data","data exfiltrator",{"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":35},"01M71HXVS9EMN44BGDW215FZ72","real-time-collaboration-engine","Build real-time collaborative editing with WebSockets, OT\u002FCRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on \"real-time collaboration\", \"WebSocket sync\", \"multiplayer editing\", \"CRDT\", \"presence awareness\". NOT for simple chat, request-response APIs, or single-user apps.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--real-time-collaboration-engine\u002FSKILL.md",[],[144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],"time","real time collaboration engine","real time collaboration","collaboration","engine","real time","Video","reliability","video editing","performance","conflict resolution","presence","access","apps","updates","Bash","activate","optimizer","react","streaming",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":35},"01M71HXP6CTY4KFN0QVMMN0V7J","react-performance-optimizer","Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on \"React performance\", \"slow render\", \"useMemo\", \"bundle size\", \"virtualization\". NOT for backend optimization, non-React frameworks, or premature optimization.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--react-performance-optimizer\u002FSKILL.md",[],[153,171,161,162,172,173,174,175,176,177,144,178,179,157,159,180,160,163,181,182],"react performance optimizer","react performance","performance optimizer","app","nextjs","expert","re","render","2025","code","router","strategies",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":189,"publishedAt":35},"01M71HXH7QXSQB4QTDZ7SP7YXQ","llm-streaming-response-handler","Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI\u002FAnthropic\u002FClaude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on \"LLM streaming\", \"SSE\", \"token stream\", \"chat UI\", \"real-time AI\". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--llm-streaming-response-handler\u002FSKILL.md",[],[190,163,191,192,33,193,153,144,194,195,196,159,160,161,197,162,198,25,199,200],"llm streaming response handler","handler","error","retry","chat ui","error recovery","critical","batch","display","server","read",{"skillNo":202,"name":203,"nameZh":6,"description":204,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":205,"categories":206,"keywords":207,"publishedAt":35},"01M71HXCB0E1YRKYW1Y8T0Y106","github-actions-pipeline-builder","Build production CI\u002FCD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on \"GitHub Actions\", \"CI\u002FCD\", \"workflow\", \"deployment pipeline\", \"automated testing\". NOT for Jenkins\u002FCircleCI, manual deployments, or non-GitHub repositories.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002FSKILL.md",[],[208,209,210,211,212,213,214,151,176,215,216,217,160,182,218,200,219,220,221,222],"github actions pipeline builder","actions","github actions","pipeline builder","github","builder","pipeline","testing","ci","workflows","run","release","write","edit","git"]