Logo Protocol Writing

Protocol Writing

Tổ chức
HeartWise-AI
protocol-writing

Guide for writing high-quality clinical research protocols for AI-based diagnostic studies, validation trials, and retrospective analyses. Use when drafting or reviewing a research protocol for AI in medicine.

Tổng quan

Nhà phát hànhHeartWise-AI
Kho mãai-writing-skills
Tên kỹ năngprotocol-writing
Sao
28
Bản fork
6
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được HeartWise-AI công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Protocol Writing trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/HeartWise-AI/ai-writing-skills/tree/main/protocol-writing
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HeartWise-AI/ai-writing-skills.git /tmp/ai-writing-skills
mkdir -p .claude/skills
cp -r /tmp/ai-writing-skills/protocol-writing .claude/skills/protocol-writing
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Protocol Writing trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Protocol Writing ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Protocol Writing với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Research Protocol Writing

Overview

This skill guides the generation of high-quality clinical research protocols for AI-based diagnostic studies, validation trials, and retrospective analyses.

Protocol Structure

1. Title Page

  • Full protocol title (descriptive, includes study design)
  • Protocol version and date
  • Principal investigator(s) and affiliations
  • Funding sources
  • Ethics approval reference (if applicable)

2. Synopsis

One-page summary containing:

  • Study title
  • Objectives (primary, secondary, exploratory)
  • Study design
  • Population (inclusion/exclusion)
  • Sample size
  • Primary endpoint
  • Timeline

3. Introduction

Structure:

  1. Clinical context (2-3 sentences): Disease burden, current diagnostic standard
  2. Knowledge gap (2-3 sentences): What is unknown or suboptimal
  3. Proposed solution (1-2 sentences): How AI/technology addresses the gap
  4. Study rationale (1-2 sentences): Why this study is needed now

Style:

  • No headers within introduction
  • Flow naturally from problem to solution
  • Cite key statistics (prevalence, mortality, diagnostic accuracy)
  • Avoid overpromising

4. Literature Review / Background

Structure:

  1. Disease pathophysiology (brief)
  2. Current diagnostic approaches and limitations
  3. Prior AI/ML work in this domain
  4. Foundation models or methods being leveraged
  5. Knowledge gaps justifying the study

Style:

  • Concise paragraphs, not exhaustive
  • Focus on directly relevant prior work
  • Identify specific gaps your study addresses
  • 1-2 pages maximum

5. Objectives and Hypotheses

Format:

3.1 Primary Objective
To [verb] the [metric] of [intervention/model] for [outcome] using [comparator].

3.2 Secondary Objectives
- To develop/validate [model B, C, etc.]
- To assess performance stratified by [subgroups]
- To evaluate [additional endpoints]

3.3 Exploratory Objectives
- To investigate [mechanistic questions]
- To explore [hypothesis-generating analyses]

Rules:

  • One primary objective only
  • Objectives are measurable and time-bound
  • Match each objective to evaluation criteria

6. Evaluation Criteria

Format as table:

ObjectiveEvaluation CriteriaJustification
PrimaryAUROC, sensitivity, specificity, PPV, NPVStandard diagnostic metrics
SecondarySubgroup AUROC, calibrationGeneralizability assessment

Standard metrics for diagnostic AI:

  • AUROC, AUPRC
  • Sensitivity at fixed specificity (80%, 90%)
  • Specificity at fixed sensitivity (80%, 90%)
  • PPV, NPV
  • Calibration (observed vs. predicted)
  • Net reclassification improvement (NRI)

7. Study Design and Population

7.1 Design Statement Single sentence: "This is a [retrospective/prospective] [cohort/validation/diagnostic accuracy] study..."

7.2 Population

  • Source population and setting
  • Timeframe
  • Label definitions (positive, negative, extended controls)

7.3 Inclusion Criteria

  • Numbered list
  • Age, diagnosis, data availability requirements
  • Be specific about imaging/ECG quality standards

7.4 Exclusion Criteria

  • Conditions that confound the outcome
  • Prior treatments affecting the index test
  • Data quality exclusions

8. Variables and Data Sources

Format as table:

CategoryVariableSourceIn Biobank?
DemographicsAge, sexEHRYes
ClinicalBMI, comorbiditiesClinic DBNo

Categories:

  • Demographics/Clinical
  • Genetic
  • ECG parameters
  • Imaging (Echo, CMR)
  • Outcomes/Labels

9. Outcomes

9.1 Primary Outcome

  • Clear definition with thresholds
  • Source of ascertainment
  • Adjudication process (if applicable)

9.2 Secondary Outcomes

  • List with definitions

9.3 Label Definitions (for AI studies)

LabelDefinition
Positive[Specific criteria]
Negative[Specific criteria]
Extended Negative[Controls without disease]

10. Methods

10.1 Data Collection

  • Sources, extraction process, quality control
  • Reference biobanks/registries used

10.2 Data Preprocessing

  • Signal processing (filtering, normalization)
  • Image preprocessing (resolution, cropping)
  • Missing data handling

10.3 Modeling For each model, specify:

Model [X]: [Name]
- Architecture: [backbone, layers]
- Input: [data type, dimensions]
- Pretraining: [foundation model, if applicable]
- Fine-tuning strategy: [frozen layers, learning rate]
- Output: [prediction type]
- Loss function: [BCE, MSE, etc.]

Hyperparameter Table:

ParameterValueRationale
OptimizerAdamWWeight decay regularization
Learning rate1e-4Conservative for fine-tuning
Batch size64Memory/stability tradeoff
Epochs100Early stopping, patience=15

Ablation Experiments Table:

ExperimentDescription
A1[Variation to test]
A2[Variation to test]

11. Statistical Analysis

11.1 Sample Size

  • Power calculation or justification for available sample
  • Expected prevalence, desired precision

11.2 Primary Analysis

  • Metrics computed with 95% CI (bootstrap or DeLong)
  • Comparison to reference standard

11.3 Secondary Analyses

  • Subgroup analyses (prespecified)
  • Sensitivity analyses

11.4 Software

  • Python (scikit-learn, PyTorch), R, SAS
  • Version numbers

12. Training and Validation Strategy

ParameterValue
Data split70% train / 15% val / 15% test
Cross-validation5-fold stratified
StratificationBy outcome and key confounders
Random seedFixed (e.g., 42)

13. Ethics and Data Governance

  • IRB/REB approval status
  • Consent requirements (or waiver justification)
  • Data security measures
  • Reference to data governance framework (e.g., Cadre de Gestion)

14. Timeline

PhaseActivitiesDuration
1Data preparationMonths 1-3
2Model developmentMonths 4-8
3ValidationMonths 9-12
4Prospective pilotMonths 13-18

15. Feasibility

Brief section addressing:

  • Data availability and sample size adequacy
  • Computational resources
  • Team expertise
  • Funding

16. References

Standard citation format (Vancouver or APA)


Style Guidelines

General:

  • Use active voice
  • Be specific and quantitative
  • Avoid jargon; define abbreviations
  • No em dashes; use commas or parentheses
  • No excessive hedging

Tables over prose:

  • Hyperparameters → table
  • Variables → table
  • Timeline → table
  • Inclusion/exclusion → bulleted list

Scientific precision:

  • Report thresholds (e.g., "≥70% stenosis" not "significant stenosis")
  • Specify units
  • Define all acronyms at first use

Formatting:

  • Numbered sections (1, 1.1, 1.1.1)
  • Bold for section headers
  • Minimal use of italics
  • No bullet points in flowing text; reserve for lists

Quick Reference: Section Lengths

SectionTarget Length
Synopsis1 page
Introduction0.5-1 page
Background1-2 pages
Objectives0.5 page
Methods3-5 pages
Statistical Analysis1-2 pages
Ethics0.5 page
Timeline/Feasibility0.5 page each

Checklist Before Submission

  • Primary objective is single and measurable
  • Inclusion/exclusion criteria are specific
  • Outcomes have clear definitions with thresholds
  • Sample size justified
  • All models have architecture and hyperparameters specified
  • Ablation experiments defined
  • Data sources and biobank coverage clarified
  • Ethics/consent addressed
  • Timeline realistic
  • All abbreviations defined

Câu hỏi thường gặp

Kỹ năng AI Protocol Writing làm được gì?

Guide for writing high-quality clinical research protocols for AI-based diagnostic studies, validation trials, and retrospective analyses. Use when drafting or reviewing a research protocol for AI in medicine.

Vì sao nên dùng Protocol Writing trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Protocol Writing là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Protocol Writing trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/HeartWise-AI/ai-writing-skills/tree/main/protocol-writing. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Protocol Writing?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Protocol Writing với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Protocol Writing với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Protocol Writing có miễn phí không?

Kỹ năng này được HeartWise-AI phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇