ericporres

Trialthread — AI skill for Claude Code

AI community

Free, open-source AI agent that matches patients to clinical trials by actually reading the eligibility criteria.

How to install Trialthread

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ericporres/trialthread and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Trialthread does

Free, open-source AI agent that matches patients to clinical trials by actually reading the eligibility criteria. Patients never pay.

Alternatives in AI

  • Paca — AI-native, free, open-source alternative to Jira, Trello, ClickUp & Monday 1.8k ★
  • Awwwards MCP — Free, open-source MCP server that gives AI coding agents (Claude Code, Codex, Cursor, OpenCode, ZCode…) design 856 ★
  • Room — Open-source earning-focused swarm intelligence engine 838 ★

README

TrialThread

**An AI agent that finds clinical trials people would never find on their own — and explains, in plain English, why each one may or may not fit.**

Live instance: **[trialthread.org](https://www.trialthread.org)** — free, no account, nothing you type is stored (also reachable via trialthread.com)

Why

Nearly every recruiting trial in the United States is publicly listed on [clinicaltrials.gov](https://clinicaltrials.gov) — which also lists studies in over 200 countries — and almost nobody can find the one that fits. The registry speaks in eligibility criteria; patients speak in plain language. The translation layer between them has mostly lived inside the heads of research nurses and well-connected oncologists. This project makes that layer free. The longer version is on the [About page](https://www.trialthread.org/about).

How it works

Patient description → structured profile → **safety check** → live registry search → LLM eligibility screening → adaptive broadening → grounded explanations. No database, no accounts, no stored patient data.

  1. Extraction (lib/extract.ts) — Claude parses a free-text description into a structured profile: condition, stage, biomarkers, prior treatments, age, location (LLM city-level geocode), honest red flags, and urgent safety signals.
  2. Safety gate (app/api/match/route.ts) — if the description contains an acute medical emergency or an expression of wanting to die, a safety event streams before the search begins, and a non-dismissible banner appears above everything (988 / 911). The search still runs — people came here for trials and should still get them — but the important thing is said first. See Safety below.
  3. Search (lib/ctgov.ts) — live queries against the clinicaltrials.gov v2 API: condition + RECRUITING + geo radius, normalized with haversine site distances. Queried live, so there is no local copy to go stale — but the registry itself can lag, and a trial ma