Trialgpt matching
Skill BioTender-max/awesome-bio-agent-skills/skills/openclaw/trialgpt-matching
A curated collection of AI agent skills for biomedical research, covering genomics, proteomics, single-cell analysis, clinical AI, and protein design.From the repository description
npx -y skills add BioTender-max/awesome-bio-agent-skills --skill trialgpt-matchingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.3 KB, 555 tokens by cl100k_base, as published. Nobody here has run it
name: trialgpt-matching description: Trial shortlist keywords:
- retrieval
- ranking
- ClinicalTrials
- patient-profile measurable_outcome: Produce ≥5 ranked trials (when available) with rationale + missing-data notes within 3 minutes of receiving a patient query. license: MIT metadata: author: TrialGPT Team version: "1.0.0" compatibility:
- system: Python 3.9+ allowed-tools:
- run_shell_command
- read_file
TrialGPT Matching
Run the locally checked-out TrialGPT pipeline to retrieve, rank, and explain candidate trials for a patient before deeper eligibility review.
Inputs
- Patient summary (structured JSON or free text) with condition keywords.
- Optional filters: geography, phase, intervention, biomarker.
- Up-to-date ClinicalTrials.gov dump or API access.
Outputs
- Ranked trial table with NCT ID, title, score, and short justification.
- Parsed inclusion/exclusion text ready for downstream eligibility agents.
- Missing data checklist (e.g., "ECOG not provided").
Workflow
- Setup:
cd repo && pip install -r requirements.txt(or reuse env). - Trial retrieval: Run TrialGPT retriever to pull candidate trials for the indication.
- Criteria parsing: Convert eligibility blocks to structured criteria JSON.
- Patient profiling: Summarize patient facts (labs, prior therapies, biomarkers).
- Ranking: Execute TrialGPT ranking script to score each trial and emit explanations.
- Handoff: Export ranked list + structured criteria for
trial-eligibility-agent.
Guardrails
- Refresh ClinicalTrials.gov metadata regularly to avoid stale trials.
- Label scores as AI-generated suggestions pending clinician validation.
- Retain prompt/config metadata for audit trails.
References
- Detailed usage instructions and repo layout live in
README.md. - Coordinate with
Skills/Clinical/Trial_Eligibility_Agentfor criterion-level review.
What ships with it: 25 files
107314.6 KB alongside SKILL.md, 8 of them executable
repo/
- dataset/sigir/corpus.jsonl16035.3 KB
- dataset/sigir/id2queries.json252.8 KB
- dataset/sigir/qrels/test.tsv99.7 KB
- dataset/sigir/queries.jsonl30.5 KB
- dataset/sigir/retrieved_trials.json8398.3 KB
- dataset/trec_2021/id2queries.json303.2 KB
- dataset/trec_2021/qrels/test.tsv905.6 KB
- dataset/trec_2021/queries.jsonl64.9 KB
- dataset/trec_2021/retrieved_trials.json45004.9 KB
- dataset/trec_2022/id2queries.json177.7 KB
- dataset/trec_2022/qrels/test.tsv892.4 KB
- dataset/trec_2022/queries.jsonl32.5 KB
- dataset/trec_2022/retrieved_trials.json35075.3 KB
- LICENSE1.2 KB
- README.md11.3 KB
- requirements.txt210 B
- results/__init__.pyruns402 B
- trialgpt_matching/run_matching.pyruns2.0 KB
- trialgpt_matching/TrialGPT.pyruns6.1 KB
- trialgpt_ranking/rank_results.pyruns2.9 KB
- trialgpt_ranking/run_aggregation.pyruns2.4 KB
- trialgpt_ranking/TrialGPT.pyruns4.6 KB
- trialgpt_retrieval/hybrid_fusion_retrieval.pyruns6.5 KB
- trialgpt_retrieval/keyword_generation.pyruns2.0 KB
- README.md2.1 KB