Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when designing a prospective clinical study before submission — selecting and classifying endpoints (primary / key-secondary / exploratory, with surrogate-endpoint flagging), estimating sample size and power for two-arm designs (means / proportions / survival), or scoring a study plan for feasibility and a GO / GO-WITH-CONDITIONS / REDESIGN / NO-GO phase-gate decision. Every output is an ESTIMATE plus a named human owner (clinician / biostatistician / regulatory owner) — never clinical fact,
.claude/skills/itamarzand88-clinical-research/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-12 | ✗→✓ | ▲ Improved | 44% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 18% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 44% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 27% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 168% | 0% |
<!-- source: alireza-clinical-research — https://raw.githubusercontent.com/alirezarezvani/claude-skills/main/research-ops/skills/clinical-research/SKILL.md -->
Prospective clinical study DESIGN: endpoints, sample size / power, and phase-gate feasibility. Every output is an estimate with stated assumptions routed to a named human owner. This skill never gives clinical advice as fact and never substitutes for a biostatistician or regulatory affairs.
R&D clinical teams, medical monitors, and biostatistics functions live at the moment between we-have-a-hypothesis and we-have-a-protocol-ready-for-submission. This skill structures three of the hardest design decisions:
Three deterministic tools:
sample_size_estimator.py — Closed-form power / sample-size for two-arm means (Cohen's d), proportions (normal approximation), and survival (Schoenfeld events). Inflates for dropout. Prints an "ESTIMATE — confirm with a biostatistician" banner.endpoint_selector.py — Scores candidate endpoints across 5 weighted dimensions (clinical relevance, measurability, regulatory acceptance, sensitivity-to-change, burden) and classifies each as PRIMARY / KEY-SECONDARY / EXPLORATORY. Penalizes unvalidated surrogate endpoints.phase_gate_scorer.py — Scores a study plan 0-100 across recruitment feasibility, endpoint readiness, statistical power, operational complexity, and budget fit; returns GO / GO-WITH-CONDITIONS / REDESIGN / NO-GO plus the named owners who must sign.Invoke this skill when:
Do NOT use this skill to: prepare a regulatory submission or clinical evaluation report (use ra-qm-team), find or position a grant (use research/grants), design a live product A/B experiment (use product-team/experiment-designer), or replace a biostatistician's final sample-size justification.
assets/protocol_synopsis_template.md (objectives, design, population, endpoints, statistical plan placeholder, owners-to-sign).endpoint_selector.py --input endpoints.json --profile {drug|device|biologic|diagnostic|digital-therapeutic}. Read the classification + surrogate flags. If >1 primary, plan multiplicity control.sample_size_estimator.py --design {means|proportions|survival} .... Trace the effect/difference/HR to a published or anchor-based source; inflate for dropout.phase_gate_scorer.py --input study.json --profile <same> --phase {1|2|3|4}. Read the verdict + blockers + named owners.| Script | Purpose | Profiles | |---|---|---| | scripts/sample_size_estimator.py | Power / sample-size for means, proportions, survival | n/a (design-driven) | | scripts/endpoint_selector.py | 5-dimension endpoint scoring + classification + surrogate flag | drug, device, biologic, diagnostic, digital-therapeutic | | scripts/phase_gate_scorer.py | Feasibility 0-100 + GO/GO-WITH-CONDITIONS/REDESIGN/NO-GO + owners | drug, device, biologic, diagnostic, digital-therapeutic |
All three: stdlib-only, --help, --sample, --output {human,json}.
Run the onboarding questionnaire once before you start — it captures your defaults and named owners so every tool in this skill is pre-configured. Customization is the point: the answers actually change tool behavior.
bashpython3 scripts/onboard.py # interactive (also: --defaults, --set key=value, --reset) python3 scripts/onboard.py --show # see the questions + current effective config
Answers are saved to ~/.config/research-ops/clinical-research.json (global) or ./.research-ops/clinical-research.json (--scope project) and are read automatically by config_loader.py. They set the default development-area profile, default alpha / power / dropout, and the named biostatistician / medical monitor / regulatory owner printed on outputs. CLI flags always override saved config; RESEARCH_OPS_NO_CONFIG=1 ignores it entirely.
The seven questions: development area · alpha · power · dropout · biostatistician · medical monitor · regulatory owner.
This skill ships an isolated, opt-in bridge to engineering/autoresearch-agent. Only when you ask to "optimize" / "run a loop" does an autoresearch experiment iteratively improve a study plan against this skill's own feasibility score. scripts/ar_evaluator.py is the ground-truth evaluator; it prints feasibility_composite: <0-100> (higher is better).
bash/ar:setup --domain custom --name trial-feasibility \ --target study.json \ --eval "python3 ar_evaluator.py --target study.json" \ --metric feasibility_composite --direction higher /ar:loop custom/trial-feasibility
Isolated: no hard dependency — autoresearch runs only on demand, and the loop edits study.json, never the evaluator (locked ground truth).
references/study_design_canon.md — ICH E8(R1) general considerations; ICH E9 + E9(R1) estimand addendum; CONSORT 2010; SPIRIT 2013; FDA Multiple Endpoints guidance (2022).references/endpoint_and_power.md — Cohen Statistical Power Analysis; Schoenfeld (1983) survival sample size; FDA Surrogate Endpoint Table / BEST glossary; FDA PRO guidance (2009); Chow, Shao & Wang Sample Size Calculations in Clinical Research.references/trial_operations.md — ICH E6(R2/R3) GCP; TransCelerate risk-based monitoring; FDA RBM guidance; CTTI recruitment best practices; site-feasibility scoring literature.--profile. Company- or indication-specific precedent overrides the prior.| Sibling / neighbor | Scope | Difference | |---|---|---| | ra-qm-team | ISO 13485 QMS, ISO 14971 risk, EU MDR tech docs + clinical evaluation, FDA 510(k)/PMA/De Novo/QSR submission | That is the submission; clinical-research designs the study beforehand | | research/grants | NIH funding discovery + positioning | That finds funding; this designs the trial | | product-team/experiment-designer | Live product A/B hypothesis + sample size | That is a product experiment; this is a clinical trial | | research-finance (sibling) | R&D program budget + burn | That funds the program; this scopes the study |
bashpython3 scripts/sample_size_estimator.py --sample python3 scripts/sample_size_estimator.py --design proportions --p1 0.30 --p2 0.45 --dropout 0.15 python3 scripts/endpoint_selector.py --sample python3 scripts/phase_gate_scorer.py --sample --output json
The sample correctly flags an unvalidated serum-cytokine surrogate (cannot be primary) and ranks PASI-75 as the PRIMARY endpoint; the phase-gate sample returns a verdict with a named owner chain.
Walked one at a time by /cs:grill-research-ops or the orchestrator. Recommended answer + canon citation per question. Never bundled.
Recommended: clinical outcome unless the surrogate is validated for this indication. Canon: FDA Surrogate Endpoint Table; BEST (Biomarkers, EndpointS, and other Tools) glossary.
Recommended: a published or anchor-based MCID, cited; never a convenience effect size. Canon: ICH E9; Cohen Statistical Power Analysis.
Recommended: inflate n by 1/(1 − dropout) using a justified rate. Canon: Chow, Shao & Wang; ICH E9(R1).
Recommended: pre-specify alpha allocation (hierarchical / Bonferroni). Canon: FDA Multiple Endpoints guidance (2022).
Recommended: name them now — this output is a recommendation, not a protocol. Canon: ICH E6(R2) GCP roles & responsibilities.
Walk depth-first. Lock 1-2 before opening 3-5. After all are answered, invoke endpoint_selector.py → sample_size_estimator.py → phase_gate_scorer.py.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-12 | fail→pass | 11,041 | 3,237 | -71% | 1 | 1 | 0% | 2,229 | 3,204 | +44% | 0 | 0 | — |
case-13 | pass→pass | 8,737 | 1,999 | -77% | 1 | 1 | 0% | 1,734 | 2,907 | +68% | 0 | 0 | — |
case-05 | fail→pass | 14,728 | 4,185 | -72% | 1 | 1 | 0% | 2,814 | 3,329 | +18% | 0 | 0 | — |
case-11 | fail→pass | 11,759 | 3,825 | -67% | 1 | 1 | 0% | 2,364 | 3,393 | +44% | 0 | 0 | — |
case-01 | fail→pass | 20,441 | 10,141 | -50% | 1 | 1 | 0% | 3,520 | 4,467 | +27% | 0 | 0 | — |
case-02 | fail→pass | 28,042 | 20,639 | -26% | 1 | 1 | 0% | 2,500 | 6,693 | +168% | 0 | 0 | — |
case-03 | fail→fail | 12,793 | 17,528 | +37% | 1 | 1 | 0% | 2,294 | 5,765 | +151% | 0 | 0 | — |
case-04 | fail→pass | 25,399 | 13,290 | -48% | 1 | 1 | 0% | 5,117 | 5,393 | +5% | 0 | 0 | — |
case-06 | fail→fail | 9,200 | 12,445 | +35% | 1 | 1 | 0% | 2,222 | 5,363 | +141% | 0 | 0 | — |
case-07 | pass→pass | 13,063 | 10,176 | -22% | 1 | 1 | 0% | 2,471 | 4,532 | +83% | 0 | 0 | — |
case-08 | pass→pass | 4,370 | 5,761 | +32% | 1 | 1 | 0% | 1,102 | 3,758 | +241% | 0 | 0 | — |
case-09 | fail→pass | 14,651 | 15,378 | +5% | 1 | 1 | 0% | 2,928 | 5,743 | +96% | 0 | 0 | — |
case-10 | fail→pass | 15,142 | 8,985 | -41% | 1 | 1 | 0% | 2,817 | 4,323 | +53% | 0 | 0 | — |
case-14 | pass→pass | 7,824 | 2,038 | -74% | 1 | 1 | 0% | 1,705 | 2,937 | +72% | 0 | 0 | — |
case-15 | fail→pass | 15,266 | 1,718 | -89% | 1 | 1 | 0% | 1,486 | 2,899 | +95% | 0 | 0 | — |
case-16 | fail→pass | 13,242 | 3,445 | -74% | 1 | 1 | 0% | 2,588 | 2,795 | +8% | 0 | 0 | — |
case-17 | fail→pass | 21,104 | 2,450 | -88% | 1 | 1 | 0% | 2,087 | 3,016 | +45% | 0 | 0 | — |
case-18 | pass→pass | 11,679 | 10,818 | -7% | 1 | 1 | 0% | 2,476 | 4,649 | +88% | 0 | 0 | — |
case-19 | fail→pass | 8,205 | 1,593 | -81% | 1 | 1 | 0% | 1,879 | 2,859 | +52% | 0 | 0 | — |
case-20 | fail→pass | 17,211 | 1,858 | -89% | 1 | 1 | 0% | 917 | 2,874 | +213% | 0 | 0 | — |
case-21 | fail→pass | 7,375 | 3,541 | -52% | 1 | 1 | 0% | 1,395 | 3,276 | +135% | 0 | 0 | — |
case-22 | fail→pass | 9,420 | 3,420 | -64% | 1 | 1 | 0% | 1,686 | 3,138 | +86% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 21 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +68 percentage points is the difference between those two pass rates over the 21 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.