Logo van Protocol Writing

Protocol Writing

Organisatie
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.

Overzicht

UitgeverHeartWise-AI
Repositoryai-writing-skills
Skillnaamprotocol-writing
Sterren
28
Forks
6
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door HeartWise-AI op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Protocol Writing in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/HeartWise-AI/ai-writing-skills/tree/main/protocol-writing
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Protocol Writing in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Protocol Writing automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Protocol Writing niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Veelgestelde vragen

Wat doet de AI-skill 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.

Waarom Protocol Writing gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Protocol Writing bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Protocol Writing in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/HeartWise-AI/ai-writing-skills/tree/main/protocol-writing. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Protocol Writing gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Protocol Writing gebruiken?

Zoveel als je wilt. Je kunt Protocol Writing gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Protocol Writing gratis?

Deze skill is door HeartWise-AI op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇