Clinical trial

From beita6969/ScienceClaw · View interactive version

Clinical trial is an AI agent skill from the GitHub repository beita6969/ScienceClaw. Designs and analyzes clinical trials including sample size calculation, randomization schemes, endpoint selection, CONSORT reporting, and interim analysis planning; trigger when users ask about RCTs, Phase I-IV trials, or clinical study design.

How to use this skill

Skill file

When to Trigger

Activate this skill when the user mentions:

Step-by-Step Methodology

  1. Define the research question - Specify PICO (Population, Intervention, Comparator, Outcome). Determine if superiority, non-inferiority, or equivalence design is appropriate.
  2. Select trial phase and design - Choose phase (I: safety/dose, II: efficacy signal, III: confirmatory, IV: post-market). Consider parallel, crossover, factorial, or adaptive designs.
  3. Primary endpoint selection - Define primary outcome (must be clinically meaningful). Specify measurement timing and minimal clinically important difference (MCID).
  4. Sample size calculation - Specify alpha (typically 0.05, two-sided), power (typically 80-90%), expected effect size, and dropout rate. Use appropriate formula for the endpoint type (continuous, binary, time-to-event).
  5. Randomization and blinding - Recommend randomization method (simple, block, stratified, minimization). Specify blinding level (open-label, single, double, triple).
  6. Statistical analysis plan - Pre-specify primary analysis method (t-test, chi-square, log-rank, mixed models). Define interim analysis schedule with alpha-spending function (O'Brien-Fleming, Lan-DeMets).
  7. Reporting - Follow CONSORT for RCTs, STROBE for observational, SPIRIT for protocols. Include flow diagram, enrollment numbers, and all pre-specified analyses.

Key Databases and Tools

Output Format

Quality Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.