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.
npx skills add EthanYoQ/Skill-hub --skill clinical-trials-v2git clone --depth 1 https://github.com/EthanYoQ/Skill-hubWrote 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.
[](https://agentmods.dev/skills/ethanyoq/skill-hub/clinical-trials-v2)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 次重试
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.
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.
- 2mo ago First seen · 360 lines · 0 tokens per session scan A b28ec83d7ea9
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.
clinical-trials-v2 compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| clinical-trials-v2EthanYoQ/Skill-hub | Skill | 12 | 2d ago | MIT | A | 0 | Claude Code, Codex |
| autoresearchYSAA1/harness-workflow | Skill | 3 | 1mo ago | MIT | A | 113 | Claude Code |
| arxiv-researchervignesh2027/Claude-Agentic-Skills2.0-version | Skill | 4 | 3mo ago | MIT | A | 71 | Claude Code, Codex |
| biotech-analystvignesh2027/Claude-Agentic-Skills2.0-version | Skill | 4 | 3mo ago | MIT | A | 73 | Claude Code, Codex |
| climate-tech-analystvignesh2027/Claude-Agentic-Skills2.0-version | Skill | 4 | 3mo ago | MIT | A | 83 | Claude Code, Codex |
| latex-writerinbharatai/claude-skills | Skill | 44 | 8mo ago | MIT | A | 28 | Claude Code, Codex |
| literature-reviewerinbharatai/claude-skills | Skill | 44 | 8mo ago | MIT | A | 25 | Claude Code, Codex |