Academic Paper Writing Pipeline
Imbad0202/academic-research-skills
Runs a 12-agent pipeline that plans, drafts, cites, reviews and formats academic papers, with modes for revision, rebuttals, abstracts and citation checks.
A skill your agent uses when applying a published cohort study's methodology to a different database.
$ npx skills add Aperivue/medsci-skills --skill replicate-study -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Aperivue/medsci-skills replicate-study --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/Aperivue/medsci-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/replicate-study .claude/skills/replicate-study && 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 "replicate-study" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/replicate-study into .claude/skills/replicate-study/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "replicate-study", 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/Aperivue/medsci-skills/tree/main/skills/replicate-studyType 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 Aperivue/medsci-skills --skill replicate-study -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Aperivue/medsci-skills replicate-study --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/replicate-study .agents/skills/replicate-study && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "replicate-study" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/replicate-study into .agents/skills/replicate-study/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "replicate-study", 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 Aperivue/medsci-skills --skill replicate-study -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Aperivue/medsci-skills replicate-study --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/replicate-study .cursor/skills/replicate-study && 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 "replicate-study" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/replicate-study into .cursor/skills/replicate-study/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "replicate-study", 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/Aperivue/medsci-skills.git --path skills/replicate-study--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 Aperivue/medsci-skills --skill replicate-study -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Aperivue/medsci-skills replicate-study --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/replicate-study .gemini/skills/replicate-study && 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 "replicate-study" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/replicate-study into .gemini/skills/replicate-study/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "replicate-study", 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 Aperivue/medsci-skills replicate-studyInstalls 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 Aperivue/medsci-skills --skill replicate-study -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/replicate-study .github/skills/replicate-study && 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 "replicate-study" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/replicate-study into .github/skills/replicate-study/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "replicate-study", 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 Aperivue/medsci-skills --skill replicate-study -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Aperivue/medsci-skills replicate-study --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/replicate-study .opencode/skills/replicate-study && 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 "replicate-study" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/replicate-study into .opencode/skills/replicate-study/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "replicate-study", 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.
replicate-studyA skill your agent uses when applying a published cohort study's methodology to a different database.
Replicate Study is an agent skill from Aperivue/medsci-skills. Use when applying a published cohort study's methodology to a different database. Extracts the design from the source paper, maps variables to the target database with a harmonization table, generates the analysis code and reports every forced deviation.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files (for example `references/methodology_extraction_template.md`, `skill.yml` and `tests/test_alcohol_harmonization.py`).
It sits in Research & Science. The repository describes itself as: Agent Skills for medical research — literature search, reporting-guideline & citation checks, statistics, publication figures, submission. Works with Claude Code, Codex, Cursor &… The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3b14ae2. 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.
Ships script files (Python), which the agent can run.
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.
Replicate Study loads about 1.7k tokens when it runs, and up to ~8.7k if it reads all its reference files. Until then it costs about 68 tokens; SKILL.md has 653 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 Aperivue/medsci-skills at commit 3b14ae2, republished under its MIT licence (© Aperivue). 653 words, ~1,680 tokens.
.claude/skills/replicate-study/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Apply a published study's methodology to a different database and report every place the target database forced a deviation.
${CLAUDE_SKILL_DIR}/references/harmonization_knhanes_nhanes.csv (if KNHANES↔NHANES)${CLAUDE_SKILL_DIR}/references/methodology_extraction_template.md — checklist for extracting study design${CLAUDE_SKILL_DIR}/references/harmonization_knhanes_nhanes.csv — KNHANES↔NHANES variable mapping (67 rows)${CLAUDE_SKILL_DIR}/references/harmonization_3country.csv — KNHANES+NHANES+CHNS 3-country mapping (46 rows)${CLAUDE_SKILL_DIR}/../write-paper/references/paper_types/nhis_cohort.md${CLAUDE_SKILL_DIR}/../write-paper/references/paper_types/cross_national.md${CLAUDE_SKILL_DIR}/../analyze-stats/references/analysis_guides/survey_weighted.md${CLAUDE_SKILL_DIR}/../analyze-stats/references/analysis_guides/propensity_score.mdmethodology_extraction_template.md: study design, database
(name, country, years, N), population (inclusion/exclusion, age range), exposure and outcome
(variable, definition, coding), covariates with definitions, statistical methods (regression
type, adjustment models, subgroup analyses), survey design (weights, strata, PSU), and every
sensitivity analysis./define-variables
to cross-check whether to mirror the legacy definition (pure replication) or upgrade to the
current one (extension). Record the choice in the difference report.domain, concept, concept_en, one variable/label
column set per database such as knhanes_var / nhanes_var, and harmonization_notes).[VERIFY: variable_name] and ask the user to confirm it against the data dictionary;
never guess a variable name, column name or coding.variable_mapping.csv) for user approval.pandas + R via
subprocess for survey-weighted analysis):
a. Data loading & cleaning: read target DB, derive inclusion/exclusion flags (keep every row)
b. Variable derivation: recode variables per mapping table
c. Survey design setup: define svydesign object (strata, PSU, weights) on the full file,
then restrict it with subset(design, <inclusion flag>); deleting rows before the design is
declared gives wrong standard errors (/analyze-stats survey_weighted.md, subpopulation
analysis). Weighted analysis is mandatory for KNHANES/NHANES — never run unweighted
models. Never pool data across surveys; analyze each country's data with its own survey
design.
d. Table 1: demographics by exposure group (weighted)
e. Main analysis: replicate the primary model (logistic/Cox/linear regression)
f. Subgroup analyses: if specified in source paper
g. Sensitivity analyses: replicate all listed in source paper/analyze-stats templates where available (survey_weighted, propensity_score).results/ and the report comes from that
executed output.Save replication_report.md in the working directory, documenting every deviation from the
source methodology:
| Section | Content |
|---|---|
| Study Design | Same / Modified (explain) |
| Database | Source DB → Target DB (N, years, country) |
| Population | Inclusion/exclusion differences |
| Variable Mapping | Full mapping table with match status |
| Unavailable Variables | What's missing and how handled |
| Methodological Differences | Any forced changes (e.g., BMI cutoffs, LDL direct measurement vs Friedewald) |
| Expected Differences | Why results may differ (population, measurement, cultural) |
Note that KNHANES/NHANES are de-identified public data (IRB exempt or waived). Cite only with a
/search-lit-confirmed DOI/PMID; otherwise mark the reference [UNVERIFIED - NEEDS MANUAL CHECK].
Before reporting completion, verify:
{working_dir}/
├── replication_report.md — Structured difference report
├── variable_mapping.csv — Variable mapping table with match status
├── analysis_code.py — Main analysis script (Python + R calls)
├── analysis_code.R — R script for survey-weighted analysis
└── results/
├── table1.csv — Demographics table
├── main_results.csv — Primary analysis results
└── subgroup_results.csv — Subgroup analysis results (if applicable)© Aperivue, 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 7 other files (references) in skills/replicate-study of Aperivue/medsci-skills.
Open the folder on GitHubat commit 3b14ae2
Replicate Study 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 |
|---|---|---|---|---|---|---|
| Replicate Study this skillAperivue/medsci-skills | 329 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Academic Paper Writing PipelineImbad0202/academic-research-skills | 51k | — | ~16k | Automated safety check: Pass | Custom licence | |
| Scientific Venue Templatesdavila7/claude-code-templates | 32k | 9 repos | ~5.1k | Automated safety check: Notes | MIT | |
| Horizontal-Vertical Deep ResearchKKKKhazix/khazix-skills | 21k | — | ~2.1k | Automated safety check: Pass | MIT | |
| Econ Writehanlulong/econ-writing-skill | 646 | 2 repos | ~14k | Automated safety check: Pass | MIT | |
| NSFC Budget Justification Writerhuangwb8/ChineseResearchLaTeX | 2.9k | 2 repos | ~1.4k | Automated safety check: Pass | MIT |
Imbad0202/academic-research-skills
Runs a 12-agent pipeline that plans, drafts, cites, reviews and formats academic papers, with modes for revision, rebuttals, abstracts and citation checks.
davila7/claude-code-templates
Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.
KKKKhazix/khazix-skills
Runs a two-axis deep research method on a product, company, concept or person: its full history over time, compared with peers today, delivered as a typeset PDF report.
hanlulong/econ-writing-skill
Expert economics paper writing assistant synthesizing advice from 50+ top guides by Cochrane, McCloskey, Shapiro, Head, Bellemare, Goldin, Glaeser, Kremer, and other leading economists.
huangwb8/ChineseResearchLaTeX
Writes a submission-ready NSFC budget justification as a LaTeX project and renders budget.pdf from your grant proposal text and supporting materials.
alaliqing/claude-paper
A skill your agent uses when the user wants to read, study, analyze, or deeply understand a research paper (PDF).
Aperivue/medsci-skills
A skill your agent uses when validating or evaluating a trained medical-imaging model.
Aperivue/medsci-skills
A skill your agent uses when turning a folder of research PDFs into Obsidian notes, even if Obsidian is not named.
Aperivue/medsci-skills
A skill your agent uses when building or auditing a radiomics or tabular clinical-ML prediction model with a classical learner (LASSO, SVM, random forest, XGBoost and similar).
Aperivue/medsci-skills
A skill your agent uses when checking whether a manuscript's references are real.
Aperivue/medsci-skills
A skill your agent uses when a clinical CSV/Excel dataset needs profiling and cleaning before analysis (missing values, outliers, duplicates, type mismatches).
Aperivue/medsci-skills
A skill your agent uses when checking a radiology or medical AI study design before drafting or submission.
Categories
A skill your agent uses when applying a published cohort study's methodology to a different database. Replicate Study is an agent skill from Aperivue/medsci-skills. Use when applying a published cohort study's methodology to a different database.
Replicate Study fits situations like: applying a published cohort studys methodology to a different database.
Run `npx skills add Aperivue/medsci-skills --skill replicate-study -a claude-code`. Or copy the skill folder (skills/replicate-study in Aperivue/medsci-skills) into .claude/skills/replicate-study in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Aperivue/medsci-skills --skill replicate-study -a codex`. Or copy the skill folder (skills/replicate-study in Aperivue/medsci-skills) into .agents/skills/replicate-study 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 Aperivue/medsci-skills --skill replicate-study -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/replicate-study, .gemini/skills/replicate-study, .github/skills/replicate-study and .opencode/skills/replicate-study in your project.
Going by SKILL.md and its folder, Replicate Study needs Python for the scripts in its folder. Our summary lists: Python 3.
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.
Replicate Study is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.7k 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 7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Replicate Study: Academic Paper Writing Pipeline (Imbad0202/academic-research-skills, 51k stars), Scientific Venue Templates (davila7/claude-code-templates, 32k stars), Horizontal-Vertical Deep Research (KKKKhazix/khazix-skills, 21k stars) and Econ Write (hanlulong/econ-writing-skill, 646 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Aperivue (a GitHub organization) maintains it in Aperivue/medsci-skills, which has 329 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on October 5, 2026.
Source: Aperivue/medsci-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.