[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMJJHWKZS3EMFT3QVAFK8Z":3,"skill-same:01M7EMJJHWKZS3EMFT3QVAFK8Z":47},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EMJJHWKZS3EMFT3QVAFK8Z","clinical-notes-nlp",null,"NLP on clinical text — de-identification, concept extraction, phenotyping from notes, and LLM safety guardrails.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-clinical-notes-nlp\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: clinical-notes-nlp\ndescription: NLP on clinical text — de-identification, concept extraction, phenotyping from notes, and LLM safety guardrails.\ncategory: scientific\n---\n\n## Overview\n\nclinical-notes-nlp covers natural language processing of clinical documentation: discharge\nsummaries, progress notes, radiology reports, nursing notes. It spans de-identification,\nmedical concept extraction (UMLS\u002FcTAKES\u002FMedCAT), note-based phenotyping, and the special\ncaution required when applying large language models to clinical text — where hallucinations\ncan become chart entries.\n\nClinical notes are the richest and messiest EHR data: telegraphic, abbreviation-dense,\ncopy-pasted, and full of implicit context. Standard NLP pipelines underperform until adapted.\n\n## When to use\n\n- De-identifying clinical text for research (HIPAA Safe Harbor, surrogate replacement).\n- Extracting concepts: diagnoses, medications, procedures, symptoms with negation\u002Ftemporality.\n- Note-based phenotyping: combining notes with structured data for case definitions.\n- Information extraction: tumor staging from pathology reports, ejection fraction from echo\n  reports, social determinants from notes.\n- Evaluating LLMs for summarization or documentation assistance with safety guardrails.\n- Measuring documentation quality: copy-paste detection, note bloat.\n\n## Core concepts\n\n- **De-identification.** HIPAA Safe Harbor: remove 18 identifier categories (names, dates\n  except year, locations, contact info, MRNs...). Automated tools (Philter, de-identification\n  modules) miss edge cases — validate on samples, especially dates in narrative text and\n  clinician names in signatures. Surrogate replacement (realistic fake names\u002Fdates) preserves\n  readability better than redaction tags.\n- **Clinical sublanguage.** Notes use heavy abbreviation (\"pt c\u002Fo SOB, r\u002Fo PE\"), telegraphic\n  syntax, and institution-specific shorthand. Off-the-shelf NLP models trained on news\u002Fwikipedia\n  fail; use clinical models (ClinicalBERT, GatorTron) or rule-based clinical pipelines, and\n  build an abbreviation dictionary per site.\n- **Negation and uncertainty.** \"No evidence of pneumonia,\" \"possible PE,\" \"family history of\n  MI\" — concept extraction without negation\u002Ftemporality\u002Fsubject detection (NegEx\u002FConText\n  algorithms) produces garbage phenotypes. Every extracted concept needs: negated? historical?\n  about the patient or family? uncertain?\n- **Concept normalization.** Map mentions to standard vocabularies (UMLS CUIs, SNOMED CT, RxNorm\n  for meds). Tools: cTAKES, MetaMap, MedCAT (which learns site-specific embeddings). Ambiguity\n  (\"cold\" = temperature vs viral illness) needs context-aware disambiguation.\n- **Copy-paste and note bloat.** Cloned text propagates errors and inflates concept counts.\n  Detect duplication (text similarity across notes); for phenotyping, deduplicate or down-weight\n  repeated content — otherwise one copied problem list counts ten times.\n- **Phenotyping from notes.** Notes capture what codes miss (symptoms, severity, social\n  context). Best practice: combine structured + NLP features, validate against chart review,\n  report PPV\u002Fsensitivity. Note-only phenotypes inherit documentation bias (what clinicians\n  bother to write).\n- **LLMs on clinical text.** Useful for summarization and first-draft documentation, dangerous\n  as autonomous extractors. Guardrails: human-in-the-loop for anything entering the chart,\n  grounded extraction (every claim traceable to source text spans), hallucination testing on\n  adversarial cases, and no PHI in prompts to external APIs without a BAA. An LLM summarizing a\n  chart must never invent allergies, doses, or code statuses.\n- **Evaluation.** Intrinsic (precision\u002Frecall\u002FF1 on annotated spans — annotate with dual\n  reviewers and adjudication, report inter-annotator agreement) and extrinsic (does the\n  phenotype predict what it should?). Report both.\n\n## Practical workflow\n\n1. **Governance.** IRB, de-identification plan, BAA for any external compute. Notes are the most\n   sensitive EHR data — treat them accordingly.\n2. **Corpus.** Define note types and time windows; sample representatively; de-identify with\n   validated tooling.\n3. **Annotate.** Guidelines, dual annotation, adjudication, IAA reporting (F1 or kappa on spans).\n   Budget more time than expected — clinical annotation is slow.\n4. **Extract.** Pipeline: section detection → sentence splitting → concept extraction →\n   negation\u002Ftemporality\u002Fsubject → normalization. Validate each stage.\n5. **Phenotype.** Combine with structured data; validate against chart review; report PPV,\n   sensitivity, and failure modes.\n6. **LLM use (if any).** Grounded prompts, human review of outputs, hallucination audits, PHI\n   controls. Document the human-in-the-loop design.\n7. **Monitor.** Documentation practices drift (new templates, scribes, ambient AI); revalidate\n   periodically.\n\nExample (Python sketch):\n```python\nfrom medcat import CAT\ncat = CAT.load_model_pack(\"umls_model_pack.zip\")\ndoc = cat(doc_text)  # entities with CUIs, negation, temporality metadata\n```\n\n## Common pitfalls\n\n- Off-the-shelf NLP without clinical adaptation (abbreviation soup defeats it).\n- Concept extraction without negation detection (\"no MI\" counted as MI).\n- Copy-pasted text inflating phenotype counts.\n- De-identification validated on easy cases, failing on narrative dates\u002Fnames.\n- LLM hallucinations entering clinical documentation or research phenotypes unchecked.\n- PHI sent to external LLM APIs without authorization.\n- Single-annotator \"gold standards\" with no agreement reporting.\n","## Overview\n\nclinical-notes-nlp covers natural language processing of clinical documentation: discharge\nsummaries, progress notes, radiology reports, nursing notes. It spans de-identification,\nmedical concept extraction (UMLS\u002FcTAKES\u002FMedCAT), note-based phenotyping, and the special\ncaution required when applying large language models to clinical text — where hallucinations\ncan become chart entries.\n\nClinical notes are the richest and messiest EHR data: telegraphic, abbreviation-dense,\ncopy-pasted, and full of implicit context. Standard NLP pipelines underperform until adapted.\n\n## When to use\n\n- De-identifying clinical text for research (HIPAA Safe Harbor, surrogate replacement).\n- Extracting concepts: diagnoses, medications, procedures, symptoms with negation\u002Ftemporality.\n- Note-based phenotyping: combining notes with structured data for case definitions.\n- Information extraction: tumor staging from pathology reports, ejection fraction from echo\n  reports, social determinants from notes.\n- Evaluating LLMs for summarization or documentation assistance with safety guardrails.\n- Measuring documentation quality: copy-paste detection, note bloat.\n\n## Core concepts\n\n- **De-identification.** HIPAA Safe Harbor: remove 18 identifier categories (names, dates\n  except year, locations, contact info, MRNs...). Automated tools (Philter, de-identification\n  modules) miss edge cases — validate on samples, especially dates in narrative text and\n  clinician names in signatures. Surrogate replacement (realistic fake names\u002Fdates) preserves\n  readability better than redaction tags.\n- **Clinical sublanguage.** Notes use heavy abbreviation (\"pt c\u002Fo SOB, r\u002Fo PE\"), telegraphic\n  syntax, and institution-specific shorthand. Off-the-shelf NLP models trained on news\u002Fwikipedia\n  fail; use clinical models (ClinicalBERT, GatorTron) or rule-based clinical pipelines, and\n  build an abbreviation dictionary per site.\n- **Negation and uncertainty.** \"No evidence of pneumonia,\" \"possible PE,\" \"family history of\n  MI\" — concept extraction without negation\u002Ftemporality\u002Fsubject detection (NegEx\u002FConText\n  algorithms) produces garbage phenotypes. Every extracted concept needs: negated? historical?\n  about the patient or family? uncertain?\n- **Concept normalization.** Map mentions to standard vocabularies (UMLS CUIs, SNOMED CT, RxNorm\n  for meds). Tools: cTAKES, MetaMap, MedCAT (which learns site-specific embeddings). Ambiguity\n  (\"cold\" = temperature vs viral illness) needs context-aware disambiguation.\n- **Copy-paste and note bloat.** Cloned text propagates errors and inflates concept counts.\n  Detect duplication (text similarity across notes); for phenotyping, deduplicate or down-weight\n  repeated content — otherwise one copied problem list counts ten times.\n- **Phenotyping from notes.** Notes capture what codes miss (symptoms, severity, social\n  context). Best practice: combine structured + NLP features, validate against chart review,\n  report PPV\u002Fsensitivity. Note-only phenotypes inherit documentation bias (what clinicians\n  bother to write).\n- **LLMs on clinical text.** Useful for summarization and first-draft documentation, dangerous\n  as autonomous extractors. Guardrails: human-in-the-loop for anything entering the chart,\n  grounded extraction (every claim traceable to source text spans), hallucination testing on\n  adversarial cases, and no PHI in prompts to external APIs without a BAA. An LLM summarizing a\n  chart must never invent allergies, doses, or code statuses.\n- **Evaluation.** Intrinsic (precision\u002Frecall\u002FF1 on annotated spans — annotate with dual\n  reviewers and adjudication, report inter-annotator agreement) and extrinsic (does the\n  phenotype predict what it should?). Report both.\n\n## Practical workflow\n\n1. **Governance.** IRB, de-identification plan, BAA for any external compute. Notes are the most\n   sensitive EHR data — treat them accordingly.\n2. **Corpus.** Define note types and time windows; sample representatively; de-identify with\n   validated tooling.\n3. **Annotate.** Guidelines, dual annotation, adjudication, IAA reporting (F1 or kappa on spans).\n   Budget more time than expected — clinical annotation is slow.\n4. **Extract.** Pipeline: section detection → sentence splitting → concept extraction →\n   negation\u002Ftemporality\u002Fsubject → normalization. Validate each stage.\n5. **Phenotype.** Combine with structured data; validate against chart review; report PPV,\n   sensitivity, and failure modes.\n6. **LLM use (if any).** Grounded prompts, human review of outputs, hallucination audits, PHI\n   controls. Document the human-in-the-loop design.\n7. **Monitor.** Documentation practices drift (new templates, scribes, ambient AI); revalidate\n   periodically.\n\nExample (Python sketch):\n```python\nfrom medcat import CAT\ncat = CAT.load_model_pack(\"umls_model_pack.zip\")\ndoc = cat(doc_text)  # entities with CUIs, negation, temporality metadata\n```\n\n## Common pitfalls\n\n- Off-the-shelf NLP without clinical adaptation (abbreviation soup defeats it).\n- Concept extraction without negation detection (\"no MI\" counted as MI).\n- Copy-pasted text inflating phenotype counts.\n- De-identification validated on easy cases, failing on narrative dates\u002Fnames.\n- LLM hallucinations entering clinical documentation or research phenotypes unchecked.\n- PHI sent to external LLM APIs without authorization.\n- Single-annotator \"gold standards\" with no agreement reporting.\n",{"name":5,"category":24,"description":7},"scientific","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-clinical-notes-nlp",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill clinical-notes-nlp",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill clinical-notes-nlp",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill clinical-notes-nlp","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-clinical-notes-nlp\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"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},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]