Agent skill

Medical Entity Extractor

by FreedomIntelligence in FreedomIntelligence/OpenClaw-Medical-Skills

Extract medical entities (symptoms, medications, lab values, diagnoses) from patient messages.

MITAuto-check passed

Install Medical Entity Extractor

skills CLI
$ npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill medical-entity-extractor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install FreedomIntelligence/OpenClaw-Medical-Skills medical-entity-extractor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/medical-entity-extractor .claude/skills/medical-entity-extractor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
medical-entity-extractor
GitHub stars
3.1k
Used in
1 other repo
Token cost
~969 tokens
SKILL.md length
218 words
Files
2
Skills in repo
279
Repo updated
First seen
Licence
MIT

At a glance

Extract medical entities (symptoms, medications, lab values, diagnoses) from patient messages.

  • Works in 6 steps: Symptom Extraction: Identifies symptoms,… → Medication Extraction: Finds medication… → Lab Value Extraction: Parses lab… → …
  • SKILL.md covers What This Skill Does, Input Format, Output Format and Entity Types, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Medical Entity Extractor is an agent skill from FreedomIntelligence/OpenClaw-Medical-Skills. Extract medical entities (symptoms, medications, lab values, diagnoses) from patient messages.

Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `_meta.json`).

The repository describes itself as: The largest open-source medical AI skills library for OpenClaw🦞. The licence is MIT.

Example prompts

  • “/medical-entity-extractor”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Symptom Extraction: Identifies symptoms, severity, duration, and progression
  2. Medication Extraction: Finds medication names, dosages, frequencies, and side effects
  3. Lab Value Extraction: Parses lab results, vital signs, and measurements
  4. Diagnosis Extraction: Identifies mentioned diagnoses and conditions
  5. Temporal Extraction: Captures when symptoms started, how long they've lasted
  6. Action Items: Identifies requested actions (appointments, refills, questions)

What it can do on your machine

Read from SKILL.md and the folder at commit b1f9b6e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json, bash and typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Medical Entity Extractor loads about 969 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 218 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~969

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from FreedomIntelligence/OpenClaw-Medical-Skills at commit b1f9b6e, republished under its MIT licence (© FreedomIntelligence). 218 words, ~969 tokens.

Download SKILL.mdSave it as .claude/skills/medical-entity-extractor/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
medical-entity-extractor
description
Extract medical entities (symptoms, medications, lab values, diagnoses) from patient messages.
license
MIT
metadata.author
NAPSTER AI
metadata.maintainer
NAPSTER AI

Medical Entity Extractor

Extract structured medical information from unstructured patient messages.

What This Skill Does

  1. Symptom Extraction: Identifies symptoms, severity, duration, and progression
  2. Medication Extraction: Finds medication names, dosages, frequencies, and side effects
  3. Lab Value Extraction: Parses lab results, vital signs, and measurements
  4. Diagnosis Extraction: Identifies mentioned diagnoses and conditions
  5. Temporal Extraction: Captures when symptoms started, how long they've lasted
  6. Action Items: Identifies requested actions (appointments, refills, questions)

Input Format

json
[
  {
    "id": "msg-123",
    "priority_score": 78,
    "priority_bucket": "P1",
    "subject": "Medication side effects",
    "from": "patient@example.com",
    "date": "2026-02-27T10:30:00Z",
    "body": "I've been feeling dizzy since starting the new blood pressure medication (Lisinopril 10mg) three days ago. My BP this morning was 145/92."
  }
]

Output Format

json
[
  {
    "id": "msg-123",
    "entities": {
      "symptoms": [
        {
          "name": "dizziness",
          "severity": "moderate",
          "duration": "3 days",
          "onset": "since starting new medication"
        }
      ],
      "medications": [
        {
          "name": "Lisinopril",
          "dosage": "10mg",
          "frequency": null,
          "context": "new medication"
        }
      ],
      "lab_values": [
        {
          "type": "blood_pressure",
          "value": "145/92",
          "unit": "mmHg",
          "timestamp": "this morning"
        }
      ],
      "diagnoses": [
        {
          "name": "hypertension",
          "context": "implied by blood pressure medication"
        }
      ],
      "action_items": [
        {
          "type": "medication_review",
          "reason": "possible side effect (dizziness)"
        }
      ]
    },
    "summary": "Patient reports dizziness after starting Lisinopril 10mg 3 days ago. BP elevated at 145/92. Possible medication side effect requiring review."
  }
]

Entity Types

Symptoms
  • Name, severity (mild/moderate/severe), duration, onset, progression (improving/stable/worsening)
Medications
  • Name, dosage, frequency, route, context (new/existing/stopped)
Lab Values
  • Type (BP, glucose, cholesterol, etc.), value, unit, timestamp, normal range
Diagnoses
  • Name, context (confirmed/suspected/ruled out)
Vital Signs
  • Temperature, heart rate, respiratory rate, oxygen saturation, blood pressure
Action Items
  • Type (appointment, refill, question, callback), urgency, reason

Medical Terminology Handling

The skill recognizes:

  • Common abbreviations (BP, HR, RR, O2 sat, etc.)
  • Brand and generic medication names
  • Lay terms for medical conditions ("sugar" → diabetes, "heart attack" → MI)
  • Temporal expressions ("since yesterday", "for the past week")

Integration

This skill can be invoked via the OpenClaw CLI:

bash
openclaw skill run medical-entity-extractor --input '[{"id":"msg-1","priority_score":78,...}]' --json

Or programmatically:

typescript
const result = await execFileAsync('openclaw', [
  'skill', 'run', 'medical-entity-extractor',
  '--input', JSON.stringify(scoredMessages),
  '--json'
]);

Recommended Model: Claude Sonnet 4.5 (openclaw models set anthropic/claude-sonnet-4-5)

Privacy & Security

  • All processing happens locally via OpenClaw
  • No data is sent to external services (except Claude API for LLM processing)
  • Extracted entities remain in your local environment

© FreedomIntelligence, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/medical-entity-extractor of FreedomIntelligence/OpenClaw-Medical-Skills.

  • SKILL.md
  • _meta.json

Open the folder on GitHubat commit b1f9b6e

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in FreedomIntelligence/OpenClaw-Medical-Skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Medical Entity Extractor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Medical Entity Extractor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Medical Entity Extractor this skillFreedomIntelligence/OpenClaw-Medical-Skills3.1k1 repos~969Automated safety check: PassMIT
Parsing Lab Valuesmaziyarpanahi/openmed5.5k—~1.6kAutomated safety check: PassApache-2.0
Drama Script Entity Extractorchatfire-AI/huobao-drama16k—~491Automated safety check: PassCustom licence
Diagnose Gatewayopenclaw/openclaw392k—~670Automated safety check: PassMIT
Diagnosegithub/awesome-copilot40k1 repos~1kAutomated safety check: PassMIT
Twenty Syncable Entity Cache and Transformtwentyhq/twenty58k—~2.4kAutomated safety check: PassCustom licence

Similar skills

  • Parsing Lab Values

    maziyarpanahi/openmed

    Parse laboratory values and reference ranges from clinical text and flag results as low, normal, high, or critical with OpenMed.

    5.5k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Drama Script Entity Extractor

    chatfire-AI/huobao-drama

    Rules for pulling characters, scenes and key props out of a short-drama episode script and saving them without duplicates, written in Chinese.

    16k GitHub stars~491 tokensUpdated 3 days ago
    Media & CreativeAuto-check passed
  • Diagnose Gateway

    openclaw/openclaw

    Diagnose Gateway, config, secrets, channels, and port failures with read-only one-liners.

    392k GitHub stars~670 tokensUpdated today
    Auto-check passed
  • Diagnose

    github/awesome-copilot

    Official

    Perform a systematic diagnostic scan of an AI workflow across 5 quality dimensions — prompt quality, context efficiency, tool health, architecture fitness, and safety — producing a scored report…

    40k GitHub starsUsed in 1 repo~1k tokens
    Agent WorkflowsAuto-check passed
  • Walks through step 2 of adding a syncable entity to the Twenty server: a cache service for flat entity maps and utilities that transform entities and DTOs into universal flat entities.

    58k GitHub stars~2.4k tokensUpdated today
    Backend & APIsAuto-check passed
  • Diagnose Why Work Stopped

    paperclipai/paperclip

    Diagnose stalled, looping, or over-recovered Paperclip issue trees and propose a no-code product-rule plan.

    99k GitHub stars~2.8k tokensUpdated today
    Auto-check passed

More from FreedomIntelligence/OpenClaw-Medical-Skills

All 279 skills in this repo
  • Single Cell Rna Qc

    FreedomIntelligence/OpenClaw-Medical-Skills

    Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.

    3.1k GitHub starsUsed in 2 repos~2k tokens
    Auto-check passed
  • Differentiation Schemes

    FreedomIntelligence/OpenClaw-Medical-Skills

    Select and apply numerical differentiation schemes for PDE/ODE discretization.

    3.1k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes
  • Fhir Developer Skill

    FreedomIntelligence/OpenClaw-Medical-Skills

    FHIR API development guide for building healthcare endpoints.

    3.1k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Linear Solvers

    FreedomIntelligence/OpenClaw-Medical-Skills

    Select and configure linear solvers for systems Ax=b in dense and sparse problems.

    3.1k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check: notes
  • Medical Research Toolkit

    FreedomIntelligence/OpenClaw-Medical-Skills

    Query 14+ biomedical databases for drug repurposing, target discovery, clinical trials, and literature research.

    3.1k GitHub starsUsed in 1 repo~2.4k tokens
    Auto-check passed
  • Mesh Generation

    FreedomIntelligence/OpenClaw-Medical-Skills

    Plan and evaluate mesh generation for numerical simulations.

    3.1k GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check: notes

Questions about Medical Entity Extractor

What does Medical Entity Extractor do?

Extract medical entities (symptoms, medications, lab values, diagnoses) from patient messages. Medical Entity Extractor is an agent skill from FreedomIntelligence/OpenClaw-Medical-Skills. Extract medical entities (symptoms, medications, lab values, diagnoses) from patient messages.

How do I install Medical Entity Extractor in Claude Code?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill medical-entity-extractor -a claude-code`. Or copy the skill folder (skills/medical-entity-extractor in FreedomIntelligence/OpenClaw-Medical-Skills) into .claude/skills/medical-entity-extractor in your project. Claude Code loads it when a task matches its description.

How do I install Medical Entity Extractor in Codex?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill medical-entity-extractor -a codex`. Or copy the skill folder (skills/medical-entity-extractor in FreedomIntelligence/OpenClaw-Medical-Skills) into .agents/skills/medical-entity-extractor in your project. Codex loads it when a task matches its description.

Can I use Medical Entity Extractor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill medical-entity-extractor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/medical-entity-extractor, .gemini/skills/medical-entity-extractor, .github/skills/medical-entity-extractor and .opencode/skills/medical-entity-extractor in your project.

What does Medical Entity Extractor need to run?

SKILL.md names no scripts, command-line tools or credentials: Medical Entity Extractor is instructions for the agent only.

Does Medical Entity Extractor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Medical Entity Extractor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Medical Entity Extractor use?

Medical Entity Extractor is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Medical Entity Extractor use?

About 969 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Medical Entity Extractor?

Skills that share tags, products or a category with Medical Entity Extractor: Parsing Lab Values (maziyarpanahi/openmed, 5.5k stars), Drama Script Entity Extractor (chatfire-AI/huobao-drama, 16k stars), Diagnose Gateway (openclaw/openclaw, 392k stars) and Diagnose (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Medical Entity Extractor?

FreedomIntelligence (a GitHub organization) maintains it in FreedomIntelligence/OpenClaw-Medical-Skills, which has 3,052 GitHub stars. The repository holds 279 skills in this directory. The repository was last updated on July 21, 2026.

Source: FreedomIntelligence/OpenClaw-Medical-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.