Clinicaltrialsのロゴ

Clinicaltrials

組織
K-Dense-AI
clinicaltrials

Search the ClinicalTrials.gov registry through its version 2 REST API for interventional and observational studies, their phases, enrolment, endpoints, sponsors, and posted results. Use this skill to survey who is developing what against an indication, date a competitor's programme, read primary and secondary outcome measures, find eligibility criteria, and distinguish a study that completed from one that was terminated or withdrawn. Also trigger on ClinicalTrials.gov, NCT number, trial registry, study phase, enrolment, primary outcome measure, recruiting status, trial sponsor, or competitive landscape.

概要

公開者K-Dense-AI
リポジトリdrug-discovery-agent-skills
スキル名clinicaltrials
スター
51
フォーク
5
同梱ファイル
7
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 7個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    K-Dense-AIがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Clinicaltrials」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/clinicaltrials
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/K-Dense-AI/drug-discovery-agent-skills.git /tmp/drug-discovery-agent-skills
mkdir -p .claude/skills
cp -r /tmp/drug-discovery-agent-skills/skills/clinicaltrials .claude/skills/clinicaltrials
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでClinicaltrialsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にClinicaltrialsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Clinicaltrialsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

ClinicalTrials.gov

The world's largest trial registry: roughly 560 000 studies, sponsor-submitted, going back to 2000. It answers the question that no bench assay can — has anyone already tried this in people, and what happened to them when they did. For a target or an indication it is the cheapest competitive and feasibility intelligence available.

Base URL: https://clinicaltrials.gov/api/v2 — REST, no key. Docs: data-api · search areas Checked against: the live v2 API, August 2026. The classic API was retired in June 2024.

Read references/api-reference.md before writing a query by hand, references/study-structure.md before reaching for a field, and references/reading-a-registry.md before drawing a conclusion from anything you find — that one is judgement, not syntax.

The three scripts

ScriptAnswers
ct_search.pyWhat is registered against this condition or drug, and how much of it?
ct_study.pyWhat exactly did this one study set out to do?
ct_landscape.pyWho else is in this indication, and what stops trials here?

COMPLETED does not mean it worked

This is the single thing to get right. overallStatus: COMPLETED means the study finished running. It says nothing about whether the intervention succeeded — a trial that comprehensively missed its primary endpoint completes normally.

Three separate facts, routinely conflated:

Means
overallStatus: COMPLETEDthe study finished
hasResults: trueresults were posted to the registry
whether the endpoint was metnot recorded in the registry at all

hasResults is a top-level sibling of protocolSection, not part of the status module, and it is the easiest useful field to miss. ct_study.py show prints a warning when a study completed without posting results.

Searching

bash
python skills/clinicaltrials/scripts/ct_search.py search \
    --condition "non-small cell lung cancer" --phase PHASE3 --limit 3
# 1019 studies match
nct_id       status      phase   enrollment  sponsor                    start       has_results
NCT06357533  RECRUITING  PHASE3  675         AstraZeneca                2024-04-11  false
NCT05278052  RECRUITING  PHASE3  190         Tata Memorial Hospital     2020-04-20  false
NCT00268684  UNKNOWN     PHASE3  381         Tel-Aviv Sourasky          2005-05     false

UNKNOWN is not an error: it is what the registry assigns when the sponsor has stopped verifying the record. On a 2005 study, read it as "probably abandoned".

count --by phase and count --by status give the shape of a field without walking it. Note that phase counts overlap — a phase 2/3 study carries ["PHASE2","PHASE3"] and is returned by a filter for either — so they do not sum to the total.

One study in detail

bash
python skills/clinicaltrials/scripts/ct_study.py show NCT02142738
python skills/clinicaltrials/scripts/ct_study.py outcomes NCT02142738
nct_id             NCT02142738
status             COMPLETED
phase              PHASE3
allocation         RANDOMIZED
enrollment         305 (ACTUAL)
sponsor            Merck Sharp & Dohme LLC
start              2014-08-25
has_results        True

outcomes separates the primary endpoint — what the study was powered for — from the secondaries. A positive secondary in a study that missed its primary is hypothesis-generating, not evidence, and the registry will not make that distinction for you.

eligibility splits the criteria blob back into inclusion and exclusion. There is no structured form in the registry; it is one newline-delimited string with headings inside it.

Landscape and attrition

bash
python skills/clinicaltrials/scripts/ct_landscape.py attrition \
    --condition "pancreatic cancer" --phase PHASE3 --limit 120
phase   studies  completed  recruiting  terminated  withdrawn  stopped_pct
PHASE3  120      43         25          16          5          18.3

# 21 stated reasons for stopping
  - Preliminary data showed no survival benefit in the GV1001 group compared to gemcitabine.
  - recruitment prematurely stopped due to a lack of eligible patients.

whyStopped is the richest field in the registry and the reason attrition prints reasons rather than counting them. Those two examples are completely different facts: the first is a real negative result about the biology, often the only public record of it; the second says nothing about the drug and everything about whether you can recruit for your own trial.

sponsors reports total enrolment and highest phase alongside the study count, because counting registrations measures activity, not investment — twenty investigator-initiated phase 1s are not two 800-patient phase 3s.

Four ways this registry misleads quietly

  1. Nobody verifies any of it. Sponsors submit and update at their own pace. A record is evidence of stated intent, not of what happened.
  2. Drug names are free text with no identifier. MK-3475, pembrolizumab, and Keytruda do not group together. Resolve names with chembl first and search each synonym.
  3. Missing results usually mean nothing. FDAAA compliance is well below 100% and does not reach phase 1, most non-US studies, or products never filed with the FDA.
  4. ESTIMATED enrolment is a plan. Everything is estimated at registration; the gap between it and the final ACTUAL is itself a feasibility finding.

When to stop using this API

The registry has no aggregation endpoint, so every breakdown here walks studies one page at a time. For corpus-wide analysis, use the bulk download rather than the API. For European trials, many of which never appear here, use the EU CTR; the WHO ICTRP federates the national registries.

Composing with the rest of the bundle

  • open-targets → here: is anyone already running trials against this target?
  • chembl → here: resolve a compound's synonyms before searching free-text intervention names.
  • openfda → alongside: the registry is what was attempted, openFDA is what was approved.
  • depmap → here: a genetic dependency, checked against whether the clinic has tried it.
  • pkpd-translation → after: a registered dose and schedule as a translation anchor.

Reporting results honestly

Give the query, the number of studies actually walked rather than the number matched, and the date. Say "N studies are registered", never "N studies show". Quote whyStopped verbatim instead of paraphrasing it into a cause. If asked whether a trial succeeded, say the registry does not record that.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Clinicaltrials」では何ができますか?

Search the ClinicalTrials.gov registry through its version 2 REST API for interventional and observational studies, their phases, enrolment, endpoints, sponsors, and posted results. Use this skill to survey who is developing what against an indication, date a competitor's programme, read primary and secondary outcome measures, find eligibility criteria, and distinguish a study that completed from one that was terminated or withdrawn. Also trigger on ClinicalTrials.gov, NCT number, trial registry, study phase, enrolment, primary outcome measure, recruiting status, trial sponsor, or competiti...

TypingMindでClinicaltrialsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Clinicaltrialsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにClinicaltrialsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/clinicaltrialsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Clinicaltrialsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Clinicaltrialsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもClinicaltrialsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Clinicaltrials」は無料ですか?

はい。K-Dense-AIがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇