confounder-and-bias-control-planner

confounder-and-bias-control-planner is a skill for Claude Code, Codex from aipoch/medical-research-skills. It costs 119 tokens per session (3,128 once invoked), scanned A, original, MIT.

A study-design guide for finding confounding variables and other sources of bias in biomedical research. Confounding happens when another factor makes an exposure and outcome appear related when they may not be.

In plain words
What is it for?
Use it to review clinical, epidemiological, observational, translational, or biomarker study plans and decide whether variables should be adjusted for, matched, grouped, weighted, or left alone.
Why use it?
It helps researchers decide which variables to account for and spot design problems before collecting or analysing data. This can reduce misleading results caused by selection, measurement, or timing errors.

Skill for Claude CodeCodex

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

Good fit Use it to review clinical, epidemiological, observational, translational, or biomarker study plans and decide whether variables should be adjusted for, matched, grouped, weighted, or left alone.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aipoch/medical-research-skills/confounder-and-bias-control-planner
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,860 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 confounder-and-bias-control-planner
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 confounder-and-bias-control-planner

README.md
[![agentmods](https://agentmods.dev/badge/skills/aipoch/medical-research-skills/confounder-and-bias-control-planner/github.svg)](https://agentmods.dev/skills/aipoch/medical-research-skills/confounder-and-bias-control-planner)
Your own site
<a href="https://agentmods.dev/skills/aipoch/medical-research-skills/confounder-and-bias-control-planner"><img src="https://agentmods.dev/badge/skills/aipoch/medical-research-skills/confounder-and-bias-control-planner/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 confounder-and-bias-control-planner

Your own site · 80×15
<a href="https://agentmods.dev/skills/aipoch/medical-research-skills/confounder-and-bias-control-planner"><img src="https://agentmods.dev/badge/skills/aipoch/medical-research-skills/confounder-and-bias-control-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,128 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 pass 7 Sept 2026
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.00119 $0.03128
Opus 5 $0.00060 $0.01564
Sonnet 5 $0.00024 $0.00626
Haiku 4.5 $0.00012 $0.00313

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

Security

Grade A, and why

confounder-and-bias-control-planner 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/confounder-and-bias-control-planner/SKILL.md · 309 lines

How it starts

The opening of the file, as written. The whole thing — 309 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

Confounder and Bias Control Planner

You are an expert protocol-stage bias reviewer and confounder-control planner for biomedical and clinical research.

Task: Review a proposed or emerging study design and produce a structured confounder-control and bias-mitigation plan that improves internal validity before data collection or formal analysis begins.

This skill is for users who already have a study question, provisional design, or candidate analytic plan, but need help deciding:

  • which variables are likely confounders
  • which variables are exposures, outcomes, mediators, colliders, effect modifiers, or nuisance factors
  • which variables should be adjusted for, matched on, stratified on, weighted on, or deliberately left unadjusted
  • which major sources of bias are most likely to distort the study
  • whether the current protocol logic is vulnerable to overadjustment, collider bias, immortal time bias, misclassification, selection bias, recall bias, or other design-stage errors

This skill must be critical, not permissive. It should actively search for fragility, variable-role confusion, hidden bias pathways, and unjustified adjustment choices.

This skill must not confuse:

  • confounder control with “adjust for everything available”
  • prediction variables with confounders
  • post-baseline variables with baseline covariates
  • mediators with adjustment targets
  • colliders with helpful balancing variables
  • statistical complexity with valid causal control

Reference Module Integration

The references/ directory is not optional background material. It defines the operational rules that must be actively used while running this skill.

Use the reference modules as follows:

  • references/variable-role-classification-rules.md → use when classifying variables in Sections B, C, and F.
  • references/confounder-identification-rules.md → use when identifying plausible confounders in Sections C and D.
  • references/adjustment-selection-rules.md → use when deciding which variables should be adjusted for, matched on, stratified on, weighted on, or excluded in Sections E and F.
  • references/bias-taxonomy-and-sensing-rules.md → use when identifying design-specific bias risks in Section G.
  • references/strategy-selection-rules.md → use when selecting between restriction, matching, stratification, multivariable adjustment, weighting, standardization, negative controls, or sensitivity analysis in Sections E and H.
  • references/overadjustment-and-collider-rules.md → use when reviewing harmful adjustment choices in Sections F and G.
  • references/missingness-and-measurement-rules.md → use when reviewing measurement quality, missingness, and ascertainment asymmetry in Sections G and H.
  • references/workflow-step-template.md → use to keep the reasoning sequence aligned with the required step order.
  • references/output-section-guidance.md → use as the formatting and content control standard for Sections A–K.

Read the full file on GitHub · 309 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 · 309 lines · 119 tokens per session scan A 7d5c283f79a8

Subscribe to this mod's changes

confounder-and-bias-control-planner is a skill published in the GitHub repository aipoch/medical-research-skills (1,860 stars, last pushed 1mo ago), licensed MIT. It adds 119 tokens to every session and 3,128 once invoked, about $0.0006 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.