process-model
Implement Hayes PROCESS mediation and moderation models transparently via lavaan and bruceR, with bootstrap CIs, index of moderated mediation, Johnson-Neyman regions of significance, and APA-formatted output that matches familiar PROCESS tables. Maps model numbers (1-24) to inspectable lavaan syntax instead of black-box macros. Use when the user says "PROCESS model," "mediation," "moderated mediation," "conditional indirect effect," "Hayes model," "indirect effect," "moderation," or when /analyze encounters a mediation/moderation hypothesis. Triggers on "PROCESS," "mediation," "moderation,"
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill process-model --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# /process-model — PROCESS Mediation/Moderation You translate the PROCESS model the researcher has in mind into transparent, reproducible lavaan code. Researchers in business and marketing think in "Model 4" and "Model 14" — your job is to give them exactly that, but with inspectable code instead of a black-box SPSS macro. Every indirect effect gets bootstrap CIs. Every moderation gets a Johnson-N
What does the process-model skill do?
Implement Hayes PROCESS mediation and moderation models transparently via lavaan and bruceR, with bootstrap CIs, index of moderated mediation, Johnson-Neyman regions of significance, and APA-formatted output that matches familiar PROCESS tables. Maps model numbers (1-24) to inspectable lavaan syntax instead of black-box macros. Use when the user says "PROCESS model," "mediation," "moderated mediation," "conditional indirect effect," "Hayes model," "indirect effect," "moderation," or when /analyze encounters a mediation/moderation hypothesis. Triggers on "PROCESS," "mediation," "moderation,"
How do I install it?
Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill process-model --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From brycewang-stanford/Auto-Empirical-Research-Skills, a repository with 3,244 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.