mvanhorn/printing-press-library

Add ClinicalTrials.gov CLI

Open

#1,185 opened on Jun 15, 2026

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Go (371 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1,443 stars)
PR merge metrics
 (PR metrics pending)

Description

Goal

Add a Printing Press CLI for ClinicalTrials.gov, focused on trials search, sponsor intelligence, condition pipelines, and change monitoring.

Free source

  • ClinicalTrials.gov public API.

Agent jobs

  • Find recruiting trials for a condition/intervention.
  • Research a sponsor/company pipeline.
  • Track new or changed trials in a therapeutic area.
  • Summarize phase/status/location patterns for a market or research brief.

Proposed command shape

  • clinicaltrials-pp-cli search --condition melanoma --recruiting --agent
  • clinicaltrials-pp-cli sponsor "Eli Lilly" --agent
  • clinicaltrials-pp-cli trial NCT00000000 --agent
  • clinicaltrials-pp-cli changed --condition obesity --since 30d --agent
  • clinicaltrials-pp-cli pipeline --sponsor "Moderna" --agent

Non-goals

No medical advice, enrollment actions, patient matching beyond public filters, or claims of clinical efficacy.\n\n## Implementation path\n\nThis is a new CLI candidate, so do not hand-build it directly in this published library repo. Run it through the canonical Printing Press generation flow in cli-printing-press, keep manuscripts/proofs, then publish into this repo with the publish flow.\n\n## Acceptance criteria\n\n- Research notes explain the source/API/feed contract, rate limits, auth needs, and freshness behavior.\n- CLI exposes a small agent-native command set, not a raw endpoint dump.\n- --json / --agent output is stable and compact.\n- If the source benefits from history, add local SQLite sync plus since/diff commands.\n- Skill includes high-signal recipes and clear non-goals.\n- Dogfood proves at least three realistic agent workflows.

Contributor guide