Logo di Write Protocol

Write Protocol

Organizzazione
Aperivue
write-protocol

Use when drafting an IRB or ethics research protocol. Writes Background, Study Design, Sample Size and Statistical Plan in full prose and leaves institution-specific sections as TODO skeletons. Filling an institutional Word form is /fill-protocol.

Panoramica

Pubblicato daAperivue
Repositorymedsci-skills
Nome della skillwrite-protocol
Stelle
349
Fork
82
File inclusi
3
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da Aperivue su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Write Protocol in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Aperivue/medsci-skills/tree/main/skills/write-protocol
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Aperivue/medsci-skills.git /tmp/medsci-skills
mkdir -p .claude/skills
cp -r /tmp/medsci-skills/skills/write-protocol .claude/skills/write-protocol
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Write Protocol in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Write Protocol non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Write Protocol non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Write-Protocol Skill

Draft the scientific core of an IRB/ethics protocol and leave institution-specific sections as [TODO] skeletons. Read both reference files before generating a protocol draft:

  • ${CLAUDE_SKILL_DIR}/references/protocol_template.md -- the 10-section structure, per-section guidance, and the [TODO] blocks for Sections 5-9
  • ${CLAUDE_SKILL_DIR}/references/ethics_checklist.md -- jurisdiction-specific ethical requirements

Inputs

Collect the required inputs before generating; ask for any that are missing.

  • Required: research question / hypothesis (specific, testable); study type (retrospective cohort, prospective cohort, cross-sectional, RCT, diagnostic accuracy, case-control, case series); target population (who, where, when); primary outcome; secondary outcomes (if any).
  • Optional: key references (DOIs or search terms); institution name (header and ethics guidance); regulatory context -- Korea (PIPA), US (HIPAA/Common Rule), EU (GDPR), other.

Use prior skill outputs directly when they exist; when they do not, ask the user or call the skill:

  • design-study: design recommendations, analysis unit, comparator design, validation strategy.
  • calc-sample-size: protocol/sample_size_justification.md (canonical IRB-ready prose) and protocol/sample_size_calc.{R,py} (reproducible code).
  • search-lit: Background references with verified citations.
  • define-variables: variable_operationalization.md -- literature-grounded definitions, cutoffs, DB-variable mappings for the Methods section. Precondition: if the study is observational and no operationalization artifact exists, call /define-variables before drafting Methods. Do not invent phenotype/cutoff definitions from the data dictionary inside this skill.

Protocol Structure -- 10 Sections

Core Sections (Fully Generated)

Section 1: Background and Rationale (400-600 words)

Full paragraphs, no bullet points, flowing from clinical context (disease burden, current practice) through the knowledge gap and rationale (what this study adds) to the research question or hypothesis. Call /search-lit if key references are not provided. Cite a reference only with a /search-lit-confirmed DOI or PMID; otherwise mark it [UNVERIFIED - NEEDS MANUAL CHECK].

Section 2: Study Design and Eligibility Criteria (300-500 words)

Prose covering the study design with its justification (why this design answers this question), the setting (single-center vs multi-center, institution description) and the study period, followed by numbered inclusion and numbered exclusion criteria. If design-study output is available, incorporate its analysis unit (patient vs lesion vs exam), comparator design, validation strategy, and leakage risks with mitigations. Mark any clinical definition, diagnostic criterion or guideline recommendation you cannot confirm [VERIFY] and ask the user.

Section 3: Sample Size Justification (150-300 words)
  • If protocol/sample_size_justification.md exists (calc-sample-size output): embed it VERBATIM. Do not rephrase numbers.
  • If not available: prompt the user to run /calc-sample-size first; only fall back to a basic justification if the user explicitly declines.
  • Must include: test type, expected effect size (with literature source), alpha level, power, attrition adjustment.
  • Final statement: "We plan to enroll N participants."
Section 4: Statistical Analysis Plan (300-500 words)

Full prose covering: descriptive statistics (continuous as mean (SD) or median (IQR); categorical as count (%)); the primary analysis (test, assumptions, handling of violations); pre-specified secondary analyses; pre-specified subgroup analyses with interaction tests; missing-data handling (complete case, multiple imputation, sensitivity analysis); software name and version (e.g., R 4.4.0, Python 3.12, SAS 9.4); two-sided alpha = 0.05 unless otherwise justified.

Skeleton Sections (TODO Markers)

Sections 5-9 are the [TODO] blocks from protocol_template.md, copied as they are; never fill them with invented institutional content.

  • Section 5: Study Title and Registration
  • Section 6: Data Collection and Management
  • Section 7: Ethical Considerations -- also add the template's jurisdiction guidance for the regulatory context, and use ethics_checklist.md for the full checklist.
  • Section 8: Timeline and Milestones
  • Section 9: Budget
Section 10: References

A numbered list of the Section 1 citations, the Section 3 effect-size sources, and any references in the calc-sample-size output. Every entry has a verified DOI or PMID or is marked [UNVERIFIED - NEEDS MANUAL CHECK].


Output Format

Generate a single markdown file: protocol_draft.md

  • All 10 sections with clear numbering (1. through 10.)
  • Core sections (1-4) in full prose; the Section 2 eligibility criteria are the only lists
  • Skeleton sections (5-9) with [TODO] markers clearly visible
  • Word count targets noted in comments at the start of each core section
  • Institution name in the header if provided

After generating, tell the user which sections are ready for review, which [TODO] items need their input, and the next steps (e.g., "Fill in Section 5 title and registration, then adapt Section 7 to your IRB form").

Quality Checks

Before delivering the protocol:

  1. Citation integrity: every reference has a DOI or PMID, or is marked [UNVERIFIED - NEEDS MANUAL CHECK]
  2. Internal consistency: sample size in Section 3 matches the analysis plan in Section 4
  3. Design alignment: study type in Section 2 matches the statistical approach in Section 4
  4. TODO completeness: all institution-specific items have [TODO] markers
  5. Word counts: core sections fall within target ranges
  6. No AI patterns: avoid phrases like "it is worth noting", "comprehensive", "plays a crucial role"

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Write Protocol?

Use when drafting an IRB or ethics research protocol. Writes Background, Study Design, Sample Size and Statistical Plan in full prose and leaves institution-specific sections as TODO skeletons. Filling an institutional Word form is /fill-protocol.

Perché usare Write Protocol su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Write Protocol è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Write Protocol in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Aperivue/medsci-skills/tree/main/skills/write-protocol. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Write Protocol?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Write Protocol?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Write Protocol: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Write Protocol è gratuita?

Sì. È pubblicata su GitHub da Aperivue con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇