Agent skill
clinical-nlp-extractor
Extracts medical entities (Diseases, Medications, Procedures) from unstructured clinical text using regex and simple rules (or LLM wrappers).
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/clinical-nlp
Metadata
Additional technical details for this skill
- author
- AI Group
- version
- 1.0.0
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?