Neuropixels Data Analysis
davila7/claude-code-templates
Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.
Generates complete two-sample Mendelian randomization (MR) research designs from a user-provided research direction.
$ npx skills add aipoch/medical-research-skills --skill two-sample-mr-research-planner -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aipoch/medical-research-skills two-sample-mr-research-planner --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Protocol Design/two-sample-mr-research-planner' .claude/skills/two-sample-mr-research-planner && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "two-sample-mr-research-planner" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Protocol%20Design/two-sample-mr-research-planner into .claude/skills/two-sample-mr-research-planner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "two-sample-mr-research-planner", 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.
$skill-installer install https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Protocol%20Design/two-sample-mr-research-plannerType 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.
$ npx skills add aipoch/medical-research-skills --skill two-sample-mr-research-planner -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aipoch/medical-research-skills two-sample-mr-research-planner --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/'scientific-skills/Protocol Design/two-sample-mr-research-planner' .agents/skills/two-sample-mr-research-planner && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "two-sample-mr-research-planner" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Protocol%20Design/two-sample-mr-research-planner into .agents/skills/two-sample-mr-research-planner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "two-sample-mr-research-planner", 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.
$ npx skills add aipoch/medical-research-skills --skill two-sample-mr-research-planner -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aipoch/medical-research-skills two-sample-mr-research-planner --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/'scientific-skills/Protocol Design/two-sample-mr-research-planner' .cursor/skills/two-sample-mr-research-planner && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "two-sample-mr-research-planner" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Protocol%20Design/two-sample-mr-research-planner into .cursor/skills/two-sample-mr-research-planner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "two-sample-mr-research-planner", 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.
$ gemini skills install https://github.com/aipoch/medical-research-skills.git --path 'scientific-skills/Protocol Design/two-sample-mr-research-planner'--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aipoch/medical-research-skills --skill two-sample-mr-research-planner -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aipoch/medical-research-skills two-sample-mr-research-planner --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/'scientific-skills/Protocol Design/two-sample-mr-research-planner' .gemini/skills/two-sample-mr-research-planner && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "two-sample-mr-research-planner" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Protocol%20Design/two-sample-mr-research-planner into .gemini/skills/two-sample-mr-research-planner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "two-sample-mr-research-planner", 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.
$ gh skill install aipoch/medical-research-skills two-sample-mr-research-plannerInstalls 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).
$ npx skills add aipoch/medical-research-skills --skill two-sample-mr-research-planner -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/'scientific-skills/Protocol Design/two-sample-mr-research-planner' .github/skills/two-sample-mr-research-planner && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "two-sample-mr-research-planner" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Protocol%20Design/two-sample-mr-research-planner into .github/skills/two-sample-mr-research-planner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "two-sample-mr-research-planner", 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.
$ npx skills add aipoch/medical-research-skills --skill two-sample-mr-research-planner -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aipoch/medical-research-skills two-sample-mr-research-planner --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/'scientific-skills/Protocol Design/two-sample-mr-research-planner' .opencode/skills/two-sample-mr-research-planner && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "two-sample-mr-research-planner" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Protocol%20Design/two-sample-mr-research-planner into .opencode/skills/two-sample-mr-research-planner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "two-sample-mr-research-planner", 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.
two-sample-mr-research-plannerGenerates complete two-sample Mendelian randomization (MR) research designs from a user-provided research direction.
Two Sample Mr Research Planner is an agent skill from aipoch/medical-research-skills. Generates complete two-sample Mendelian randomization (MR) research designs from a user-provided research direction. Use when users want to design, plan, or build a study using two-sample MR to test causal relationships. Triggers:"design a two-sample MR study", "build a publishable MR paper", "test whether this biomarker causally affects this disease", "generate Lite/Standard/Advanced MR plans", "screen multiple exposures with MR", "bidirectional MR design", "causal inference using GWAS summary statistics", or "I…
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `eval_report_two-sample-mr-research-planner_polished_result.json`, `references/gwas_databases.md` and `references/iv_benchmarks.md`).
It sits in Research & Science, covering Data analysis. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are r).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Two Sample Mr Research Planner loads about 2.7k tokens when it runs, and up to ~5.1k if it reads all its reference files. Until then it costs about 205 tokens; SKILL.md has 1,150 words of instructions outside code blocks.
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.
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); files beside SKILL.md are not scanned.
The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 1,150 words, ~2,738 tokens.
.claude/skills/two-sample-mr-research-planner/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Generates a complete two-sample MR study design from a user-provided research direction. Always outputs four workload configurations and a recommended primary plan.
| Style | Description | Example |
|---|---|---|
| A. Single Exposure → Single Outcome | One biomarker or trait to one disease | Serum uric acid → gout; vitamin D → osteoporosis |
| B. Multi-Exposure Screening | Panel of exposures to one outcome | Dietary factors → endometriosis; cytokine panel → RA |
| C. Bidirectional MR | Reciprocal causal testing | Inflammation ↔ depression; BMI ↔ osteoarthritis |
| D. Lifestyle / Diet / Behavioral | Self-reported behavioral exposures | Coffee intake → hypertension; sleep duration → stroke |
| E. Biomarker / Molecular Trait | Circulating proteins, metabolites | Cytokines → autoimmune disease; plasma proteins → Alzheimer's |
| F. Publication-Oriented | Comprehensive sensitivity-rich design | Full estimator suite with complete figure set |
Identify:
Always generate all four. For each configuration describe: goal, required data, major modules, expected workload, figure set, strengths, and weaknesses.
| Config | Goal | Timeframe | Best For |
|---|---|---|---|
| Lite | Fast minimal causal test | 2–4 weeks | Quick launch, 1 exposure × 1 outcome |
| Standard | Publication-ready core MR | 4–8 weeks | Single or small panel + sensitivity suite |
| Advanced | Robust multi-extension design | 8–14 weeks | Bidirectional, MVMR, replication GWAS |
| Publication+ | High-impact comprehensive paper | 12–20 weeks | Full sensitivity, MVMR, colocalization, power |
Select the best-fit configuration and explain why, given the exposure type, outcome, and any stated user constraints (time, data access, publication goal).
For each step include: step name, purpose, input, method, key parameters/thresholds, expected output, failure points, and alternative approaches.
Core modules to address when relevant:
Exposure-class IV count benchmarks — state expected IV count and flag weak-instrument risk accordingly:
→ Full benchmarks by exposure class: references/iv_benchmarks.md
GWAS data sources by exposure class:
→ Recommended databases and last-verified dates: references/gwas_databases.md
Fault tolerance guidelines:
Always list:
State what each layer proves and what it does not prove. Distinguish:
Always include a self-critical section addressing:
Slim version using only publicly available GWAS: 1 exposure (or small set), 1 outcome, IVW + 1–2 complementary estimators, heterogeneity/pleiotropy/leave-one-out, concise interpretation. Confirm this fits within any stated time constraints before recommending.
Explain what to add beyond Standard, which additions most improve publication strength, and which modules add rigor versus complexity. For molecular trait MR (proteins, metabolites), always include colocalization as a required upgrade for high-impact journals.
When providing R code examples or frameworks:
TwoSampleMR package (CRAN) as the primary tool# EXAMPLE ID — replace with your target phenotype IDStandard R framework template:
library(TwoSampleMR)
library(MRPRESSO)
# Step 1: Extract instruments for exposure
# EXAMPLE ID below — replace with your target exposure GWAS ID
exposure <- extract_instruments(outcomes = "ukb-b-XXXXX") # EXAMPLE ID
# Step 2: Extract outcome data
# EXAMPLE ID below — replace with your target outcome GWAS ID
outcome <- extract_outcome_data(
snps = exposure$SNP,
outcomes = "ieu-b-XXXXX" # EXAMPLE ID
)
# Step 3: Harmonise
harmonized <- harmonise_data(exposure, outcome)
# Step 4: Primary and sensitivity analyses
res <- mr(harmonized, method_list = c(
"mr_ivw",
"mr_egger_regression",
"mr_weighted_median",
"mr_weighted_mode"
))
# Step 5: Heterogeneity and pleiotropy
het <- mr_heterogeneity(harmonized)
plt <- mr_pleiotropy_test(harmonized)
loo <- mr_leaveoneout(harmonized)To find valid GWAS IDs: ao <- available_outcomes(); View(ao)
This skill accepts: a research direction involving a causal question between an exposure (biomarker, dietary factor, behavioral trait, molecular trait, or disease) and an outcome, where the user wants to design a two-sample Mendelian randomization study.
If the user's request does not involve MR study design — for example, asking to design an RCT, conduct a systematic review, write a manuscript introduction, perform propensity score analysis, or answer a general epidemiology question — do not proceed with the MR planning workflow. Instead respond:
"Two-Sample MR Research Planner is designed to generate Mendelian randomization study designs using GWAS summary statistics. Your request appears to be outside this scope. Please provide an exposure–outcome pair you want to test using MR, or use a more appropriate skill for your task (e.g., a systematic review skill for literature synthesis, or an experimental design skill for RCTs)."
| File | Content | Used In |
|---|---|---|
| references/gwas_databases.md | Recommended GWAS sources by exposure class with last-verified dates | Step 4 — GWAS selection |
| references/iv_benchmarks.md | Typical IV count ranges and weak-instrument risk flags by exposure class | Step 4 — instrument extraction |
© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in scientific-skills/Protocol Design/two-sample-mr-research-planner of aipoch/medical-research-skills.
Open the folder on GitHubat commit 686e09d
Two Sample Mr Research Planner 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Two Sample Mr Research Planner this skillaipoch/medical-research-skills | 2k | — | ~2.7k | Automated safety check: Pass | MIT | |
| Neuropixels Data Analysisdavila7/claude-code-templates | 32k | 10 repos | ~2.8k | Automated safety check: Pass | MIT | |
| Scanpy Single-Cell Analysisdavila7/claude-code-templates | 32k | 16 repos | ~2.8k | Automated safety check: Pass | MIT | |
| NeuroKit2 Biosignal Processingdavila7/claude-code-templates | 32k | 12 repos | ~3k | Automated safety check: Pass | MIT | |
| Modeling Competition Computation StageWuXinbo-bo/Math-model-skills | 111 | — | ~4.5k | Automated safety check: Pass | MIT | |
| Single-Cell Initial AnalysisLigphiDonk/Oh-my--paper | 738 | 1 repos | ~1.4k | Automated safety check: Pass | MIT |
davila7/claude-code-templates
Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.
davila7/claude-code-templates
Walks through single-cell RNA-seq analysis with Scanpy: loading .h5ad and 10X data, QC, normalization, PCA and UMAP, Leiden clustering, marker genes and cell type annotation.
davila7/claude-code-templates
Processes physiological signals with NeuroKit2 in Python: ECG, PPG, EEG, EDA, respiration, EMG and EOG, including HRV, events and complexity measures.
WuXinbo-bo/Math-model-skills
Pipeline stage that turns a mathematical modeling report into runnable programs per sub-question, frozen numerical results and reviewable evidence files.
LigphiDonk/Oh-my--paper
Runs a seven-step quality-control and exploration pipeline on scRNA-seq, CyTOF or flow cytometry data and writes a plain-language report of what it found.
TyrealQ/q-skills
Consolidates BERTopic, LDA or NMF topic output into a theory-driven classification framework and writes the final labels back to an Excel file.
aipoch/medical-research-skills
Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…
aipoch/medical-research-skills
Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.
aipoch/medical-research-skills
Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.
aipoch/medical-research-skills
A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.
aipoch/medical-research-skills
Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…
aipoch/medical-research-skills
Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.
Categories
Generates complete two-sample Mendelian randomization (MR) research designs from a user-provided research direction. Two Sample Mr Research Planner is an agent skill from aipoch/medical-research-skills. Generates complete two-sample Mendelian randomization (MR) research designs from a user-provided research direction.
Two Sample Mr Research Planner fits situations like: users want to design; build a study using two-sample MR to test causal relationships.
Run `npx skills add aipoch/medical-research-skills --skill two-sample-mr-research-planner -a claude-code`. Or copy the skill folder (scientific-skills/Protocol Design/two-sample-mr-research-planner in aipoch/medical-research-skills) into .claude/skills/two-sample-mr-research-planner in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aipoch/medical-research-skills --skill two-sample-mr-research-planner -a codex`. Or copy the skill folder (scientific-skills/Protocol Design/two-sample-mr-research-planner in aipoch/medical-research-skills) into .agents/skills/two-sample-mr-research-planner in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill two-sample-mr-research-planner -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/two-sample-mr-research-planner, .gemini/skills/two-sample-mr-research-planner, .github/skills/two-sample-mr-research-planner and .opencode/skills/two-sample-mr-research-planner in your project.
SKILL.md names no scripts, command-line tools or credentials: Two Sample Mr Research Planner is instructions for the agent only.
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.
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. Review the folder before installing.
Two Sample Mr Research Planner is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
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.
Skills that share tags, products or a category with Two Sample Mr Research Planner: Neuropixels Data Analysis (davila7/claude-code-templates, 32k stars), Scanpy Single-Cell Analysis (davila7/claude-code-templates, 32k stars), NeuroKit2 Biosignal Processing (davila7/claude-code-templates, 32k stars) and Modeling Competition Computation Stage (WuXinbo-bo/Math-model-skills, 111 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,974 GitHub stars. The repository holds 567 skills in this directory. The repository was last updated on September 17, 2026.
Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.