Agent skill

Method Writing

by aipoch in aipoch/medical-research-skills

Write and revise the Methods section of research papers to ensure reproducibility; use when preparing an IMRAD manuscript or responding to journal/reporting-guideline requirements (e.g…

MITAuto-check passedResearch & Science

Install Method Writing

skills CLI
$ npx skills add aipoch/medical-research-skills --skill method-writing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aipoch/medical-research-skills method-writing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Academic Writing/method-writing' .claude/skills/method-writing && rm -rf skills-src

Use ~/.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/

Facts

Skill name
method-writing
GitHub stars
2k
Token cost
~3.4k tokens
SKILL.md length
1,619 words
Files
6 (incl. references)
Skills in repo
567
Repo updated
First seen
Licence
MIT

At a glance

Write and revise the Methods section of research papers to ensure reproducibility; use when preparing an IMRAD manuscript or responding to journal/reporting-guideline requirements (e.g…

  • Works in 5 steps: Draft or substantially revise the… → Align a manuscript with IMRAD… → Ensure compliance with study-type… → …
  • Preparing an IMRAD manuscript
  • SKILL.md covers When to Use, Key Features, Dependencies and Example Usage, plus 10 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Method Writing is an agent skill from aipoch/medical-research-skills. Write and revise the Methods section of research papers to ensure reproducibility; use when preparing an IMRAD manuscript or responding to journal/reporting-guideline requirements (e.g., CONSORT/STROBE/PRISMA).

Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `POLISH_CHANGELOG.md`, `eval_report_method-writing_result.json` and `references/imrad_structure.md`).

It sits in Research & Science, covering ORMs and data access and Reproducible research. It works with Prisma. 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.

When your agent uses it

  • Preparing an IMRAD manuscript
  • Responding to journal/reporting-guideline requirements (e.g.
  • CONSORT/STROBE/PRISMA)

Example prompts

  • “/method-writing”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Draft or substantially revise the Methods section of a scientific manuscript to make the study reproducible.
  2. Align a manuscript with IMRAD conventions and ensure the Methods content matches what is reported in Results.
  3. Ensure compliance with study-type reporting guidelines (e.g., CONSORT for RCTs, STROBE for observational studies, PRISMA for systematic…
  4. Prepare a submission for a specific journal with strict formatting, word limits, and required declarations (ethics, funding, data…
  5. Address reviewer comments about missing methodological detail, unclear procedures, or insufficient statistical reporting.

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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

Method Writing loads about 3.4k tokens when it runs, and up to ~23k if it reads all its reference files. Until then it costs about 56 tokens; SKILL.md has 1,619 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~3.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~23k

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 1,619 words, ~3,371 tokens.

Download SKILL.mdSave it as .claude/skills/method-writing/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
method-writing
description
Write and revise the Methods section of research papers to ensure reproducibility; use when preparing an IMRAD manuscript or responding to journal/reporting-guideline requirements (e.g., CONSORT/STROBE/PRISMA).
license
MIT
author
AIPOCH

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

When to Use

Use this skill when you need to:

  1. Draft or substantially revise the Methods section of a scientific manuscript to make the study reproducible.
  2. Align a manuscript with IMRAD conventions and ensure the Methods content matches what is reported in Results.
  3. Ensure compliance with study-type reporting guidelines (e.g., CONSORT for RCTs, STROBE for observational studies, PRISMA for systematic reviews/meta-analyses).
  4. Prepare a submission for a specific journal with strict formatting, word limits, and required declarations (ethics, funding, data availability).
  5. Address reviewer comments about missing methodological detail, unclear procedures, or insufficient statistical reporting.

Key Features

  • Reproducible Methods prose: Produces fluent paragraph-based Methods text suitable for final manuscripts (not bullet lists).
  • IMRAD-compatible structure: Organizes Methods content into standard subsections (design, setting, participants/samples, procedures, outcomes, statistics, ethics).
  • Guideline-driven completeness: Maps content to reporting checklists (CONSORT/STROBE/PRISMA and others) to reduce omissions.
  • Experimental and procedural specificity: Captures materials, equipment, calibration, conditions, controls, replicates, and step-by-step procedures.
  • Statistical transparency: Specifies assumptions, tests, effect sizes, confidence intervals, multiple-comparison control, missing-data and outlier handling.
  • Data management and integrity: Documents collection formats, preprocessing, storage, access control, anonymization, and compliance constraints.
  • Field-specific terminology: Applies discipline conventions (biomedical, molecular biology, chemistry/pharma, neuroscience) and consistent nomenclature.
  • Journal tailoring: Adapts wording and required declarations to match author guidelines and editorial expectations.

Reference materials (optional, if present in the repository):

  • references/imrad_structure.md
  • references/reporting_guidelines.md
  • references/writing_principles.md

Dependencies

  • None (documentation/writing skill; no runtime dependencies).

Example Usage

Input (what you provide)

Study context

  • Design: randomized, double-blind, placebo-controlled trial
  • Setting: single academic hospital, 2023-2024
  • Participants: adults 18-65 with condition X; key inclusion/exclusion criteria
  • Intervention: Drug A 50 mg daily vs placebo for 8 weeks
  • Outcomes: primary outcome Y at week 8; secondary outcomes Z1-Z3
  • Randomization/blinding: block randomization (block size 4), allocation concealment via central web system
  • Sample size: power 0.8, alpha 0.05, expected effect size d=0.5
  • Statistics: intention-to-treat; mixed-effects model; Holm correction; report Cohen's d and 95% CI
  • Ethics: IRB approval ID; written informed consent
  • Data handling: de-identified dataset; stored on encrypted server; access limited to study team

Target constraints

  • Journal: requires CONSORT adherence and structured Methods subsections
  • Style: full paragraphs only; define abbreviations at first use
Output (a runnable Methods section draft)
Methods

Study design and oversight. We conducted a randomized, double-blind, placebo-controlled, parallel-group trial to evaluate the efficacy of Drug A compared with placebo over 8 weeks. The protocol was approved by the Institutional Review Board of [Institution] (approval ID: [ID]). All participants provided written informed consent before any study procedures were performed.

Participants. Adults aged 18-65 years with a diagnosis of condition X were recruited from [clinic/service] between [month year] and [month year]. Key inclusion criteria were [criterion 1], [criterion 2], and [criterion 3]. Key exclusion criteria were [criterion 1], [criterion 2], and current use of [medication/class] within [time window]. Eligibility was confirmed by [assessment method], and baseline characteristics were collected at enrollment.

Randomization and blinding. Participants were assigned in a 1:1 ratio to Drug A or placebo using computer-generated block randomization with a fixed block size of 4. Allocation concealment was implemented through a centralized web-based randomization system accessible only to the study pharmacist. Participants, investigators, outcome assessors, and statisticians remained blinded to group assignment until database lock.

Intervention and procedures. Participants in the intervention group received Drug A 50 mg orally once daily for 8 weeks; the control group received a matching placebo on the same schedule. Study medication was dispensed at baseline and week 4, and adherence was assessed by pill count and participant diary. Concomitant treatments were permitted only if stable for at least [duration] before enrollment and unchanged during follow-up. Safety was monitored at each visit by adverse-event assessment and [laboratory/clinical measures], with severity graded using [standard].

Outcomes. The primary outcome was outcome Y measured at week 8 using [instrument/scale], where higher scores indicate [direction]. Secondary outcomes included Z1-Z3 assessed at baseline, week 4, and week 8 using [methods]. All outcomes were collected by trained assessors following a standardized operating procedure.

Sample size. The planned sample size was calculated to provide 80% power to detect a standardized mean difference of 0.5 in the primary outcome between groups at a two-sided alpha level of 0.05. Allowing for an anticipated attrition rate of [x%], we aimed to enroll [N] participants.

Statistical analysis. Analyses followed the intention-to-treat principle and included all randomized participants with available outcome data. The primary analysis used a linear mixed-effects model with fixed effects for treatment group, time, and their interaction, and a random intercept for participant to account for repeated measures. Model assumptions were assessed by inspection of residual plots and formal normality testing (Shapiro-Wilk). For secondary outcomes, p values were adjusted for multiple comparisons using the Holm method. Effect sizes are reported as Cohen's d with 95% confidence intervals (CIs) for continuous outcomes and as odds ratios (ORs) with 95% CIs for binary outcomes, as applicable. Missing data were handled using [complete-case analysis / multiple imputation], with sensitivity analyses performed under [assumption]. All tests were two-sided with a significance threshold of 0.05 after adjustment where applicable. Analyses were performed using [software, version].

Data management and availability. Data were recorded in [system], exported to [format], and stored on an encrypted institutional server with access restricted to authorized study personnel. Identifiers were removed and replaced with study codes prior to analysis. A data dictionary and analysis code are available at [repository/link] subject to [conditions], in accordance with [GDPR/HIPAA/other] requirements.

Implementation Details

Show full SKILL.md (722 more words)Show less
Methods-section algorithm (IMRAD-aligned)
  1. Identify study type and structure: Choose the appropriate Methods template (e.g., RCT, cohort, case-control, systematic review). For IMRAD guidance, consult references/imrad_structure.md if available.
  2. Map to reporting checklist: Select the relevant guideline (CONSORT/STROBE/PRISMA, etc.) and ensure each required methodological element is explicitly reported. See references/reporting_guidelines.md if available.
  3. Write in manuscript-ready prose: Produce full paragraphs with logical transitions; avoid bullet lists in the final Methods text.
  4. Specify reproducibility-critical details:
    • Participants/samples: source, eligibility, handling, and attrition rules.
    • Materials and equipment: manufacturer/model, key settings, calibration frequency/standards.
    • Procedures: step order, timing, temperature, pH, incubation, centrifugation, sterile conditions, and acceptance criteria.
    • Controls and replication: positive/negative controls; technical vs biological replicates; batch handling.
  5. Statistical reporting parameters:
    • Assumption checks (e.g., Shapiro-Wilk; Levene/Bartlett where relevant).
    • Primary/secondary models and covariates; effect sizes (Cohen's d, η², OR, RR) and 95%/99% CIs.
    • Multiple-comparison control (Bonferroni, Holm, FDR).
    • Missing-data strategy (complete case vs imputation) and outlier policy (IQR/Grubbs) defined a priori.
    • Sample-size justification (power, alpha, expected effect size) and any interim analysis rules.
  6. Bias control: Describe randomization, allocation concealment, and blinding (single/double/triple) with operational details.
  7. Ethics and safety: Include approvals, consent, biosafety level/PPE, chemical safety references (MSDS), and waste disposal where applicable.
  8. Data integrity and security: Document naming conventions, preprocessing (normalization/filtering), backups, access permissions, anonymization/encryption, and regulatory compliance.
  9. Field-specific terminology rules:
    • Genetics: italicize gene symbols (e.g., TP53) and use protein symbols in roman type (p53); follow species conventions.
    • Chemistry/pharma: use IUPAC where needed; report concentrations with correct units (mM, μM, % w/v).
    • Biomedical: prefer standardized disease nomenclature and SI units when required by the journal.
  10. Journal adaptation: Apply author instructions for section headings, word limits, declarations, and citation/formatting. For style guidance, consult references/writing_principles.md if available.

When Not to Use

  • Do not use this skill when the required source data, identifiers, files, or credentials are missing.
  • Do not use this skill when the user asks for fabricated results, unsupported claims, or out-of-scope conclusions.
  • Do not use this skill when a simpler direct answer is more appropriate than the documented workflow.

Required Inputs

  • A clearly specified task goal aligned with the documented scope.
  • All required files, identifiers, parameters, or environment variables before execution.
  • Any domain constraints, formatting requirements, and expected output destination if applicable.
  1. Validate the request against the skill boundary and confirm all required inputs are present.
  2. Select the documented execution path and prefer the simplest supported command or procedure.
  3. Produce the expected output using the documented file format, schema, or narrative structure.
  4. Run a final validation pass for completeness, consistency, and safety before returning the result.

Output Contract

  • Return a structured deliverable that is directly usable without reformatting.
  • If a file is produced, prefer a deterministic output name such as method_writing_result.md unless the skill documentation defines a better convention.
  • Include a short validation summary describing what was checked, what assumptions were made, and any remaining limitations.

Validation and Safety Rules

  • Validate required inputs before execution and stop early when mandatory fields or files are missing.
  • Do not fabricate measurements, references, findings, or conclusions that are not supported by the provided source material.
  • Emit a clear warning when credentials, privacy constraints, safety boundaries, or unsupported requests affect the result.
  • Keep the output safe, reproducible, and within the documented scope at all times.

Failure Handling

  • If validation fails, explain the exact missing field, file, or parameter and show the minimum fix required.
  • If an external dependency or script fails, surface the command path, likely cause, and the next recovery step.
  • If partial output is returned, label it clearly and identify which checks could not be completed.

Input Validation

This skill accepts requests that match the documented purpose of method-writing and include enough context to complete the workflow safely.

Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:

method-writing only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

Quick Validation

Run this minimal verification path before full execution when possible:

text
No local script validation step is required for this skill.

Expected output format:

text
Result file: method_writing_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

User Checkpoints

  • Before executing batch processing, overwriting files, long-running searches, or multi-stage generation, confirm scope and output format with the user.
  • Before proceeding when a key judgment is ambiguous, evidence is insufficient, or the workflow is entering the next stage, confirm with the user.

© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in scientific-skills/Academic Writing/method-writing of aipoch/medical-research-skills.

  • SKILL.md
  • POLISH_CHANGELOG.md
  • eval_report_method-writing_result.json
  • references/imrad_structure.md
  • references/reporting_guidelines.md
  • references/writing_principles.md

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Method Writing 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.

Method Writing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Method Writing this skillaipoch/medical-research-skills2k—~3.4kAutomated safety check: PassMIT
Peer Review Methodologyjaechang-hits/SciAgent-Skills3701 repos~2.9kAutomated safety check: PassCC-BY-4.0
Revedres Tables Figuresbrycewang-stanford/Awesome-Journal-Skills1.2k—~1.5kAutomated safety check: PassMIT
Revedres Transparency And Reproducibilitybrycewang-stanford/Awesome-Journal-Skills1.2k—~1.3kAutomated safety check: PassMIT
Ma Publication Qualityhtlin222/meta-pipe134—~1kAutomated safety check: PassCustom licence
Meta AnalysisAperivue/medsci-skills329—~8.7kAutomated safety check: PassMIT

Similar skills

  • Peer Review Methodology

    jaechang-hits/SciAgent-Skills

    Structured peer review of manuscripts and grants. An agent skill from jaechang-hits/SciAgent-Skills.

    370 GitHub starsUsed in 1 repo~2.9k tokens
    Research & ScienceAuto-check passed
  • Revedres Tables Figures

    brycewang-stanford/Awesome-Journal-Skills

    A skill your agent uses when designing the PRISMA flow diagram, forest/funnel plots, and coding/evidence tables for a Review of Educational Research (RER) review or meta-analysis.

    1.2k GitHub stars~1.5k tokensUpdated 10 days ago
    DatabasesAuto-check passed
  • Revedres Transparency And Reproducibility

    brycewang-stanford/Awesome-Journal-Skills

    A skill your agent uses when settling coding reliability, open materials, PRISMA/MARS reporting, and a reproducible meta-analysis for a Review of Educational Research (RER) manuscript.

    1.2k GitHub stars~1.3k tokensUpdated 10 days ago
    DatabasesAuto-check passed
  • Ma Publication Quality

    htlin222/meta-pipe

    Publication-quality checks and enhancements for high-impact journal submissions, including PRISMA/MOOSE reporting, robust meta-analysis diagnostics (Hartung-Knapp, prediction intervals, influence)…

    134 GitHub stars~1k tokensUpdated 14 days ago
    Research & ScienceAuto-check passed
  • Meta Analysis

    Aperivue/medsci-skills

    A skill your agent uses when running a systematic review and meta-analysis, DTA or intervention.

    329 GitHub stars~8.7k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Review Paper

    Aperivue/medsci-skills

    A skill your agent uses when writing a literature review article (narrative, scoping PRISMA-ScR or systematic).

    329 GitHub stars~1.3k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed

More from aipoch/medical-research-skills

All 567 skills in this repo
  • Academic Poster Generator

    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…

    2k GitHub stars~2.2k tokensUpdated 20 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    2k GitHub stars~1.4k tokensUpdated 20 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    2k GitHub stars~3.7k tokensUpdated 20 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    2k GitHub stars~1.8k tokensUpdated 20 days ago
    Auto-check passed
  • Journal Skills

    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…

    2k GitHub stars~1.7k tokensUpdated 20 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    2k GitHub stars~1.3k tokensUpdated 20 days ago
    Auto-check passed

Works with

Questions about Method Writing

What does Method Writing do?

Write and revise the Methods section of research papers to ensure reproducibility; use when preparing an IMRAD manuscript or responding to journal/reporting-guideline requirements (e.g…. Method Writing is an agent skill from aipoch/medical-research-skills., CONSORT/STROBE/PRISMA).

When should I use Method Writing?

Method Writing fits situations like: preparing an IMRAD manuscript; responding to journal/reporting-guideline requirements (e.g; CONSORT/STROBE/PRISMA).

How do I install Method Writing in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill method-writing -a claude-code`. Or copy the skill folder (scientific-skills/Academic Writing/method-writing in aipoch/medical-research-skills) into .claude/skills/method-writing in your project. Claude Code loads it when a task matches its description.

How do I install Method Writing in Codex?

Run `npx skills add aipoch/medical-research-skills --skill method-writing -a codex`. Or copy the skill folder (scientific-skills/Academic Writing/method-writing in aipoch/medical-research-skills) into .agents/skills/method-writing in your project. Codex loads it when a task matches its description.

Can I use Method Writing 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 aipoch/medical-research-skills --skill method-writing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/method-writing, .gemini/skills/method-writing, .github/skills/method-writing and .opencode/skills/method-writing in your project.

What does Method Writing need to run?

SKILL.md names no scripts, command-line tools or credentials: Method Writing is instructions for the agent only.

Does Method Writing 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 Method Writing 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. Review the folder before installing.

What licence does Method Writing use?

Method Writing 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 Method Writing use?

About 3.4k tokens (SKILL.md is roughly 13k 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 19k tokens, read only when the agent opens those files.

What are the alternatives to Method Writing?

Skills that share tags, products or a category with Method Writing: Peer Review Methodology (jaechang-hits/SciAgent-Skills, 370 stars), Revedres Tables Figures (brycewang-stanford/Awesome-Journal-Skills, 1.2k stars), Revedres Transparency And Reproducibility (brycewang-stanford/Awesome-Journal-Skills, 1.2k stars) and Ma Publication Quality (htlin222/meta-pipe, 134 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Method Writing?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,973 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.