aact-bulk-trials

aact-bulk-trials is a skill for Claude Code, Codex from EthanYoQ/Skill-hub. It costs 313 tokens per session (2,461 once invoked), scanned B, original, MIT.

A skill for querying AACT, a PostgreSQL copy of ClinicalTrials.gov data, in bulk. ClinicalTrials.gov is a public registry of clinical studies.

In plain words
What is it for?
Use it to compare many clinical trials, group studies by disease, phase, or sponsor, find similar study designs, and analyse trends across years.
Why use it?
It supports large historical and cross-table analyses that are not suited to looking up one trial at a time through a live web API.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compare many clinical trials, group studies by disease, phase, or sponsor, find similar study designs, and analyse trends across years.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/aact-bulk-trials
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 aact-bulk-trials
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 aact-bulk-trials

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/aact-bulk-trials/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/aact-bulk-trials)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/aact-bulk-trials"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/aact-bulk-trials/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 aact-bulk-trials

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/aact-bulk-trials"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/aact-bulk-trials.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 313 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,461 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00313 $0.02461
Opus 5.5 $0.00125 $0.00984
Sonnet 5.5 $0.00063 $0.00492
Haiku 4.5 $0.00031 $0.00246

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

Security

Grade B, and why

aact-bulk-trials scanned grade B with 1 finding 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 1mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| `psql: connection refused`(本地) | 本地 PostgreSQL 未启动 | macOS: `brew services start postgresql@16` / Linux: `sudo systemctl start postgresql` / Windows: `Start-Service postgresql-x64-16` |
archives/user-installed-skills/aact-bulk-trials/e07736f27453c7b6/aact-bulk-trials/SKILL.md · 166 lines

How it starts

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

AACT Bulk Trials · 批量临床试验数据仓库

1. 何时调用本 skill

调用本 skill 当用户请求:

  • 疾病领域全景分析("过去 10 年血液病所有 NCT 试验按 phase/sponsor 聚合")
  • 跨年度趋势聚合("AML 领域 III 期试验赞助商分布")
  • 设计相似试验匹配("找与 NCT12345678 设计相似的其他试验")
  • 整库扫描 / 百万级 JOIN(条件 + 干预 + 结果跨表)

不要调用本 skill(应转其他):

  • 单条 NCT 最新状态查询 → clinical-trials-v2(实时 API · 互补)
  • 文献检索 → pubmed-search / europepmc-search
  • 临床报告撰写 → clinical-reports

与 clinical-trials-v2 的差异:

维度 clinical-trials-v2 aact-bulk-trials(本 skill)
数据源 ClinicalTrials.gov v2 REST API AACT PostgreSQL 镜像(每日同步)
单次容量 ≤ 1000 条 单 SQL 可处理百万级
网络 强依赖 本地模式离线可用
延迟 低(实时) T+1(每日 dump)
适用场景 单试验细节、最新状态 批量聚合、历史趋势、跨表 JOIN

2. 上下游 skill 协作

clinical-trials-v2  ────┐
   (实时单查 · 互补)      │
                         ▼
   aact-bulk-trials  →  medical-evidence-grading  →  evidence-appendix-sync
   (本 skill · 批量SQL)    (上层 · 批量 grade)         (终下游 · 报告附录)
  • 上游:用户原始批量挖掘需求(市场调研、疾病全景、设计相似性)
  • 平级互补:clinical-trials-v2(单条实时) / pubmed-search(文献)
  • 下游:medical-evidence-grading(用本 skill 输出的 NCT 列表批量评级) → evidence-appendix-sync(终态报告附录 C)

3. 核心能力速查(5 个 SQL 模板)

所有签名见 references/sql-templates.md,参数化 SQL 防注入,默认 LIMIT 1000。

函数 签名(参数) 用途
query_trials_by_condition (condition_term, year_from, year_to, phase, limit) 按适应症 + 年份 + phase 检索
query_trials_by_intervention (intervention_name, intervention_type, limit) 按干预名 + 类型检索
query_trials_results_summary (nct_id_list) 已上传 results 的试验统计摘要
bulk_disease_landscape (disease_term, year_from, year_to) 疾病四维聚合(phase/status/sponsor/国家)
find_similar_design_trials (reference_nct_id, limit) 设计相似试验匹配

完整 SQL 见 → references/sql-templates.md


4. 双连接快速决策

skill 启动时自动检测:本地 dump (B) → 云端 (A) → 报错指引。

模式 何时用 性能
本地 dump(B) 批量挖掘 / 整库扫描 / 跨年度聚合 典型 < 5s
云端公共(A) 偶发查询 / 无本地 PostgreSQL 200ms - 2s

Read the full file on GitHub · 166 lines

Files

What ships with it

3 files 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. 1mo ago First seen · 166 lines · 313 tokens per session scan B 80b42e5e0048

Subscribe to this mod's changes

aact-bulk-trials is a skill published in the GitHub repository EthanYoQ/Skill-hub (11 stars, last pushed 10d ago), licensed MIT. It adds 313 tokens to every session and 2,461 once invoked, about $0.0013 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.

Related

Other skills, from other repositories

geospatial-data-pipeline

Process, analyze, and visualize geospatial data at scale. Handles drone imagery, GPS tracks, GeoJSON optimization, coordinate transformations, and tile generation. Use for mapping apps, drone data processing, location-based services. Activate on "geospatial", "GIS", "PostGIS", "GeoJSON", "map tiles", "coordinate…

curiositech/some_claude_skills · 89 tokens

fetch-meta-from-kb

Fetch recent journals rows directly from PostgreSQL and return a JSON array containing doi, title, abstract, and date (filtered by rolling DAYS on createdat). Use when users need raw paper payloads for downstream processing without LLM filtering or hotspot report generation.

tiangong-ai/skills · 69 tokens

geo-infer-space

H3 hexagonal spatial indexing and multi-backend spatial operations. Use when working with H3 cells, spatial indexing, coordinate systems, raster/vector operations, or any spatial backend dispatch (H3, SRAI).

ActiveInferenceInstitute/GEO-INFER · 49 tokens

postgresql-table-design

Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

Harmeet10000/skills · 31 tokens

sql-optimization-patterns

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

Harmeet10000/skills · 44 tokens

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens