[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A2ADZ9VA1AXY7M5QMTKXDM":3,"skill-same:01M7A2ADZ9VA1AXY7M5QMTKXDM":51},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7A2ADZ9VA1AXY7M5QMTKXDM","pdfingest",null,"First-pass ingestion of PDFs and office documents (DOCX\u002FPPTX\u002FXLSX\u002FHTML\u002FEPUB) into LLM-ready markdown via Docling — layout-aware reading order, real table structure, OCR for scans. Use when the task is to read, cite, or fold a document into research notes or a corpus: \"ingest this paper\", \"what does this PDF say\", \"pull the tables out of this report\", \"add this to the research register\". Handles the whole two-tier shape: deterministic Docling extraction first, vision pass only where Docling's output is insufficient (figures, dense math, mangled layout).","medici-finance\u002Fassay","medici-finance","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F298844171?v=4","01M7A2655EZBRV4HA62GMGC7KK","Medici","01M7A26562DY5FSYQMXSHM5EJ6",7,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmedici-finance\u002Fassay\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fpdfingest\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pdfingest\ndescription: >-\n  First-pass ingestion of PDFs and office documents (DOCX\u002FPPTX\u002FXLSX\u002FHTML\u002FEPUB)\n  into LLM-ready markdown via Docling — layout-aware reading order, real table\n  structure, OCR for scans. Use when the task is to read, cite, or fold a\n  document into research notes or a corpus: \"ingest this paper\", \"what does\n  this PDF say\", \"pull the tables out of this report\", \"add this to the\n  research register\". Handles the whole two-tier shape: deterministic Docling\n  extraction first, vision pass only where Docling's output is insufficient\n  (figures, dense math, mangled layout).\n---\n\u003C!-- GENERATED from plugins\u002Fassay\u002Fskills\u002Fpdfingest\u002FSKILL.md by deskinstall --harness cursor. Do not edit. -->\n\n# pdfingest — document first pass\n\nYou are ingesting a document. The rule of this skill is the **two-tier shape**:\na cheap deterministic first pass (Docling — layout model, table-structure\nmodel, OCR) over the whole document, then an expensive vision pass only on the\nparts the first pass cannot carry. Never page an entire PDF through vision when\nmarkdown extraction answers the question.\n\n## 1. Convert\n\nRun `plugins\u002Fassay\u002Fscripts\u002Fpdfingest.sh` (or any docling-serve client).\n**No endpoint yet?** `SETUP.md` beside this skill installs Docling four ways —\nlocal `pip install` (zero infra, the client's automatic fallback), Docker,\na plain Kubernetes Deployment, and an optional scale-to-zero rung — all\nreproducible with no access to any particular deployment.\n\n```bash\npdfingest.sh paper.pdf > paper.md       # markdown to stdout\npdfingest.sh --json paper.pdf           # page\u002Fbbox provenance — for citations\npdfingest.sh --pages 12-14 paper.pdf    # a slice, when hunting one claim\npdfingest.sh --health                   # is the endpoint up?\n```\n\n- Endpoint: `ASSAY_DOCLING_URL` (default `http:\u002F\u002Flocalhost:5001`). Point it at\n  your deployment's FRONT (e.g. a scale-to-zero proxy in front of the pods) —\n  `kubectl port-forward` the front service, not the docling service itself\n  (a scaled-to-zero deployment has no endpoints). Field names are\n  upstream's and may drift between versions — verify against the server's\n  `\u002Fdocs` if a request 400s. A cold start after idle legitimately takes tens\n  of seconds to minutes (pod schedule + image pull + model load) — use a\n  generous HTTP timeout, don't retry-storm.\n- No endpoint and no local `docling` CLI: see `SETUP.md` rung 1 (`pip install\n  docling`, CPU-only, models download once, ~2 GB) — or tell the driver what's\n  missing rather than silently downgrading to raw `pdftotext`.\n- **Confidentiality**: the document body crosses the endpoint's wire WHOLE.\n  Point `ASSAY_DOCLING_URL` only at an endpoint you or your driver control —\n  never a third-party API for confidential material.\n\n## 2. Cite with anchors\n\nExtracted text is a claim about the source, so citations carry a locator:\n\n- Prefer **section heading + page**: `Orchestra, §6.2, p.14` — page numbers\n  come from `--json` provenance or a `--pages` slice, not from eyeballing.\n- Record the **access date** and the artifact identity (URL, DOI, file hash\n  for local files) alongside the citation, in whatever register the work\n  keeps.\n- If you quote the markdown rather than the page, say so — extraction can\n  reorder two-column text or drop a figure caption.\n\n## 3. Know the failure modes\n\nDocling is text-and-structure, not understanding. Escalate to a vision pass\n(render the page, read it as an image) exactly when:\n\n- the claim lives in a **figure, chart, or diagram** — markdown carries only\n  the caption;\n- **dense math** — extraction mangles multi-line equations;\n- the markdown looks **wrong**: a table whose columns collapsed, a reading\n  order that zig-zags, headings inside paragraphs. Don't repair it by guessing\n  — re-read that page as an image and reconcile.\n- the file is a **scan** and OCR output is gibberish — vision beats damaged OCR.\n\nThe escalation is per-page, not per-document: extract the whole thing, vision\nonly the pages that earn it.\n\n## 4. Discipline\n\n- The extraction is **working material**, like transcripts: quote from it,\n  cite from it, discard the intermediate — don't commit machine markdown to a\n  research register as if it were authored prose.\n- Never present an unrun conversion as done: a failed or skipped extraction is\n  reported with its error, not papered over.\n- Structured data (tables headed for analysis, not prose) should come from\n  `--json`, which preserves cell structure — markdown tables round-trip badly.\n","\u003C!-- GENERATED from plugins\u002Fassay\u002Fskills\u002Fpdfingest\u002FSKILL.md by deskinstall --harness cursor. Do not edit. -->\n\n# pdfingest — document first pass\n\nYou are ingesting a document. The rule of this skill is the **two-tier shape**:\na cheap deterministic first pass (Docling — layout model, table-structure\nmodel, OCR) over the whole document, then an expensive vision pass only on the\nparts the first pass cannot carry. Never page an entire PDF through vision when\nmarkdown extraction answers the question.\n\n## 1. Convert\n\nRun `plugins\u002Fassay\u002Fscripts\u002Fpdfingest.sh` (or any docling-serve client).\n**No endpoint yet?** `SETUP.md` beside this skill installs Docling four ways —\nlocal `pip install` (zero infra, the client's automatic fallback), Docker,\na plain Kubernetes Deployment, and an optional scale-to-zero rung — all\nreproducible with no access to any particular deployment.\n\n```bash\npdfingest.sh paper.pdf > paper.md       # markdown to stdout\npdfingest.sh --json paper.pdf           # page\u002Fbbox provenance — for citations\npdfingest.sh --pages 12-14 paper.pdf    # a slice, when hunting one claim\npdfingest.sh --health                   # is the endpoint up?\n```\n\n- Endpoint: `ASSAY_DOCLING_URL` (default `http:\u002F\u002Flocalhost:5001`). Point it at\n  your deployment's FRONT (e.g. a scale-to-zero proxy in front of the pods) —\n  `kubectl port-forward` the front service, not the docling service itself\n  (a scaled-to-zero deployment has no endpoints). Field names are\n  upstream's and may drift between versions — verify against the server's\n  `\u002Fdocs` if a request 400s. A cold start after idle legitimately takes tens\n  of seconds to minutes (pod schedule + image pull + model load) — use a\n  generous HTTP timeout, don't retry-storm.\n- No endpoint and no local `docling` CLI: see `SETUP.md` rung 1 (`pip install\n  docling`, CPU-only, models download once, ~2 GB) — or tell the driver what's\n  missing rather than silently downgrading to raw `pdftotext`.\n- **Confidentiality**: the document body crosses the endpoint's wire WHOLE.\n  Point `ASSAY_DOCLING_URL` only at an endpoint you or your driver control —\n  never a third-party API for confidential material.\n\n## 2. Cite with anchors\n\nExtracted text is a claim about the source, so citations carry a locator:\n\n- Prefer **section heading + page**: `Orchestra, §6.2, p.14` — page numbers\n  come from `--json` provenance or a `--pages` slice, not from eyeballing.\n- Record the **access date** and the artifact identity (URL, DOI, file hash\n  for local files) alongside the citation, in whatever register the work\n  keeps.\n- If you quote the markdown rather than the page, say so — extraction can\n  reorder two-column text or drop a figure caption.\n\n## 3. Know the failure modes\n\nDocling is text-and-structure, not understanding. Escalate to a vision pass\n(render the page, read it as an image) exactly when:\n\n- the claim lives in a **figure, chart, or diagram** — markdown carries only\n  the caption;\n- **dense math** — extraction mangles multi-line equations;\n- the markdown looks **wrong**: a table whose columns collapsed, a reading\n  order that zig-zags, headings inside paragraphs. Don't repair it by guessing\n  — re-read that page as an image and reconcile.\n- the file is a **scan** and OCR output is gibberish — vision beats damaged OCR.\n\nThe escalation is per-page, not per-document: extract the whole thing, vision\nonly the pages that earn it.\n\n## 4. Discipline\n\n- The extraction is **working material**, like transcripts: quote from it,\n  cite from it, discard the intermediate — don't commit machine markdown to a\n  research register as if it were authored prose.\n- Never present an unrun conversion as done: a failed or skipped extraction is\n  reported with its error, not papered over.\n- Structured data (tables headed for analysis, not prose) should come from\n  `--json`, which preserves cell structure — markdown tables round-trip badly.\n",{"name":5,"description":7},"main","7b56c62e2c2dc6a597a6b41ccdd43c72c70fe0ca",".cursor\u002Fskills\u002Fpdfingest",5,"https:\u002F\u002Fgithub.com\u002Fmedici-finance\u002Fassay","https:\u002F\u002Fgithub.com\u002Fmedici-finance","2026-11-15 00:52:35",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add medici-finance\u002Fassay --skill pdfingest",{"tool":37,"command":38},"bunx","bunx skills add medici-finance\u002Fassay --skill pdfingest",{"tool":40,"command":41},"pnpm","pnpm dlx skills add medici-finance\u002Fassay --skill pdfingest","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmedici-finance\u002Fassay\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fpdfingest\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"SETUP.md","REFERENCE","参考文档",4333,"https:\u002F\u002Fgithub.com\u002Fmedici-finance\u002Fassay\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fpdfingest\u002FSETUP.md",[52,59,65,72,78,85],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7A2KDJHD3C240974C8CHEK0","Bad--Name","A valid description.","https:\u002F\u002Fgithub.com\u002Fmedici-finance\u002Fassay\u002Fblob\u002Fmain\u002Ftools\u002Fskillslint\u002Ftestdata\u002Fconformance\u002Fname-pattern\u002FBad--Name\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7A2KCG3W4TB4ZTKK9NC3TX5","not-the-desk","https:\u002F\u002Fgithub.com\u002Fmedici-finance\u002Fassay\u002Fblob\u002Fmain\u002Ftools\u002Fskillslint\u002Ftestdata\u002Fconformance\u002Fname-mismatch\u002Fthe-desk\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7A2K70T9HZHH43ARFZP6P0A","skill","abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde","https:\u002F\u002Fgithub.com\u002Fmedici-finance\u002Fassay\u002Fblob\u002Fmain\u002Ftools\u002Fskillslint\u002Ftestdata\u002Fconformance\u002Fdesc-1025\u002Fskill\u002FSKILL.md",[],[],{"skillNo":73,"name":67,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7A2JYP6F7FCZK539GA01MFQ","字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字","https:\u002F\u002Fgithub.com\u002Fmedici-finance\u002Fassay\u002Fblob\u002Fmain\u002Ftools\u002Fskillslint\u002Ftestdata\u002Fconformance\u002Fdesc-1024-multibyte\u002Fskill\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7A2JSBQENV3BBQZ3FQNSJ5E","skill-9","This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a f","https:\u002F\u002Fgithub.com\u002Fmedici-finance\u002Fassay\u002Fblob\u002Fmain\u002Ftools\u002Fskillslint\u002Ftestdata\u002Fconformance\u002Fbudget-over\u002Fskill-9\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7A2JKR0EGK44TQVGZ1EWCW4","skill-8","https:\u002F\u002Fgithub.com\u002Fmedici-finance\u002Fassay\u002Fblob\u002Fmain\u002Ftools\u002Fskillslint\u002Ftestdata\u002Fconformance\u002Fbudget-over\u002Fskill-8\u002FSKILL.md",[],[]]