[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-anthropic-doc-extract":3,"mdc-h5fc1w-key":39,"related-repo-anthropic-doc-extract":689,"related-org-anthropic-doc-extract":788},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":29,"repoUrl":30,"updatedAt":31,"license":32,"forks":33,"topics":34,"repo":35,"sourceUrl":37,"mdContent":38},"doc-extract","extract text from documents","Extract plain text from a document file - PDF, DOCX, XLSX, PPTX, RTF, or plain text\u002Fmarkdown\u002FHTML. Use when a binary document needs to be turned into text, for example a contract PDF or an EHR DocumentReference attachment. Other skills (fhir) invoke scripts\u002Fextract.ts directly; the contracts MCP server bundles its own copy (servers\u002Fdocuments\u002Fsrc\u002Fextract.mjs) so its bundle stays self-contained — port fixes to both.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"anthropic","Anthropic","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fanthropic.png","anthropics",[13,17,20,23,26],{"name":14,"slug":15,"type":16},"PDF","pdf","tag",{"name":18,"slug":19,"type":16},"Spreadsheets","spreadsheets",{"name":21,"slug":22,"type":16},"Documents","documents",{"name":24,"slug":25,"type":16},"Data Cleaning","data-cleaning",{"name":27,"slug":28,"type":16},"DOCX","docx",356,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fhealthcare","2026-07-18T05:15:15.766116",null,91,[],{"repoUrl":30,"stars":29,"forks":33,"topics":36,"description":32},[],"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fhealthcare\u002Ftree\u002FHEAD\u002Fplugins\u002Fhealthcare\u002Fskills\u002Fdoc-extract","---\nname: doc-extract\ndescription: Extract plain text from a document file - PDF, DOCX, XLSX, PPTX, RTF, or plain text\u002Fmarkdown\u002FHTML. Use when a binary document needs to be turned into text, for example a contract PDF or an EHR DocumentReference attachment. Other skills (fhir) invoke scripts\u002Fextract.ts directly; the contracts MCP server bundles its own copy (servers\u002Fdocuments\u002Fsrc\u002Fextract.mjs) so its bundle stays self-contained — port fixes to both.\n---\n\n# doc-extract\n\nShared document-to-text extraction. One script, no state: reads an input file, prints JSON to stdout, writes nothing to disk (PHI-safe — no caches, no temp files; callers own any caching).\n\n## Setup (once)\n\n```bash\ncd \u003Cthis skill dir> && bun install\n```\n\nThis pulls [liteparse](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@llamaindex\u002Fliteparse) (the `lit` bin, used for PDF\u002FDOCX\u002FXLSX\u002FPPTX, OCR included) and [rtf-to-text](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Frtf-to-text) (RTF). Without it, PDFs still work via a `pdftotext -layout` fallback if poppler is installed; other binary formats require liteparse.\n\n## Use\n\n```bash\nbun \u003Cthis skill dir>\u002Fscripts\u002Fextract.ts \u003Cinput-file> [--content-type \u003Cmime>]\n```\n\nOutput on stdout:\n\n```json\n{ \"text\": \"...\", \"method\": \"liteparse | pdftotext | rtf-to-text | passthrough\", \"pages\": 12 }\n```\n\n- `text` is page-anchored for paged formats: `=== [page N] ===` markers between pages.\n- `pages` is present when page markers exist.\n- `method` is the extractor that actually produced the text.\n- Format is taken from the file extension; pass `--content-type` (e.g. `application\u002Fpdf`) when the file has no useful extension, as with downloaded EHR attachments. Note liteparse refuses extension-less files, so those PDFs go through the `pdftotext` fallback.\n- Errors print `{\"error\": \"...\"}` to stderr and exit 1.\n\n## Table caveat\n\nTables with multiple value columns (option A vs option B, in-tier vs out-of-tier) can interleave columns line-by-line in the extracted text: fragments of adjacent cells alternate, and a cell's text can even land mid-sentence inside a neighboring column. Values usually survive, but which column a value belongs to can become ambiguous. When an answer comes from one column of a multi-column table and the document has no redundant restatement of the value elsewhere, verify it by reading the original page directly before treating it as ground truth. The extracted text's `=== [page N] ===` anchor tells you which page: pass it to the Read tool's `pages` parameter (e.g. pages: \"37\") to render just that page to vision instead of the whole document.\n\n## For other skills\n\nImport the functions instead of shelling out when you're already in bun TS:\n\n```ts\nimport { extract, resolveLit } from \"..\u002Fdoc-extract\u002Fscripts\u002Fextract\";\nconst lit = resolveLit([myRoot]); \u002F\u002F also checks myRoot\u002Fnode_modules\u002F.bin\u002Flit\nconst text = extract(lit, \"\u002Fpath\u002Fto\u002Ffile.pdf\"); \u002F\u002F string | null\n```\n\nThe contracts skill consumes it this way (its ingest caching stays on the contracts side).\n",{"data":40,"body":41},{"name":4,"description":6},{"type":42,"children":43},"root",[44,51,57,64,137,178,184,274,279,396,481,487,506,512,517,678,683],{"type":45,"tag":46,"props":47,"children":48},"element","h1",{"id":4},[49],{"type":50,"value":4},"text",{"type":45,"tag":52,"props":53,"children":54},"p",{},[55],{"type":50,"value":56},"Shared document-to-text extraction. One script, no state: reads an input file, prints JSON to stdout, writes nothing to disk (PHI-safe — no caches, no temp files; callers own any caching).",{"type":45,"tag":58,"props":59,"children":61},"h2",{"id":60},"setup-once",[62],{"type":50,"value":63},"Setup (once)",{"type":45,"tag":65,"props":66,"children":71},"pre",{"className":67,"code":68,"language":69,"meta":70,"style":70},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","cd \u003Cthis skill dir> && bun install\n","bash","",[72],{"type":45,"tag":73,"props":74,"children":75},"code",{"__ignoreMap":70},[76],{"type":45,"tag":77,"props":78,"children":81},"span",{"class":79,"line":80},"line",1,[82,88,94,100,105,110,116,121,126,132],{"type":45,"tag":77,"props":83,"children":85},{"style":84},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[86],{"type":50,"value":87},"cd",{"type":45,"tag":77,"props":89,"children":91},{"style":90},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[92],{"type":50,"value":93}," \u003C",{"type":45,"tag":77,"props":95,"children":97},{"style":96},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[98],{"type":50,"value":99},"this",{"type":45,"tag":77,"props":101,"children":102},{"style":96},[103],{"type":50,"value":104}," skill",{"type":45,"tag":77,"props":106,"children":107},{"style":96},[108],{"type":50,"value":109}," di",{"type":45,"tag":77,"props":111,"children":113},{"style":112},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[114],{"type":50,"value":115},"r",{"type":45,"tag":77,"props":117,"children":118},{"style":90},[119],{"type":50,"value":120},">",{"type":45,"tag":77,"props":122,"children":123},{"style":90},[124],{"type":50,"value":125}," &&",{"type":45,"tag":77,"props":127,"children":129},{"style":128},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[130],{"type":50,"value":131}," bun",{"type":45,"tag":77,"props":133,"children":134},{"style":96},[135],{"type":50,"value":136}," install\n",{"type":45,"tag":52,"props":138,"children":139},{},[140,142,151,153,159,161,168,170,176],{"type":50,"value":141},"This pulls ",{"type":45,"tag":143,"props":144,"children":148},"a",{"href":145,"rel":146},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@llamaindex\u002Fliteparse",[147],"nofollow",[149],{"type":50,"value":150},"liteparse",{"type":50,"value":152}," (the ",{"type":45,"tag":73,"props":154,"children":156},{"className":155},[],[157],{"type":50,"value":158},"lit",{"type":50,"value":160}," bin, used for PDF\u002FDOCX\u002FXLSX\u002FPPTX, OCR included) and ",{"type":45,"tag":143,"props":162,"children":165},{"href":163,"rel":164},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Frtf-to-text",[147],[166],{"type":50,"value":167},"rtf-to-text",{"type":50,"value":169}," (RTF). Without it, PDFs still work via a ",{"type":45,"tag":73,"props":171,"children":173},{"className":172},[],[174],{"type":50,"value":175},"pdftotext -layout",{"type":50,"value":177}," fallback if poppler is installed; other binary formats require liteparse.",{"type":45,"tag":58,"props":179,"children":181},{"id":180},"use",[182],{"type":50,"value":183},"Use",{"type":45,"tag":65,"props":185,"children":187},{"className":67,"code":186,"language":69,"meta":70,"style":70},"bun \u003Cthis skill dir>\u002Fscripts\u002Fextract.ts \u003Cinput-file> [--content-type \u003Cmime>]\n",[188],{"type":45,"tag":73,"props":189,"children":190},{"__ignoreMap":70},[191],{"type":45,"tag":77,"props":192,"children":193},{"class":79,"line":80},[194,199,203,207,211,215,219,223,228,232,237,242,246,251,256,261,265,269],{"type":45,"tag":77,"props":195,"children":196},{"style":128},[197],{"type":50,"value":198},"bun",{"type":45,"tag":77,"props":200,"children":201},{"style":90},[202],{"type":50,"value":93},{"type":45,"tag":77,"props":204,"children":205},{"style":96},[206],{"type":50,"value":99},{"type":45,"tag":77,"props":208,"children":209},{"style":96},[210],{"type":50,"value":104},{"type":45,"tag":77,"props":212,"children":213},{"style":96},[214],{"type":50,"value":109},{"type":45,"tag":77,"props":216,"children":217},{"style":112},[218],{"type":50,"value":115},{"type":45,"tag":77,"props":220,"children":221},{"style":90},[222],{"type":50,"value":120},{"type":45,"tag":77,"props":224,"children":225},{"style":96},[226],{"type":50,"value":227},"\u002Fscripts\u002Fextract.ts",{"type":45,"tag":77,"props":229,"children":230},{"style":90},[231],{"type":50,"value":93},{"type":45,"tag":77,"props":233,"children":234},{"style":96},[235],{"type":50,"value":236},"input-fil",{"type":45,"tag":77,"props":238,"children":239},{"style":112},[240],{"type":50,"value":241},"e",{"type":45,"tag":77,"props":243,"children":244},{"style":90},[245],{"type":50,"value":120},{"type":45,"tag":77,"props":247,"children":248},{"style":112},[249],{"type":50,"value":250}," [--content-type ",{"type":45,"tag":77,"props":252,"children":253},{"style":90},[254],{"type":50,"value":255},"\u003C",{"type":45,"tag":77,"props":257,"children":258},{"style":96},[259],{"type":50,"value":260},"mim",{"type":45,"tag":77,"props":262,"children":263},{"style":112},[264],{"type":50,"value":241},{"type":45,"tag":77,"props":266,"children":267},{"style":90},[268],{"type":50,"value":120},{"type":45,"tag":77,"props":270,"children":271},{"style":96},[272],{"type":50,"value":273},"]\n",{"type":45,"tag":52,"props":275,"children":276},{},[277],{"type":50,"value":278},"Output on stdout:",{"type":45,"tag":65,"props":280,"children":284},{"className":281,"code":282,"language":283,"meta":70,"style":70},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{ \"text\": \"...\", \"method\": \"liteparse | pdftotext | rtf-to-text | passthrough\", \"pages\": 12 }\n","json",[285],{"type":45,"tag":73,"props":286,"children":287},{"__ignoreMap":70},[288],{"type":45,"tag":77,"props":289,"children":290},{"class":79,"line":80},[291,296,301,306,311,316,320,325,329,334,338,343,347,351,355,360,364,368,372,377,381,385,391],{"type":45,"tag":77,"props":292,"children":293},{"style":90},[294],{"type":50,"value":295},"{",{"type":45,"tag":77,"props":297,"children":298},{"style":90},[299],{"type":50,"value":300}," \"",{"type":45,"tag":77,"props":302,"children":304},{"style":303},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[305],{"type":50,"value":50},{"type":45,"tag":77,"props":307,"children":308},{"style":90},[309],{"type":50,"value":310},"\"",{"type":45,"tag":77,"props":312,"children":313},{"style":90},[314],{"type":50,"value":315},":",{"type":45,"tag":77,"props":317,"children":318},{"style":90},[319],{"type":50,"value":300},{"type":45,"tag":77,"props":321,"children":322},{"style":96},[323],{"type":50,"value":324},"...",{"type":45,"tag":77,"props":326,"children":327},{"style":90},[328],{"type":50,"value":310},{"type":45,"tag":77,"props":330,"children":331},{"style":90},[332],{"type":50,"value":333},",",{"type":45,"tag":77,"props":335,"children":336},{"style":90},[337],{"type":50,"value":300},{"type":45,"tag":77,"props":339,"children":340},{"style":303},[341],{"type":50,"value":342},"method",{"type":45,"tag":77,"props":344,"children":345},{"style":90},[346],{"type":50,"value":310},{"type":45,"tag":77,"props":348,"children":349},{"style":90},[350],{"type":50,"value":315},{"type":45,"tag":77,"props":352,"children":353},{"style":90},[354],{"type":50,"value":300},{"type":45,"tag":77,"props":356,"children":357},{"style":96},[358],{"type":50,"value":359},"liteparse | pdftotext | rtf-to-text | passthrough",{"type":45,"tag":77,"props":361,"children":362},{"style":90},[363],{"type":50,"value":310},{"type":45,"tag":77,"props":365,"children":366},{"style":90},[367],{"type":50,"value":333},{"type":45,"tag":77,"props":369,"children":370},{"style":90},[371],{"type":50,"value":300},{"type":45,"tag":77,"props":373,"children":374},{"style":303},[375],{"type":50,"value":376},"pages",{"type":45,"tag":77,"props":378,"children":379},{"style":90},[380],{"type":50,"value":310},{"type":45,"tag":77,"props":382,"children":383},{"style":90},[384],{"type":50,"value":315},{"type":45,"tag":77,"props":386,"children":388},{"style":387},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[389],{"type":50,"value":390}," 12",{"type":45,"tag":77,"props":392,"children":393},{"style":90},[394],{"type":50,"value":395}," }\n",{"type":45,"tag":397,"props":398,"children":399},"ul",{},[400,419,429,439,468],{"type":45,"tag":401,"props":402,"children":403},"li",{},[404,409,411,417],{"type":45,"tag":73,"props":405,"children":407},{"className":406},[],[408],{"type":50,"value":50},{"type":50,"value":410}," is page-anchored for paged formats: ",{"type":45,"tag":73,"props":412,"children":414},{"className":413},[],[415],{"type":50,"value":416},"=== [page N] ===",{"type":50,"value":418}," markers between pages.",{"type":45,"tag":401,"props":420,"children":421},{},[422,427],{"type":45,"tag":73,"props":423,"children":425},{"className":424},[],[426],{"type":50,"value":376},{"type":50,"value":428}," is present when page markers exist.",{"type":45,"tag":401,"props":430,"children":431},{},[432,437],{"type":45,"tag":73,"props":433,"children":435},{"className":434},[],[436],{"type":50,"value":342},{"type":50,"value":438}," is the extractor that actually produced the text.",{"type":45,"tag":401,"props":440,"children":441},{},[442,444,450,452,458,460,466],{"type":50,"value":443},"Format is taken from the file extension; pass ",{"type":45,"tag":73,"props":445,"children":447},{"className":446},[],[448],{"type":50,"value":449},"--content-type",{"type":50,"value":451}," (e.g. ",{"type":45,"tag":73,"props":453,"children":455},{"className":454},[],[456],{"type":50,"value":457},"application\u002Fpdf",{"type":50,"value":459},") when the file has no useful extension, as with downloaded EHR attachments. Note liteparse refuses extension-less files, so those PDFs go through the ",{"type":45,"tag":73,"props":461,"children":463},{"className":462},[],[464],{"type":50,"value":465},"pdftotext",{"type":50,"value":467}," fallback.",{"type":45,"tag":401,"props":469,"children":470},{},[471,473,479],{"type":50,"value":472},"Errors print ",{"type":45,"tag":73,"props":474,"children":476},{"className":475},[],[477],{"type":50,"value":478},"{\"error\": \"...\"}",{"type":50,"value":480}," to stderr and exit 1.",{"type":45,"tag":58,"props":482,"children":484},{"id":483},"table-caveat",[485],{"type":50,"value":486},"Table caveat",{"type":45,"tag":52,"props":488,"children":489},{},[490,492,497,499,504],{"type":50,"value":491},"Tables with multiple value columns (option A vs option B, in-tier vs out-of-tier) can interleave columns line-by-line in the extracted text: fragments of adjacent cells alternate, and a cell's text can even land mid-sentence inside a neighboring column. Values usually survive, but which column a value belongs to can become ambiguous. When an answer comes from one column of a multi-column table and the document has no redundant restatement of the value elsewhere, verify it by reading the original page directly before treating it as ground truth. The extracted text's ",{"type":45,"tag":73,"props":493,"children":495},{"className":494},[],[496],{"type":50,"value":416},{"type":50,"value":498}," anchor tells you which page: pass it to the Read tool's ",{"type":45,"tag":73,"props":500,"children":502},{"className":501},[],[503],{"type":50,"value":376},{"type":50,"value":505}," parameter (e.g. pages: \"37\") to render just that page to vision instead of the whole document.",{"type":45,"tag":58,"props":507,"children":509},{"id":508},"for-other-skills",[510],{"type":50,"value":511},"For other skills",{"type":45,"tag":52,"props":513,"children":514},{},[515],{"type":50,"value":516},"Import the functions instead of shelling out when you're already in bun TS:",{"type":45,"tag":65,"props":518,"children":522},{"className":519,"code":520,"language":521,"meta":70,"style":70},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { extract, resolveLit } from \"..\u002Fdoc-extract\u002Fscripts\u002Fextract\";\nconst lit = resolveLit([myRoot]); \u002F\u002F also checks myRoot\u002Fnode_modules\u002F.bin\u002Flit\nconst text = extract(lit, \"\u002Fpath\u002Fto\u002Ffile.pdf\"); \u002F\u002F string | null\n","ts",[523],{"type":45,"tag":73,"props":524,"children":525},{"__ignoreMap":70},[526,582,621],{"type":45,"tag":77,"props":527,"children":528},{"class":79,"line":80},[529,535,540,545,549,554,559,564,568,573,577],{"type":45,"tag":77,"props":530,"children":532},{"style":531},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[533],{"type":50,"value":534},"import",{"type":45,"tag":77,"props":536,"children":537},{"style":90},[538],{"type":50,"value":539}," {",{"type":45,"tag":77,"props":541,"children":542},{"style":112},[543],{"type":50,"value":544}," extract",{"type":45,"tag":77,"props":546,"children":547},{"style":90},[548],{"type":50,"value":333},{"type":45,"tag":77,"props":550,"children":551},{"style":112},[552],{"type":50,"value":553}," resolveLit",{"type":45,"tag":77,"props":555,"children":556},{"style":90},[557],{"type":50,"value":558}," }",{"type":45,"tag":77,"props":560,"children":561},{"style":531},[562],{"type":50,"value":563}," from",{"type":45,"tag":77,"props":565,"children":566},{"style":90},[567],{"type":50,"value":300},{"type":45,"tag":77,"props":569,"children":570},{"style":96},[571],{"type":50,"value":572},"..\u002Fdoc-extract\u002Fscripts\u002Fextract",{"type":45,"tag":77,"props":574,"children":575},{"style":90},[576],{"type":50,"value":310},{"type":45,"tag":77,"props":578,"children":579},{"style":90},[580],{"type":50,"value":581},";\n",{"type":45,"tag":77,"props":583,"children":585},{"class":79,"line":584},2,[586,591,596,601,605,610,615],{"type":45,"tag":77,"props":587,"children":588},{"style":303},[589],{"type":50,"value":590},"const",{"type":45,"tag":77,"props":592,"children":593},{"style":112},[594],{"type":50,"value":595}," lit ",{"type":45,"tag":77,"props":597,"children":598},{"style":90},[599],{"type":50,"value":600},"=",{"type":45,"tag":77,"props":602,"children":603},{"style":84},[604],{"type":50,"value":553},{"type":45,"tag":77,"props":606,"children":607},{"style":112},[608],{"type":50,"value":609},"([myRoot])",{"type":45,"tag":77,"props":611,"children":612},{"style":90},[613],{"type":50,"value":614},";",{"type":45,"tag":77,"props":616,"children":618},{"style":617},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[619],{"type":50,"value":620}," \u002F\u002F also checks myRoot\u002Fnode_modules\u002F.bin\u002Flit\n",{"type":45,"tag":77,"props":622,"children":624},{"class":79,"line":623},3,[625,629,634,638,642,647,651,655,660,664,669,673],{"type":45,"tag":77,"props":626,"children":627},{"style":303},[628],{"type":50,"value":590},{"type":45,"tag":77,"props":630,"children":631},{"style":112},[632],{"type":50,"value":633}," text ",{"type":45,"tag":77,"props":635,"children":636},{"style":90},[637],{"type":50,"value":600},{"type":45,"tag":77,"props":639,"children":640},{"style":84},[641],{"type":50,"value":544},{"type":45,"tag":77,"props":643,"children":644},{"style":112},[645],{"type":50,"value":646},"(lit",{"type":45,"tag":77,"props":648,"children":649},{"style":90},[650],{"type":50,"value":333},{"type":45,"tag":77,"props":652,"children":653},{"style":90},[654],{"type":50,"value":300},{"type":45,"tag":77,"props":656,"children":657},{"style":96},[658],{"type":50,"value":659},"\u002Fpath\u002Fto\u002Ffile.pdf",{"type":45,"tag":77,"props":661,"children":662},{"style":90},[663],{"type":50,"value":310},{"type":45,"tag":77,"props":665,"children":666},{"style":112},[667],{"type":50,"value":668},")",{"type":45,"tag":77,"props":670,"children":671},{"style":90},[672],{"type":50,"value":614},{"type":45,"tag":77,"props":674,"children":675},{"style":617},[676],{"type":50,"value":677}," \u002F\u002F string | null\n",{"type":45,"tag":52,"props":679,"children":680},{},[681],{"type":50,"value":682},"The contracts skill consumes it this way (its ingest caching stays on the contracts side).",{"type":45,"tag":684,"props":685,"children":686},"style",{},[687],{"type":50,"value":688},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":690,"total":787},[691,704,720,728,744,755,772],{"slug":692,"name":692,"fn":693,"description":694,"org":695,"tags":696,"stars":29,"repoUrl":30,"updatedAt":703},"clinical-note-extract-skill","extract structured data from clinical notes","Extract structured data from clinical notes with span-level provenance and null-safety. Use when users say \"extract [variables] from this note\", \"abstract this chart\", \"pull structured data from these notes\", \"what does this note say about [field]\", or when building a chart-abstraction, registry, or cohort dataset from unstructured clinical text.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[697,700],{"name":698,"slug":699,"type":16},"Data Analysis","data-analysis",{"name":701,"slug":702,"type":16},"Healthcare","healthcare","2026-06-28T07:57:18.332447",{"slug":705,"name":705,"fn":706,"description":707,"org":708,"tags":709,"stars":29,"repoUrl":30,"updatedAt":719},"contracts","analyze contract documents with citations","Answer a question across a corpus of contract documents with verified citations. Use when the user asks what a contract says, which contracts have a clause, what changed between amendments, or any question that needs reading and citing across a set of contract files. The corpus must be on the local filesystem (see README).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[710,712,713,716],{"name":711,"slug":705,"type":16},"Contracts",{"name":21,"slug":22,"type":16},{"name":714,"slug":715,"type":16},"Legal","legal",{"name":717,"slug":718,"type":16},"Research","research","2026-07-18T05:15:17.073689",{"slug":4,"name":4,"fn":5,"description":6,"org":721,"tags":722,"stars":29,"repoUrl":30,"updatedAt":31},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[723,724,725,726,727],{"name":24,"slug":25,"type":16},{"name":21,"slug":22,"type":16},{"name":27,"slug":28,"type":16},{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16},{"slug":729,"name":729,"fn":730,"description":731,"org":732,"tags":733,"stars":29,"repoUrl":30,"updatedAt":743},"fhir","extract clinical data from FHIR servers","Connect to a hospital's FHIR R4 server (Epic, Oracle Health\u002FCerner, MEDITECH, athenahealth, or any SMART-on-FHIR endpoint), pull a patient's clinical data and notes, and extract structured findings. Use when users say \"connect to the EHR\", \"connect to Epic\u002FCerner\", \"pull notes for patient X\", \"what do the last 6 months of notes say about Y\", or any task that starts from a live EHR rather than pasted text.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[734,737,739,740],{"name":735,"slug":736,"type":16},"API Development","api-development",{"name":738,"slug":729,"type":16},"FHIR",{"name":701,"slug":702,"type":16},{"name":741,"slug":742,"type":16},"Interoperability","interoperability","2026-07-03T16:28:01.476883",{"slug":745,"name":745,"fn":746,"description":747,"org":748,"tags":749,"stars":29,"repoUrl":30,"updatedAt":754},"fhir-developer-skill","build FHIR REST healthcare endpoints","FHIR API development guide for building healthcare endpoints. Use when: (1) Creating FHIR REST endpoints (Patient, Observation, Encounter, Condition, MedicationRequest), (2) Validating FHIR resources and returning proper HTTP status codes and error responses, (3) Implementing SMART on FHIR authorization and OAuth scopes, (4) Working with Bundles, transactions, batch operations, or search pagination. Covers FHIR R4 resource structures, required fields, value sets (status codes, gender, intent), coding systems (LOINC, SNOMED, RxNorm, ICD-10), and OperationOutcome error handling.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[750,751,752,753],{"name":735,"slug":736,"type":16},{"name":738,"slug":729,"type":16},{"name":701,"slug":702,"type":16},{"name":741,"slug":742,"type":16},"2026-06-16T09:39:06.471928",{"slug":756,"name":756,"fn":757,"description":758,"org":759,"tags":760,"stars":29,"repoUrl":30,"updatedAt":771},"fraud-detection","detect fraud in healthcare claims","Screen a Medicare\u002FMedicaid claims corpus for fraud, waste, and abuse and produce ranked, fully-cited investigation referrals for an SIU \u002F program-integrity team. Use when asked to run a fraud sweep, screen claims for FWA, find billing anomalies, or generate investigation referrals over a claims dataset.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[761,764,767,768],{"name":762,"slug":763,"type":16},"Audit","audit",{"name":765,"slug":766,"type":16},"Compliance","compliance",{"name":701,"slug":702,"type":16},{"name":769,"slug":770,"type":16},"Insurance","insurance","2026-06-26T07:50:49.129616",{"slug":773,"name":773,"fn":774,"description":775,"org":776,"tags":777,"stars":29,"repoUrl":30,"updatedAt":786},"icd10-cm-skill","extract ICD-10-CM diagnosis codes","Extract billable ICD-10-CM diagnosis codes from a clinical note the way a professional coder builds the claim. Use when users say \"code this encounter\", \"assign ICD-10 codes\", \"what diagnosis codes apply\", \"code this chart\", or when turning clinical documentation into claim-ready diagnosis codes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[778,781,782,783],{"name":779,"slug":780,"type":16},"Coding","coding",{"name":701,"slug":702,"type":16},{"name":769,"slug":770,"type":16},{"name":784,"slug":785,"type":16},"Medical Necessity","medical-necessity","2026-06-19T09:34:31.578353",9,{"items":789,"total":968},[790,811,825,835,854,867,884,904,918,931,939,952],{"slug":791,"name":791,"fn":792,"description":793,"org":794,"tags":795,"stars":808,"repoUrl":809,"updatedAt":810},"algorithmic-art","create algorithmic art with p5.js","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[796,799,802,805],{"name":797,"slug":798,"type":16},"Creative","creative",{"name":800,"slug":801,"type":16},"Design","design",{"name":803,"slug":804,"type":16},"Generative Art","generative-art",{"name":806,"slug":807,"type":16},"JavaScript","javascript",161831,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fskills","2026-04-06T17:56:15.455818",{"slug":812,"name":812,"fn":813,"description":814,"org":815,"tags":816,"stars":808,"repoUrl":809,"updatedAt":824},"brand-guidelines","apply Anthropic brand colors and typography","Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[817,820,821],{"name":818,"slug":819,"type":16},"Branding","branding",{"name":800,"slug":801,"type":16},{"name":822,"slug":823,"type":16},"Typography","typography","2026-04-06T17:56:05.042852",{"slug":826,"name":826,"fn":827,"description":828,"org":829,"tags":830,"stars":808,"repoUrl":809,"updatedAt":834},"canvas-design","create posters and visual art as PNG or PDF","Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[831,832,833],{"name":797,"slug":798,"type":16},{"name":800,"slug":801,"type":16},{"name":14,"slug":15,"type":16},"2026-04-06T17:56:03.794732",{"slug":836,"name":836,"fn":837,"description":838,"org":839,"tags":840,"stars":808,"repoUrl":809,"updatedAt":853},"claude-api","build apps with the Claude API","Reference for the Claude API \u002F Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration.\nTRIGGER — read BEFORE opening the target file; don't skip because it \"looks like a one-liner\" — whenever: the prompt names Claude\u002FAnthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing\u002Fmodel choice\u002Flimits\u002Fcaching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent\u002FMCP\u002Ftool-definition\u002Fmulti-agent\u002FRAG\u002FLLM-judge\u002Fcomputer-use; generate\u002Fsummarize\u002Fextract\u002Fclassify\u002Frewrite\u002Fconverse over NL; debugging refusals\u002Fcutoffs\u002Fstreaming\u002Ftool-calls\u002Ftokens).\nSKIP only when another provider is being worked on (overrides all triggers): OpenAI\u002FGPT\u002FGemini\u002FLlama\u002FMistral\u002FCohere\u002FOllama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[841,844,845,848,850],{"name":842,"slug":843,"type":16},"Agents","agents",{"name":9,"slug":8,"type":16},{"name":846,"slug":847,"type":16},"Anthropic SDK","anthropic-sdk",{"name":849,"slug":836,"type":16},"Claude API",{"name":851,"slug":852,"type":16},"LLM","llm","2026-07-28T05:36:08.213335",{"slug":855,"name":855,"fn":856,"description":857,"org":858,"tags":859,"stars":808,"repoUrl":809,"updatedAt":866},"doc-coauthoring","co-author documentation and technical specs","Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[860,863],{"name":861,"slug":862,"type":16},"Documentation","documentation",{"name":864,"slug":865,"type":16},"Technical Writing","technical-writing","2026-04-06T17:56:14.18897",{"slug":28,"name":28,"fn":868,"description":869,"org":870,"tags":871,"stars":808,"repoUrl":809,"updatedAt":883},"create and edit Word documents","Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[872,873,874,877,880],{"name":21,"slug":22,"type":16},{"name":27,"slug":28,"type":16},{"name":875,"slug":876,"type":16},"Office","office",{"name":878,"slug":879,"type":16},"Templates","templates",{"name":881,"slug":882,"type":16},"Word","word","2026-07-18T05:16:23.136271",{"slug":885,"name":885,"fn":886,"description":887,"org":888,"tags":889,"stars":808,"repoUrl":809,"updatedAt":903},"frontend-design","design production-grade frontend interfaces","Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[890,891,894,897,900],{"name":800,"slug":801,"type":16},{"name":892,"slug":893,"type":16},"Frontend","frontend",{"name":895,"slug":896,"type":16},"React","react",{"name":898,"slug":899,"type":16},"Tailwind CSS","tailwind-css",{"name":901,"slug":902,"type":16},"UI Components","ui-components","2026-04-06T17:56:16.723469",{"slug":905,"name":905,"fn":906,"description":907,"org":908,"tags":909,"stars":808,"repoUrl":809,"updatedAt":917},"internal-comms","write internal company communications","A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[910,913,914],{"name":911,"slug":912,"type":16},"Communications","communications",{"name":878,"slug":879,"type":16},{"name":915,"slug":916,"type":16},"Writing","writing","2026-04-06T17:56:20.695522",{"slug":919,"name":919,"fn":920,"description":921,"org":922,"tags":923,"stars":808,"repoUrl":809,"updatedAt":930},"mcp-builder","build MCP servers","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node\u002FTypeScript (MCP SDK).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[924,925,926,927],{"name":842,"slug":843,"type":16},{"name":735,"slug":736,"type":16},{"name":851,"slug":852,"type":16},{"name":928,"slug":929,"type":16},"MCP","mcp","2026-04-06T17:56:10.357665",{"slug":15,"name":15,"fn":932,"description":933,"org":934,"tags":935,"stars":808,"repoUrl":809,"updatedAt":938},"read edit and manipulate PDF files","Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text\u002Ftables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting\u002Fdecrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[936,937],{"name":21,"slug":22,"type":16},{"name":14,"slug":15,"type":16},"2026-04-06T17:56:02.483316",{"slug":940,"name":940,"fn":941,"description":942,"org":943,"tags":944,"stars":808,"repoUrl":809,"updatedAt":951},"pptx","create and edit PowerPoint presentations","Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[945,948],{"name":946,"slug":947,"type":16},"PowerPoint","powerpoint",{"name":949,"slug":950,"type":16},"Presentations","presentations","2026-07-18T05:16:24.1471",{"slug":953,"name":953,"fn":954,"description":955,"org":956,"tags":957,"stars":808,"repoUrl":809,"updatedAt":967},"skill-creator","create and optimize agent skills","Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[958,959,960,963,966],{"name":842,"slug":843,"type":16},{"name":861,"slug":862,"type":16},{"name":961,"slug":962,"type":16},"Evals","evals",{"name":964,"slug":965,"type":16},"Performance","performance",{"name":864,"slug":865,"type":16},"2026-04-19T06:45:40.804",490]