clinical-trials-v2

clinical-trials-v2 is a skill for Claude Code, Codex from EthanYoQ/Skill-hub. It costs 0 tokens per session (4,411 once invoked), scanned A, original, MIT.

A live search tool for ClinicalTrials.gov, the official US registry of clinical studies. It finds registered trials and returns details such as status, phase, sponsors, endpoints, and posted results.

In plain words
What is it for?
Use it to look up an NCT trial number, find recruiting studies, filter trials by treatment or phase, and inspect protocol or outcome details.
Why use it?
It avoids relying on old or incomplete trial information by querying the registry's current data. It is suited to individual searches or requests of up to 1,000 records, not full-database historical analysis.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to look up an NCT trial number, find recruiting studies, filter trials by treatment or phase, and inspect protocol or outcome details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/clinical-trials-v2
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add EthanYoQ/Skill-hub --skill clinical-trials-v2
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clinical-trials-v2

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/clinical-trials-v2/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/clinical-trials-v2)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/clinical-trials-v2"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/clinical-trials-v2/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clinical-trials-v2

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/clinical-trials-v2"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/clinical-trials-v2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,411 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.04411
Opus 5.5 $0.00000 $0.01764
Sonnet 5.5 $0.00000 $0.00882
Haiku 4.5 $0.00000 $0.00441

Measured 2mo ago against content hash b28ec83d7ea9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clinical-trials-v2 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

archives/user-installed-skills/clinical-trials-v2/28605e20fd8f2af5/clinical-trials-v2/SKILL.md · 360 lines

How it starts

The opening of the file, as written. The whole thing — 360 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ClinicalTrials.gov API v2 实时检索

封装 ClinicalTrials.gov 官方 API v2,为医学证据检索体系提供"实时官方源"原子能力。

0. Auto-Trigger 示例

用户 prompt 应触发 原因
"我要查血液科 IFI 相关的招募中临床试验" ✅ clinical-trials-v2 实时招募状态查询
"BTK 抑制剂的 Phase 3 试验有哪些" ✅ clinical-trials-v2 intervention + phase 过滤
"给我所有近 5 年完成的曲霉病试验的 results 数据" ✅ clinical-trials-v2 (get_study_outcomes) 主次终点 + 已发布结果
"NCT04368728 现在到哪一阶段了" ✅ clinical-trials-v2 (get_study_details) 单 NCT 详情
"我要批量分析过去 10 年血液病所有试验" ❌ → aact-bulk-trials 全量 SQL,本地镜像
"找 PubMed 上 RCT 文献" ❌ → pubmed-eutils 文献库非试验注册
"这条 RCT 的证据等级是 A 还是 B" ❌ → medical-evidence-grading (上层调用本 skill) GRADE 评级编排

1. 定位与边界

只做

  • 通过 https://clinicaltrials.gov/api/v2/studies 实时检索单个/批量试验
  • 单次请求 ≤ 1000 条记录
  • 返回完整 protocol + results 模块结构化数据

不做(显式委托)

任务 委托给 关系
大批量历史分析 (>10k / 全库 SQL) aact-bulk-trials 互补:批量·SQL·历史全量 vs 本 skill 实时·单查·≤1000
关联 PubMed 文献 / NCT→PMID pubmed-eutils 上游:文献检索后取 NCT 详情
RCT 证据等级 GRADE A/B/C/D medical-evidence-grading 上层:它编排本 skill 提取 RCT 元数据后评级
引文落入报告附录 C evidence-appendix-sync 终下游:source_url + NCT 直接落参考文献表
全文 XML 解析 bioc-fulltext-fetch 不重叠
系统综述 PRISMA 编排 systematic-review 不重叠

与 aact-bulk-trials 详细对比

维度 clinical-trials-v2 (本 skill) aact-bulk-trials
数据源 实时 API 每日同步的 PostgreSQL 镜像
单次规模 ≤1000 条 无限(SQL JOIN 全表)
延迟 实时 (T+0) T-1
查询能力 REST query DSL 完整 SQL
适用场景 单试验最新状态 / 小批量招募检索 全库统计 / 历史趋势 / 多表 JOIN
速率限制 建议 ≤5 RPS 仅本地 IO

跨平台无锁声明

本 skill 仅依赖标准 HTTP + Python stdlib + httpx,无任何 Claude Code / Codex / Cursor 平台特定 API。可直接在三平台间迁移。

2. 认证与速率

无需 API key

ClinicalTrials.gov API v2 是开放 API,无需注册或 API key。

建议 User-Agent

HEADERS = {
    "User-Agent": "ClinicalTrialsV2-Skill/1.0 (medical-evidence-retrieval; [email protected])",
    "Accept": "application/json",
}

速率限制

  • 官方未强制 RPS 限制,但建议自约束 ≤5 RPS
  • 实现指数退避: 429/503 → 退避 2^n * 0.5s, 最多 5 次重试

Read the full file on GitHub · 360 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 360 lines · 0 tokens per session scan A b28ec83d7ea9

Subscribe to this mod's changes

clinical-trials-v2 is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,411 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.

Related

clinical-trials-v2 compared with skills from other repositories

clinical-trials-v2 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clinical-trials-v2EthanYoQ/Skill-hubSkill122d agoMITA0Claude Code, Codex
autoresearchYSAA1/harness-workflowSkill31mo agoMITA113Claude Code
arxiv-researchervignesh2027/Claude-Agentic-Skills2.0-versionSkill43mo agoMITA71Claude Code, Codex
biotech-analystvignesh2027/Claude-Agentic-Skills2.0-versionSkill43mo agoMITA73Claude Code, Codex
climate-tech-analystvignesh2027/Claude-Agentic-Skills2.0-versionSkill43mo agoMITA83Claude Code, Codex
latex-writerinbharatai/claude-skillsSkill448mo agoMITA28Claude Code, Codex
literature-reviewerinbharatai/claude-skillsSkill448mo agoMITA25Claude Code, Codex