clinical-nlp-extractor
clinical-nlp-extractor,来自 FreedomIntelligence/OpenClaw-Medical-Skills 的 agent 技能。
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
<!--
COPYRIGHT NOTICE
This file is part of the "Universal Biomedical Skills" project.
Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>
All Rights Reserved.
#
This code is proprietary and confidential.
Unauthorized copying of this file, via any medium is strictly prohibited.
#
Provenance: Authenticated by MD BABU MIA
-->
name: 'clinical-nlp-extractor'
description: 'Extracts medical entities (Diseases, Medications, Procedures) from unstructured clinical text using regex and simple rules (or LLM wrappers).'
measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.
allowed-tools:
- read_file
- run_shell_command
Clinical NLP Entity Extractor
The Clinical NLP Skill converts free-text clinical notes into structured data. It identifies key medical entities like problems/diagnoses, medications, and procedures.
When to Use This Skill
- When analyzing unstructured EHR notes.
- To populate a patient's problem list or medication reconciliation.
- To de-identify text (phi-removal) - Basic version.
Core Capabilities
- NER (Named Entity Recognition): Extracts Problems, Drugs, Procedures.
- Negation Detection: (Basic) Checks if a finding is denied ("No fever").
- Structuring: Returns JSON format compatible with FHIR/USDL.
Workflow
- Input: A string of clinical text or a text file.
- Process: Tokenizes and matches against patterns/dictionaries.
- Output: JSON list of entities with spans and types.
Example Usage
User: "Extract entities from this note."
Agent Action:
python3 Skills/Clinical/Clinical_NLP/entity_extractor.py \
--text "Patient has diabetes type 2. Prescribed Metformin 500mg. No chest pain." \
--output entities.json
<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
skills/clinical-nlp-extractor/SKILL.md