Atlas / Skills / freedomintelligence / Trial Eligibility Agent

Trial Eligibility AgentSAFE

skills/freedomintelligence/trial-eligibility-agent

The largest open-source medical AI skills library for OpenClaw🦞.

Verdict
SAFE
Grade
B
Trust score
89 /100
Version
—
Hosts
1 documented
License
—
Stars
3,053
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

ID: biomedical.clinical.trial_eligibility Version: 1.1.0 Status: Production Category: Clinical AI / Trial Matching

Overview

The Clinical Trial Eligibility Agent automates patient-to-trial matching by parsing eligibility criteria and evaluating patient data against inclusion/exclusion rules. It reduces manual screening time while preserving traceability and highlighting data gaps.

Inputs

Outputs

Eligibility Report

  • Inclusion criteria status (MET / NOT MET / UNKNOWN)
  • Exclusion criteria status (MET / NOT MET / UNKNOWN)
  • Evidence snippets and confidence per criterion
  • Overall recommendation: potentially_eligible, not_eligible, or needs_more_information
  • Data gap checklist

JSON Schema (Recommended)

{
"trial_id": "NCT00000000",
"criteria": [
{"id": "I-01", "text": "Age >= 18", "status": "MET", "evidence": "Age 58", "confidence": "high"}
],
"eligibility_summary": "potentially_eligible",
"data_gaps": ["Latest ECOG score"],
"alerts": ["Confirm brain MRI within 30 days"]
}

Workflow

  1. Acquire protocol - Pull eligibility section from ClinicalTrials.gov or sponsor PDF.
  2. Parse criteria - Normalize to structured logic (AND/OR, thresholds, units).
Read from source at commit 29f31a89230cOBSERVED · 2026-10-08
02

Host compatibility

What the documentation claims. We have not run a compatibility test.

HostStatusNotes
copilotmentioned
03

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

<!--
# COPYRIGHT NOTICE
# This file is part of the "Universal Biomedical Skills" project.
# Copyright (c) 2026 MD BABU MIA, PhD <[email protected]>
# 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
- `trial_id` (NCT or sponsor ID) plus protocol text if not public.
- `patient_summary` narrative and optional `patient_structured` FHIR bundle.
- Declare data sources used (notes, labs, imaging, meds) to show provenance.

## Outputs
1. Structured table (JSON recommended) listing each criterion id/text with status, evidence snippet, and confidence.
2. Overall recommendation (`potentially_eligible`, `not_eligible`, `needs_more_information`).
3. Data gap checklist covering missing labs/imaging/biomarkers.

## Workflow
1. **Acquire protocol:** Pull eligibility text from ClinicalTrials.gov or sponsor PDF.
2. **Normalize criteria:** Break into atomic checks with AND/OR logic and thresholds.
3. **Extract patient facts:** Map narrative + FHIR data into canonical features (age, labs, ECOG, biomarkers).
4. **Evaluate:** Assign MET/NOT/UNKNOWN with cited evidence for each criterion, flag missing context explicitly.
5. **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.md` for API snippets (FHIR parsing, JSON schema) and dependency versions.
- Pair with `Clinical/Trial_Matching/TrialGPT` when retrieval/ranking is also needed.


<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeNA
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

LOWInventory / provenance · skill.no_frontmatter · CWE-1104
SKILL.md:1
Why it matters. SKILL.md lacks name/description frontmatter

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 29f31a89230cfull audit observations/trust-audit/skill/freedomintelligence__trial-eligibility-agent.json · Report an issue / request a re-scan
05

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-0829f31a89230cSAFEB89first audit
06

Questions

What does the Trial Eligibility Agent skill do?

The largest open-source medical AI skills library for OpenClaw🦞.

Is Trial Eligibility Agent safe to install?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.

What can Trial Eligibility Agent access on my machine?

The audit observed no filesystem, network or shell use at all in its source.

Which assistants does Trial Eligibility Agent work with?

Its documentation mentions copilot. That is what the text claims, not a compatibility test we ran.

How current is this page?

The grade is for one exact copy of the source (29f31a89230c), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.

Advertisement