Agent skill
trial-eligibility-agent
Install this agent skill to your Project
npx add-skill https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/trial-eligibility-agent
SKILL.md
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
trial_id(NCT or sponsor ID) plus protocol text if not public.patient_summarynarrative and optionalpatient_structuredFHIR bundle.- 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
README.mdfor API snippets (FHIR parsing, JSON schema) and dependency versions. - Pair with
Clinical/Trial_Matching/TrialGPTwhen retrieval/ranking is also needed.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
vcf-annotator
Annotate VCF variants with VEP, ClinVar, gnomAD frequencies, and ancestry-aware context. Generates prioritised variant reports.
chemist-analyst
Analyzes events through chemistry lens using molecular structure, reaction mechanisms, thermodynamics, kinetics, and analytical techniques (spectroscopy, chromatography, mass spectrometry). Provides insights on chemical processes, material properties, reaction pathways, synthesis, and analytical methods. Use when: Chemical reactions, material analysis, synthesis planning, process optimization, environmental chemistry. Evaluates: Molecular structure, reaction mechanisms, yield, selectivity, safety, environmental impact.
bio-alignment-io
Read, write, and convert multiple sequence alignment files using Biopython Bio.AlignIO. Supports Clustal, PHYLIP, Stockholm, FASTA, Nexus, and other alignment formats for phylogenetics and conservation analysis. Use when reading, writing, or converting alignment file formats.
sleep-analyzer
分析睡眠数据、识别睡眠模式、评估睡眠质量,并提供个性化睡眠改善建议。支持与其他健康数据的关联分析。
metabolomics-workbench-database
Access NIH Metabolomics Workbench via REST API (4,200+ studies). Query metabolites, RefMet nomenclature, MS/NMR data, m/z searches, study metadata, for metabolomics and biomarker discovery.
bio-hi-c-analysis-matrix-operations
Balance, normalize, and transform Hi-C contact matrices using cooler and cooltools. Apply iterative correction (ICE), compute expected values, and generate observed/expected matrices. Use when normalizing or transforming Hi-C matrices.
Didn't find tool you were looking for?