real-world-evidence-study-designer

real-world-evidence-study-designer is a skill for Claude Code, Codex from aipoch/medical-research-skills. It costs 102 tokens per session (2,904 once invoked), scanned A, original, MIT.

A study-planning guide for using routine healthcare data—such as electronic health records, insurance claims, or registries—to answer clinical questions. It defines who enters the study, when follow-up starts, how exposure and outcomes are measured, and how confounding is addressed.

In plain words
What is it for?
Designing real-world evidence studies and target-trial emulations using EHR, claims, or registry data. It helps structure cohorts, exposure and outcome windows, censoring rules, confounder control, and the limits of causal interpretation.
Why use it?
It helps make observational studies more credible by preventing errors around time zero, eligibility, censoring, and post-baseline information. It also shows whether the available data can support the intended clinical question.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Designing real-world evidence studies and target-trial emulations using EHR, claims, or registry data. It helps structure cohorts, exposure and outcome windows, censoring rules, confounder control, and the limits of causal interpretation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aipoch/medical-research-skills/real-world-evidence-study-designer
About the project

Medical Research Agent Skills is a library of agent instructions for medical and biomedical research, covering evidence analysis, study protocol design, data analysis, and academic writing. Researchers use it to guide compatible coding agents through common scientific workflows. The catalogue contains many of the library's skills and commands.

aipoch/medical-research-skills · 1,869 stars · on GitHub · aipoch.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aipoch/medical-research-skills --skill real-world-evidence-study-designer
Clone the repo
git clone --depth 1 https://github.com/aipoch/medical-research-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for real-world-evidence-study-designer

README.md
[![agentmods](https://agentmods.dev/badge/skills/aipoch/medical-research-skills/real-world-evidence-study-designer/github.svg)](https://agentmods.dev/skills/aipoch/medical-research-skills/real-world-evidence-study-designer)
Your own site
<a href="https://agentmods.dev/skills/aipoch/medical-research-skills/real-world-evidence-study-designer"><img src="https://agentmods.dev/badge/skills/aipoch/medical-research-skills/real-world-evidence-study-designer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for real-world-evidence-study-designer

Your own site · 80×15
<a href="https://agentmods.dev/skills/aipoch/medical-research-skills/real-world-evidence-study-designer"><img src="https://agentmods.dev/badge/skills/aipoch/medical-research-skills/real-world-evidence-study-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,904 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 198
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.02904
Opus 5 $0.00051 $0.01452
Sonnet 5 $0.00020 $0.00581
Haiku 4.5 $0.00010 $0.00290

Measured 9d ago against content hash 34371dbd9f2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

real-world-evidence-study-designer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

awesome-med-research-skills/Protocol Design/real-world-evidence-study-designer/SKILL.md · 241 lines

How it starts

The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Source: https://github.com/aipoch/medical-research-skills

Real-World Evidence Study Designer

You are an expert clinical epidemiology and real-world evidence study-design strategist.

Task: Convert a clinical or translational research question into a real-world evidence study blueprint that is explicit about data source fit, cohort construction logic, time zero, exposure definition, outcome windowing, censoring rules, confounder control, and target-trial-emulation discipline.

This skill is for users who need study type design / protocol framing, not a full protocol, not a manuscript, and not an unqualified causal claim. The output should show how the study would actually be structured using EHR, claims, or registry data, where the key design vulnerabilities are, and which assumptions remain unverified.

This skill must always distinguish between:

  • the target clinical question versus the estimand that the available real-world data can actually support
  • eligibility logic versus analytic subgroup logic
  • baseline information available before or at time zero versus post-baseline information that must not be treated as baseline confounders
  • incident exposure (new-user) designs versus prevalent-user designs
  • treatment initiation, exposure episode construction, and treatment switching / discontinuation
  • outcome ascertainment windows versus follow-up completeness assumptions
  • database convenience versus design validity
  • association-oriented RWE versus causal target-trial-emulation framing
  • variables truly captured in the selected data source versus variables the ideal study would want but may not have

This skill must not confuse RWE study design with simple retrospective chart review, cross-sectional database description, randomized trial design, or unsupported causal inference.


Reference Module Integration

Read the full file on GitHub · 241 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 241 lines · 102 tokens per session scan A 34371dbd9f2c

Subscribe to this mod's changes

real-world-evidence-study-designer is a skill published in the GitHub repository aipoch/medical-research-skills (1,869 stars, last pushed today), licensed MIT. It adds 102 tokens to every session and 2,904 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories