install
source · Clone the upstream repo
git clone https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/trial-eligibility-agent" ~/.claude/skills/freedomintelligence-openclaw-medical-skills-trial-eligibility-agent && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/trial-eligibility-agent" ~/.openclaw/skills/freedomintelligence-openclaw-medical-skills-trial-eligibility-agent && rm -rf "$T"
manifest:
skills/trial-eligibility-agent/SKILL.mdtags
source content
<!--
# 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: trial-eligibility-agent description: Parse trial protocols and patient data to produce criterion-level MET/NOT/UNKNOWN determinations with evidence and gaps for clinical trial screening tasks. allowed-tools:
- read_file
- run_shell_command
At-a-Glance
- description (10-20 chars): Trial triage hub
- keywords: eligibility, ClinicalTrials, FHIR, evidence, gaps
- measurable_outcome: Produce a MET/NOT/UNKNOWN matrix with supporting citations for ≥90% of inclusion/exclusion criteria within 5 minutes per trial request.
Inputs
(NCT or sponsor ID) plus protocol text if not public.trial_id
narrative and optionalpatient_summary
FHIR bundle.patient_structured- Declare data sources used (notes, labs, imaging, meds) to show provenance.
Outputs
- Structured table (JSON recommended) listing each criterion id/text with status, evidence snippet, and confidence.
- Overall recommendation (
,potentially_eligible
,not_eligible
).needs_more_information - Data gap checklist covering missing labs/imaging/biomarkers.
Workflow
- Acquire protocol: Pull eligibility text from ClinicalTrials.gov or sponsor PDF.
- Normalize criteria: Break into atomic checks with AND/OR logic and thresholds.
- Extract patient facts: Map narrative + FHIR data into canonical features (age, labs, ECOG, biomarkers).
- Evaluate: Assign MET/NOT/UNKNOWN with cited evidence for each criterion, flag missing context explicitly.
- Summarize: Present recommendation and highlight gating unknowns plus next-best actions.
Guardrails
- Never claim enrollment decisions; mark outputs as advisory.
- Cite direct patient evidence for every MET/NOT call; default to UNKNOWN rather than guessing.
- Respect PHI handling expectations—avoid storing raw notes outside secure paths.
Tooling & References
- Use
for API snippets (FHIR parsing, JSON schema) and dependency versions.README.md - Pair with
when retrieval/ranking is also needed.Clinical/Trial_Matching/TrialGPT