A skill your agent uses when designing a prospective clinical study before submission — selecting and classifying endpoints (primary / key-secondary / exploratory, with surrogate-endpoint flagging)…
Install the "clinical-research" agent skill from https://github.com/alirezarezvani/claude-skills/tree/main/research-ops/skills/clinical-research into .claude/skills/clinical-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinical-research", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add alirezarezvani/claude-skills --skill clinical-research -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "clinical-research" agent skill from https://github.com/alirezarezvani/claude-skills/tree/main/research-ops/skills/clinical-research into .agents/skills/clinical-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinical-research", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add alirezarezvani/claude-skills --skill clinical-research -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "clinical-research" agent skill from https://github.com/alirezarezvani/claude-skills/tree/main/research-ops/skills/clinical-research into .cursor/skills/clinical-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinical-research", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add alirezarezvani/claude-skills --skill clinical-research -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "clinical-research" agent skill from https://github.com/alirezarezvani/claude-skills/tree/main/research-ops/skills/clinical-research into .gemini/skills/clinical-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinical-research", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add alirezarezvani/claude-skills --skill clinical-research -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "clinical-research" agent skill from https://github.com/alirezarezvani/claude-skills/tree/main/research-ops/skills/clinical-research into .github/skills/clinical-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinical-research", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add alirezarezvani/claude-skills --skill clinical-research -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "clinical-research" agent skill from https://github.com/alirezarezvani/claude-skills/tree/main/research-ops/skills/clinical-research into .opencode/skills/clinical-research/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clinical-research", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
clinical-research
GitHub stars
28k
Token cost
~2.7k tokens
SKILL.md length
1,096 words
Files
11 (incl. scripts, references, assets)
Skills in repo
342
Repo updated
First seen
Licence
MIT
At a glance
A skill your agent uses when designing a prospective clinical study before submission — selecting and classifying endpoints (primary / key-secondary / exploratory, with surrogate-endpoint flagging)…
Works in 3 steps: sample_size_estimator.py — Closed-form… → endpoint_selector.py — Scores candidate… → phase_gate_scorer.py — Scores a study…
Designing a prospective clinical study before submission — selecting and classifying endpoints (primary / key-secondary / exploratory
SKILL.md covers Purpose, When to use, Workflow and Scripts, plus 8 more sections
Runs Python scripts from its folder; calls python3
What it does
Clinical Research is an agent skill from alirezarezvani/claude-skills. 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, never a finished…
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts, reference files and assets (for example `assets/protocol_synopsis_template.md`, `references/endpoint_and_power.md` and `references/study_design_canon.md`).
It sits in Research & Science, covering Experimental design and Clinical and healthcare research. The repository describes itself as: 380 Claude Code skills & agent skills & plugins (30+ Agents, 70+ custom commands, 380+ skills, customizable references, scripts)for Claude Code, Codex, Gemini CLI, Cursor, and 8… The licence is MIT.
When your agent uses it
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)
Scoring a study plan for feasibility and a GO / GO-WITH-CONDITIONS / REDESIGN / NO-GO phase-gate decision
Example prompts
“/clinical-research”
Requirements
Python 3
Workflow steps
3 steps, taken from the first numbered list in SKILL.md.
1sample_size_estimator.py — Closed-form power / sample-size for two-arm means (Cohen's d), proportions (normal approximation), and survival…
3phase_gate_scorer.py — Scores a study plan 0-100 across recruitment feasibility, endpoint readiness, statistical power, operational…
What it can do on your machine
Read from SKILL.md and the folder at commit 19392f7. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
Ships 6 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3
From the folder's file list and the shell code blocks in SKILL.md.
Network
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Clinical Research loads about 2.7k tokens when it runs, and up to ~5k if it reads all its reference files. Until then it costs about 169 tokens; SKILL.md has 1,096 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~169
When it runs· the whole SKILL.md, loaded when a task matches
~2.7k
With references· SKILL.md plus every file in references/, read only if the agent opens them
~5k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
Download SKILL.mdSave it as .claude/skills/clinical-research/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
clinical-research
description
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, never a finished protocol. Distinct from ra-qm-team, which handles the regulatory/QM submission (ISO 13485, EU MDR, FDA 510(k)/PMA/QSR), not the study design.
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.
Purpose
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.
When to use
Invoke this skill when:
You are choosing a primary endpoint and need to defend it against surrogate-endpoint scrutiny.
You need a defensible first sample-size estimate for a protocol synopsis.
A study plan needs a feasibility read before a phase-gate review.
You are pressure-testing whether the planned enrollment is achievable given the eligible population and sites.
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.
Workflow
Draft the synopsis — Fill assets/protocol_synopsis_template.md (objectives, design, population, endpoints, statistical plan placeholder, owners-to-sign).
Select the endpoint — Run endpoint_selector.py --input endpoints.json --profile {drug|device|biologic|diagnostic|digital-therapeutic}. Read the classification + surrogate flags. If >1 primary, plan multiplicity control.
Estimate the sample size — Run sample_size_estimator.py --design {means|proportions|survival} .... Trace the effect/difference/HR to a published or anchor-based source; inflate for dropout.
Score feasibility — Run phase_gate_scorer.py --input study.json --profile <same> --phase {1|2|3|4}. Read the verdict + blockers + named owners.
Route for sign-off — Assemble the synopsis + estimates into the gate packet. The packet is a recommendation; a biostatistician, medical monitor, and regulatory owner sign.
Scripts
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
All three: stdlib-only, --help, --sample, --output {human,json}.
Onboarding & customization
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.
bash
python3 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.
Optimize with autoresearch (opt-in)
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).
Isolated: no hard dependency — autoresearch runs only on demand, and the loop edits study.json, never the evaluator (locked ground truth).
References
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.
Show full SKILL.md (471 more words)Show less
Assumptions
Sample-size formulas use normal approximations with a built-in z-table. They are first-pass estimates; a biostatistician produces the final justification (and may use simulation, adaptive designs, or exact methods).
The endpoint scorer applies customary regulatory priors per development area via --profile. Company- or indication-specific precedent overrides the prior.
The phase-gate scorer bakes in a profile cost-per-patient benchmark; pass a real budget to override the default.
An unvalidated surrogate cannot anchor a PRIMARY endpoint — the scorer enforces this with a penalty.
Anti-patterns
Presenting a power estimate as fact. Every output is an estimate with a named owner who must sign.
Powering for a convenience effect size. The effect must trace to a published or anchor-based MCID, not to the n you can afford.
Anchoring a primary on an unvalidated surrogate. Surrogate endpoints need validation evidence for the indication.
Ignoring multiplicity. More than one primary endpoint requires pre-specified alpha allocation.
Skipping dropout inflation. Raw n undersizes the study; inflate by 1/(1 − dropout).
Distinct from
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
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.
"Is your primary endpoint a clinical outcome or a surrogate — and if surrogate, is it on FDA's validated table?"
Recommended: clinical outcome unless the surrogate is validated for this indication.
Canon: FDA Surrogate Endpoint Table; BEST (Biomarkers, EndpointS, and other Tools) glossary.
"What's the minimal clinically important difference you're powering for — and where did that number come from?"
Recommended: a published or anchor-based MCID, cited; never a convenience effect size.
Canon: ICH E9; Cohen Statistical Power Analysis.
"What dropout rate are you assuming, and is the sample size inflated for it?"
Recommended: inflate n by 1/(1 − dropout) using a justified rate.
Canon: Chow, Shao & Wang; ICH E9(R1).
"Single primary endpoint or multiple — and if multiple, what's the multiplicity control?"
Recommended: pre-specify alpha allocation (hierarchical / Bonferroni).
Canon: FDA Multiple Endpoints guidance (2022).
"Who is the named biostatistician / medical monitor / regulatory owner signing this synopsis?"
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.
Clinical Research next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Clinical Research compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Clinical Research this skillalirezarezvani/claude-skills
A skill your agent uses when drafting clinical trial protocol sections (objectives, background, study design) grounded in ICH guidelines (E6, E8, E9) and FDA regulations (21 CFR Part 312).
Computes sample size and power for clinical trials including continuous, binary, and time-to-event endpoints; superiority, non-inferiority, and equivalence designs; FDA 2016 non-inferiority margin…
Design and simulate adaptive clinical trials with interim analyses, decision rules, and operating-characteristic summaries; use when planning adaptive designs or comparing stopping, enrichment, or…
Clinical study operations — protocol structure, endpoint selection, eligibility design, sample-size and power planning, site feasibility, and documentation readiness.
App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store.
Reverse-engineers a frontend, backend or fullstack codebase into a product requirements document with per-page docs, an enum dictionary and an API inventory.
A skill your agent uses when designing a prospective clinical study before submission — selecting and classifying endpoints (primary / key-secondary / exploratory, with surrogate-endpoint flagging)…. Clinical Research is an agent skill from alirezarezvani/claude-skills. 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.
When should I use Clinical Research?
Clinical Research fits situations like: 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); scoring a study plan for feasibility and a GO / GO-WITH-CONDITIONS / REDESIGN / NO-GO phase-gate decision.
How do I install Clinical Research in Claude Code?
Run `npx skills add alirezarezvani/claude-skills --skill clinical-research -a claude-code`. Or copy the skill folder (research-ops/skills/clinical-research in alirezarezvani/claude-skills) into .claude/skills/clinical-research in your project. Claude Code loads it when a task matches its description.
How do I install Clinical Research in Codex?
Run `npx skills add alirezarezvani/claude-skills --skill clinical-research -a codex`. Or copy the skill folder (research-ops/skills/clinical-research in alirezarezvani/claude-skills) into .agents/skills/clinical-research in your project. Codex loads it when a task matches its description.
Can I use Clinical Research in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alirezarezvani/claude-skills --skill clinical-research -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clinical-research, .gemini/skills/clinical-research, .github/skills/clinical-research and .opencode/skills/clinical-research in your project.
What does Clinical Research need to run?
Going by SKILL.md and its folder, Clinical Research needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.
Does Clinical Research access the network?
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Is Clinical Research safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
What licence does Clinical Research use?
Clinical Research is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Clinical Research use?
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.3k tokens, read only when the agent opens those files.
What are the alternatives to Clinical Research?
Skills that share tags, products or a category with Clinical Research: Clinical Protocol Drafting (aws-samples/amazon-bedrock-agents-healthcare-lifesciences, 274 stars), Bio Clinical Biostatistics Adaptive Designs (GPTomics/bioSkills, 1.2k stars), Bio Clinical Biostatistics Power Sample Size (GPTomics/bioSkills, 1.2k stars) and Adaptive Trial Simulator (aipoch/medical-research-skills, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Clinical Research?
alirezarezvani (a GitHub user) maintains it in alirezarezvani/claude-skills, which has 27,938 GitHub stars. The repository holds 342 skills in this directory. The repository was last updated on August 30, 2026.
Source: alirezarezvani/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.