clinical-trial-protocol-skill by anthropics/healthcare
npx skills add https://github.com/anthropics/healthcare --skill clinical-trial-protocol-skill关键:此编排器遵循 SIMPLE START 方法:
为何重要:
此技能使用模块化、基于检查点的架构为医疗器械或药物生成临床试验方案
从干预措施想法(器械或药物)开始,此编排工作流提供两种模式:
🔬 仅研究模式(步骤 0-1): 0. 初始化干预措施 - 收集器械或药物信息
📄 完整方案模式(步骤 0-5): 0. 初始化干预措施 - 收集器械或药物信息
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
所有分析数据以 JSON/markdown 文件形式存储在 waypoints/ 目录中:
waypoints/
├── intervention_metadata.json # 干预措施信息、状态、初始上下文
├── 01_clinical_research_summary.json # 类似试验、FDA 指南、建议
├── 02_protocol_foundation.md # 方案第 1-6 部分(步骤 2)
├── 03_protocol_intervention.md # 方案第 7-8 部分(步骤 3)
├── 04_protocol_operations.md # 方案第 9-12 部分(步骤 4)
├── 02_protocol_draft.md # 完整方案(在步骤 4 中拼接)
├── 02_protocol_metadata.json # 方案元数据
└── 02_sample_size_calculation.json # 统计样本量计算
丰富的初始上下文支持: 用户可以在初始化干预措施(步骤 0)时提供大量文档、技术规范或研究数据。这些内容保存在 intervention_metadata.json 的 initial_context 字段中。后续步骤会参考此上下文,以便进行更明智的方案开发。
每个步骤都是 references/ 目录中的独立技能:
references/
├── 00-initialize-intervention.md # 收集器械或药物信息
├── 01-research-protocols.md # 临床试验研究和 FDA 指南
├── 02-protocol-foundation.md # 方案第 1-6 部分(基础、设计、人群)
├── 03-protocol-intervention.md # 方案第 7-8 部分(干预措施详情)
├── 04-protocol-operations.md # 方案第 9-12 部分(评估、统计、操作)
└── 05-generate-document.md # NIH 方案生成
scripts/
└── sample_size_calculator.py # 统计功效分析(已验证)
安装:
.mcpb 文件到 Claude Desktop 中安装可用工具: search_clinical_trials - 按以下条件搜索:
condition - 疾病或状况(例如,"pancreatic cancer") intervention - 药物、器械或治疗(例如,"pembrolizumab"、"CAR-T") sponsor - 申办方或合作者名称(例如,"Pfizer"、"NIH") location - 城市、州或国家(例如,"California"、"Boston") status - "recruiting"(默认)、"active"、"completed"、"all" phase - 试验阶段:"1"、"2"、"3"、"4"、"early_phase1" max_results - 默认 25,最大 100
get_trial_details - 使用其 nct_id(例如,"NCT04267848")获取特定试验的全面详情。返回资格标准、结局、研究设计和联系信息。
验证: 步骤 1 将在启动时自动测试 MCP 连接性。
目的: 通过显式数据库 URL 进行 FDA 监管路径研究
来源:
模板文件: assets/ 目录中的任何 .md 文件
目的: 方案结构和内容指导的参考模板。系统自动检测可用模板并动态使用它们。
安装:
pip install -r requirements.txt
依赖项:
目的: 为临床方案进行准确的统计样本量计算
只需调用此技能并选择所需模式:
🔬 仅研究模式:
📄 完整方案模式:
恢复能力: 如果中断,只需重新启动技能,它将自动从您最后完成的步骤恢复。
当技能被调用时,显示以下消息:
🧬 临床试验方案
欢迎!此技能为医疗器械或药物生成临床试验方案。
[如果 waypoints/intervention_metadata.json 存在:]
✓ 发现正在进行的现有方案:[干预措施名称]
类型:[器械/药物]
已完成:[已完成步骤列表]
下一步:[要执行的下一个步骤]
📋 选择模式:
1. 🔬 仅研究 - 运行临床研究分析(步骤 0-1)
• 收集干预措施信息
• 研究类似临床试验
• 查找 FDA 指南和监管路径
• 生成 .md 工件形式的全面研究摘要
2. 📄 完整方案 - 生成完整的临床试验方案(步骤 0-5)
• 包含“仅研究”的所有内容,外加:
• 生成所有方案部分
• 创建专业方案文档
3. ❌ 退出
请选择一个选项(1、2 或 3):
🛑 停止并等待用户选择(1、2 或 3)
execution_mode = "research_only" 并继续执行仅研究工作流逻辑execution_mode = "full_protocol" 并继续执行完整工作流逻辑此工作流仅执行步骤 0 和 1,然后生成格式化的研究摘要工件。
步骤 1:检查现有检查点
waypoints/intervention_metadata.json 存在:加载元数据,检查步骤 0 和 1 是否已完成步骤 2:执行研究步骤(0 和 1)
对于每个步骤(0, 1):
检查完成状态: 如果步骤已在元数据中完成,则跳过并显示“✓ 步骤 [X] 已完成”
执行步骤:
references/00-initialize-intervention.md(收集干预措施信息)references/01-research-protocols.md(临床研究和 FDA 指南)处理错误: 如果步骤失败,询问用户重试或退出。保存当前状态以便恢复能力。
步骤 3:生成研究摘要工件
步骤 1 成功完成后:
读取检查点文件:
waypoints/intervention_metadata.json(干预措施详情)waypoints/01_clinical_research_summary.json(研究发现)创建格式化的 markdown 摘要: 生成全面、格式良好的研究摘要作为 markdown 工件,结构如下:
# 临床研究摘要:[干预措施名称]
## 干预措施概述
- **类型:** [器械/药物]
- **适应症:** [目标疾病/状况]
- **描述:** [简要干预措施描述]
- **作用机制:** [工作原理]
## 类似临床试验
[列出前 5-10 个类似试验,包含 NCT ID、标题、阶段、状态、关键发现]
## FDA 监管路径
- **推荐路径:** [510(k)、PMA、De Novo、IND、NDA、BLA 等]
- **监管依据:** [路径选择的理由]
- **关键要求:** [主要监管考虑因素]
## FDA 指南文件
[列出相关的 FDA 指南文件,包含链接和关键摘录]
## 研究设计建议
- **建议研究类型:** [RCT、单臂等]
- **阶段建议:** [阶段 1、2、3 等]
- **主要终点建议:** [基于类似试验]
- **样本量考虑:** [初步想法]
## 关键见解和建议
[为方案开发提供的综合建议]
## 后续步骤
[如果用户希望继续完整方案开发]
---
*由临床试验方案技能生成*
*日期:[当前日期]*
3. 保存工件: 将格式化的摘要写入 waypoints/research_summary.md
✅ 研究完成
已生成研究摘要:waypoints/research_summary.md
📊 关键发现:
• 发现的类似试验:[X 个试验]
• 推荐路径:[路径名称]
• FDA 指南文件:[识别出 X 个文件]
• 研究设计:[推荐设计]
📄 研究摘要已保存为格式化的 markdown 工件。
您希望:
1. 继续完整方案生成(步骤 2-5)
2. 退出并审阅研究摘要
选项 1 逻辑(继续完整方案):
execution_mode = "full_protocol"选项 2 逻辑(退出):
步骤 1:检查现有检查点
waypoints/intervention_metadata.json 存在:加载元数据,检查 completed_steps 数组,从下一个未完成的步骤恢复步骤 2:按顺序执行步骤
对于每个步骤(0, 1, 2, 3, 4, 5):
检查完成状态: 如果步骤已在元数据中完成,则跳过并显示“✓ 步骤 [X] 已完成”
执行步骤: 显示“▶ 正在执行步骤 [X]...”,读取并遵循相应的子技能文件说明,等待完成,显示“✓ 步骤 [X] 完成”
references/00-initialize-intervention.md(在步骤 0 执行时读取)references/01-research-protocols.md(在步骤 1 执行时读取)references/02-protocol-foundation.md(在步骤 2 执行时读取 - 第 1-6 部分)references/03-protocol-intervention.md(在步骤 3 执行时读取 - 第 7-8 部分)references/04-protocol-operations.md(在步骤 4 执行时读取 - 第 9-12 部分)references/05-concatenate-protocol.md(在步骤 5 执行时读取 - 最终拼接)处理错误: 如果步骤失败,询问用户重试或退出。保存当前状态以便恢复能力。
显示进度: “进度:[X/6] 步骤完成”,显示预计剩余时间
步骤 4 完成暂停: 步骤 4 完成后,暂停并显示方案完成菜单(见下文)。在继续之前等待用户选择。
步骤 2.5:方案完成菜单
步骤 4 成功完成后,显示以下确切菜单(不要即兴发挥或创建替代选项):
✅ 方案完成:已生成方案草案
方案详情:
• 研究设计:[来自元数据的设计]
• 样本量:[来自元数据的 N 名受试者]
• 主要终点:[来自元数据的终点]
• 研究持续时间:[来自元数据的持续时间]
方案文件:waypoints/02_protocol_draft.md
文件大小:[大小,单位 KB]
📋 您接下来希望做什么?
1. 📄 在工件中审阅方案 - 点击上方的 .md 文件
2. 📄 拼接最终方案(步骤 5)
3. ⏸️ 退出并稍后审阅
选项 1 逻辑(在工件中审阅): 暂停,让用户打开部分文件,等待进一步指示
选项 2 逻辑(拼接方案):
references/05-concatenate-protocol.md 执行步骤 5选项 3 逻辑(退出):
步骤 3:最终摘要
显示完成消息,包含:
JSON 检查点(步骤 0, 1):
Markdown 检查点(步骤 2, 3, 4):
02_protocol_foundation.md(第 1-6 部分)03_protocol_intervention.md(第 7-8 部分)04_protocol_operations.md(第 9-12 部分)02_protocol_draft.md(拼接的完整方案)每个步骤实施积极的摘要:
每个子技能设计为:
⚠️ 重要: 此方案生成工具基于 NIH/FDA 指南和类似试验提供初步的临床研究方案。它不构成:
进行临床研究前必需:
强烈建议专业咨询
临床试验方案是复杂、高风险的文件,需要跨多个学科的专业知识。在进行临床研究规划之前,必须咨询临床试验专家、生物统计学家和监管事务专家的专业意见。
当此技能被调用时:
显示欢迎消息和模式选择(如“启动:欢迎和模式选择”部分所示)
等待用户模式选择(1:仅研究,2:完整方案,3:退出)
根据所选模式执行:
对于每个步骤执行(延迟加载 - 仅按需):
references/01-research-protocols.md 并遵循其说明研究摘要工件生成(仅研究模式):
waypoints/research_summary.md优雅处理错误:
跟踪进度:
waypoints/intervention_metadata.json最终输出:
每周安装次数
55
仓库
GitHub 星标数
117
首次出现
2026年1月23日
安全审计
安装于
opencode42
gemini-cli42
codex40
claude-code40
cursor36
github-copilot33
CRITICAL: This orchestrator follows a SIMPLE START approach:
Why this matters:
This skill generates clinical trial protocols for medical devices or drugs using a modular, waypoint-based architecture
Starting with an intervention idea (device or drug), this orchestrated workflow offers two modes:
🔬 Research Only Mode (Steps 0-1): 0. Initialize Intervention - Collect device or drug information
📄 Full Protocol Mode (Steps 0-5): 0. Initialize Intervention - Collect device or drug information
All analysis data is stored in waypoints/ directory as JSON/markdown files:
waypoints/
├── intervention_metadata.json # Intervention info, status, initial context
├── 01_clinical_research_summary.json # Similar trials, FDA guidance, recommendations
├── 02_protocol_foundation.md # Protocol sections 1-6 (Step 2)
├── 03_protocol_intervention.md # Protocol sections 7-8 (Step 3)
├── 04_protocol_operations.md # Protocol sections 9-12 (Step 4)
├── 02_protocol_draft.md # Complete protocol (concatenated in Step 4)
├── 02_protocol_metadata.json # Protocol metadata
└── 02_sample_size_calculation.json # Statistical sample size calculation
Rich Initial Context Support: Users can provide substantial documentation, technical specifications, or research data when initializing the intervention (Step 0). This is preserved in intervention_metadata.json under the initial_context field. Later steps reference this context for more informed protocol development.
Each step is an independent skill in references/ directory:
references/
├── 00-initialize-intervention.md # Collect device or drug information
├── 01-research-protocols.md # Clinical trials research and FDA guidance
├── 02-protocol-foundation.md # Protocol sections 1-6 (foundation, design, population)
├── 03-protocol-intervention.md # Protocol sections 7-8 (intervention details)
├── 04-protocol-operations.md # Protocol sections 9-12 (assessments, statistics, operations)
└── 05-generate-document.md # NIH Protocol generation
scripts/
└── sample_size_calculator.py # Statistical power analysis (validated)
Installation:
.mcpb file into Claude DesktopAvailable Tools: search_clinical_trials - Search by:
condition - Disease or condition (e.g., "pancreatic cancer") intervention - Drug, device, or treatment (e.g., "pembrolizumab", "CAR-T") sponsor - Sponsor or collaborator name (e.g., "Pfizer", "NIH") location - City, state, or country (e.g., "California", "Boston") status - "recruiting" (default), "active", "completed", "all" phase - Trial phase: "1", "2", "3", "4", "early_phase1" max_results - Default 25, max 100
get_trial_details - Get comprehensive details for a specific trial using its nct_id (e.g., "NCT04267848"). Returns eligibility criteria, outcomes, study design, and contact information.
Verification: Step 1 will automatically test MCP connectivity at startup.
Purpose: FDA regulatory pathway research via explicit database URLs
Sources:
Template Files: Any .md files in the assets/ directory
Purpose: Reference template for protocol structure and content guidance. The system automatically detects available templates and uses them dynamically.
Installation:
pip install -r requirements.txt
Dependencies:
Purpose: Accurate statistical sample size calculations for clinical protocols
Simply invoke the skill and select your desired mode:
🔬 Research Only Mode:
📄 Full Protocol Mode:
Resume Capability: If interrupted, simply restart the skill and it will automatically resume from your last completed step.
When skill is invoked, display the following message:
🧬 CLINICAL TRIAL PROTOCOL
Welcome! This skill generates clinical trial protocols for medical devices or drugs.
[If waypoints/intervention_metadata.json exists:]
✓ Found existing protocol in progress: [Intervention Name]
Type: [Device/Drug]
Completed: [List of completed steps]
Next: [Next step to execute]
📋 SELECT MODE:
1. 🔬 Research Only - Run clinical research analysis (Steps 0-1)
• Collect intervention information
• Research similar clinical trials
• Find FDA guidance and regulatory pathways
• Generate comprehensive research summary as .md artifact
2. 📄 Full Protocol - Generate complete clinical trial protocol (Steps 0-5)
• Everything in Research Only, plus:
• Generate all protocol sections
• Create professional protocol document
3. ❌ Exit
Please select an option (1, 2, or 3):
🛑 STOP and WAIT for user selection (1, 2, or 3)
execution_mode = "research_only" and proceed to Research Only Workflow Logicexecution_mode = "full_protocol" and proceed to Full Workflow LogicThis workflow executes only Steps 0 and 1, then generates a formatted research summary artifact.
Step 1: Check for Existing Waypoints
waypoints/intervention_metadata.json exists: Load metadata, check if steps 0 and 1 are already completeStep 2: Execute Research Steps (0 and 1)
For each step (0, 1):
Check completion status: If step already completed in metadata, skip with "✓ Step [X] already complete"
Execute step:
references/00-initialize-intervention.md (collect intervention info)references/01-research-protocols.md (clinical research and FDA guidance)Handle errors: If step fails, ask user to retry or exit. Save current state for resume capability.
Step 3: Generate Research Summary Artifact
After Step 1 completes successfully:
Read waypoint files:
waypoints/intervention_metadata.json (intervention details)waypoints/01_clinical_research_summary.json (research findings)Create formatted markdown summary: Generate a comprehensive, well-formatted research summary as a markdown artifact with the following structure:
# Clinical Research Summary: [Intervention Name]
## Intervention Overview
- **Type:** [Device/Drug]
- **Indication:** [Target condition/disease]
- **Description:** [Brief intervention description]
- **Mechanism of Action:** [How it works]
## Similar Clinical Trials
[List top 5-10 similar trials with NCT ID, title, phase, status, key findings]
## FDA Regulatory Pathway
- **Recommended Pathway:** [510(k), PMA, De Novo, IND, NDA, BLA, etc.]
- **Regulatory Basis:** [Rationale for pathway selection]
- **Key Requirements:** [Major regulatory considerations]
## FDA Guidance Documents
[List relevant FDA guidance documents with links and key excerpts]
## Study Design Recommendations
- **Suggested Study Type:** [RCT, single-arm, etc.]
- **Phase Recommendation:** [Phase 1, 2, 3, etc.]
- **Primary Endpoint Suggestions:** [Based on similar trials]
- **Sample Size Considerations:** [Preliminary thoughts]
## Key Insights and Recommendations
[Synthesized recommendations for protocol development]
## Next Steps
[If user wants to proceed with full protocol development]
---
*Generated by Clinical Trial Protocol Skill*
*Date: [Current date]*
3. Save artifact: Write the formatted summary to waypoints/research_summary.md
✅ RESEARCH COMPLETE
Research Summary Generated: waypoints/research_summary.md
📊 Key Findings:
• Similar Trials Found: [X trials]
• Recommended Pathway: [Pathway name]
• FDA Guidance Documents: [X documents identified]
• Study Design: [Recommended design]
📄 The research summary has been saved as a formatted markdown artifact.
Would you like to:
1. Continue with full protocol generation (steps 2-5)
2. Exit and review research summary
Option 1 Logic (Continue to Full Protocol):
execution_mode = "full_protocol"Option 2 Logic (Exit):
Step 1: Check for Existing Waypoints
waypoints/intervention_metadata.json exists: Load metadata, check completed_steps array, resume from next incomplete stepStep 2: Execute Steps in Order
For each step (0, 1, 2, 3, 4, 5):
Check completion status: If step already completed in metadata, skip with "✓ Step [X] already complete"
Execute step: Display "▶ Executing Step [X]...", read and follow the corresponding subskill file instructions, wait for completion, display "✓ Step [X] complete"
references/00-initialize-intervention.md (read when Step 0 executes)references/01-research-protocols.md (read when Step 1 executes)references/02-protocol-foundation.md (read when Step 2 executes - sections 1-6)references/03-protocol-intervention.md (read when Step 3 executes - sections 7-8)references/04-protocol-operations.md (read when Step 4 executes - sections 9-12)Step 2.5: Protocol Completion Menu
After Step 4 completes successfully, display the EXACT menu below (do not improvise or create alternative options):
✅ PROTOCOL COMPLETE: Protocol Draft Generated
Protocol Details:
• Study Design: [Design from metadata]
• Sample Size: [N subjects from metadata]
• Primary Endpoint: [Endpoint from metadata]
• Study Duration: [Duration from metadata]
Protocol file: waypoints/02_protocol_draft.md
File size: [Size in KB]
📋 WHAT WOULD YOU LIKE TO DO NEXT?
1. 📄 Review Protocol in Artifact - click on the .md file above
2. 📄 Concatenate Final Protocol (Step 5)
3. ⏸️ Exit and Review Later
Option 1 Logic (Review in Artifact): Pause, let user open the section files, wait for further instruction
Option 2 Logic (Concatenate Protocol):
references/05-concatenate-protocol.mdOption 3 Logic (Exit):
Step 3: Final Summary
Display completion message with:
JSON Waypoints (Steps 0, 1):
Markdown Waypoints (Steps 2, 3, 4):
02_protocol_foundation.md (Sections 1-6)03_protocol_intervention.md (Sections 7-8)04_protocol_operations.md (Sections 9-12)02_protocol_draft.md (concatenated complete protocol)Each step implements aggressive summarization:
Each subskill is designed to:
⚠️ IMPORTANT: This protocol generation tool provides preliminary clinical study protocol based on NIH/FDA guidelines and similar trials. It does NOT constitute:
REQUIRED before proceeding with clinical study:
PROFESSIONAL CONSULTATION STRONGLY RECOMMENDED
Clinical trial protocols are complex, high-stakes documents requiring expertise across multiple disciplines. Professional consultation with clinical trial experts, biostatisticians, and regulatory affairs specialists is essential before proceeding with clinical study planning.
When this skill is invoked:
Display the welcome message with mode selection (shown in "Startup: Welcome and Mode Selection" section)
Wait for user mode selection (1: Research Only, 2: Full Protocol, 3: Exit)
Execute based on selected mode:
For each step execution (LAZY LOADING - On-Demand Only):
references/01-research-protocols.md and follow its instructionsWeekly Installs
55
Repository
GitHub Stars
117
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubFailSocketFailSnykWarn
Installed on
opencode42
gemini-cli42
codex40
claude-code40
cursor36
github-copilot33
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
43,100 周安装
references/05-concatenate-protocol.md (read when Step 5 executes - final concatenation)Handle errors: If step fails, ask user to retry or exit. Save current state for resume capability.
Display progress: "Progress: [X/6] steps complete", show estimated remaining time
Step 4 Completion Pause: After Step 4 completes, pause and display the Protocol Completion Menu (see below). Wait for user selection before proceeding.
Research summary artifact generation (Research Only Mode):
waypoints/research_summary.mdHandle errors gracefully:
Track progress:
waypoints/intervention_metadata.json after each stepFinal output: