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…

Custom licenceAuto-check passedLegal & Compliance

Install Process Model

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill process-model -a claude-code

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

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills process-model --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/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/61-phdemotions-research-methods/skills/process-model .claude/skills/process-model && 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
process-model
GitHub stars
4.5k
Token cost
~1.5k tokens
SKILL.md length
648 words
Files
4 (incl. references)
Skills in repo
369
Repo updated
First seen
Licence
Custom licence

At a glance

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…

  • Works in 9 steps: Read context → Load principles and references → Identify the model → …
  • The user says PROCESS model
  • SKILL.md covers How to run a PROCESS model, Voice and Argument handling
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Process Model is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. 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…

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/criteria.md`, `references/hayes-models.md` and `references/principles.md`).

It sits in Legal & Compliance, covering Dispute resolution. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

When your agent uses it

  • The user says PROCESS model
  • Moderated mediation
  • Conditional indirect effect
  • Indirect effect

Example prompts

  • “PROCESS model,”
  • “mediation,”
  • “moderated mediation,”
  • “/process-model”

Requirements

  • Python 3

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Read context
  2. Load principles and references
  3. Identify the model
  4. Mean-center continuous moderators
  5. Fit the model
  6. Extract and report results
  7. Produce visualizations
  8. Format output tables
  9. Summary and next steps

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. 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 (its code samples are r).

    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

Process Model loads about 1.5k tokens when it runs, and up to ~4.5k if it reads all its reference files. Until then it costs about 160 tokens; SKILL.md has 648 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 648 words (~1,528 tokens).

“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…”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
process-model
argument-hint
<Hayes model number (1-24) or description of model structure>

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references) in skills/61-phdemotions-research-methods/skills/process-model of brycewang-stanford/Auto-Empirical-Research-Skills.

  • SKILL.md
  • references/criteria.md
  • references/hayes-models.md
  • references/principles.md

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Process Model 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.

Process Model compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Process Model this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~1.5kAutomated safety check: PassCustom licence
Litigation Deadline Calendarlawve-ai/awesome-legal-skills826—~4.3kAutomated safety check: PassMIT
Moot Court Simulation Buildercat-xierluo/legal-skills713—~1.4kAutomated safety check: PassCC-BY-NC-4.0
Intake To Draftstella/stella258—~537Automated safety check: PassApache-2.0
Nla Createinternet-court/internet-court-skill6.4k2 repos~915Automated safety check: PassMIT
Nla Arbitrateinternet-court/internet-court-skill6.4k1 repos~866Automated safety check: PassMIT

Similar skills

  • Litigation Deadline Calendar

    lawve-ai/awesome-legal-skills

    Calendar litigation and arbitration deadlines from a scheduling order.

    826 GitHub stars~4.3k tokensUpdated 4 days ago
    Legal & ComplianceAuto-check passed
  • Moot Court Simulation Builder

    cat-xierluo/legal-skills

    Chinese-language skill that organizes a case file into a multi-role mock trial with judge, parties and clerk, producing a transcript, issue review and a to-strengthen list.

    713 GitHub stars~1.4k tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Intake To Draft

    stella/stella

    Collects the facts of an unpaid invoice, then drafts a payment demand letter.

    258 GitHub stars~537 tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Nla Create

    internet-court/internet-court-skill

    Create a Natural Language Agreement escrow on-chain. An agent skill from internet-court/internet-court-skill.

    6.4k GitHub starsUsed in 2 repos~915 tokens
    Legal & ComplianceAuto-check passed
  • Nla Arbitrate

    internet-court/internet-court-skill

    Manually arbitrate NLA escrow fulfillments as an alternative to the automated oracle.

    6.4k GitHub starsUsed in 1 repo~866 tokens
    Legal & ComplianceAuto-check passed
  • Nla Fulfill

    internet-court/internet-court-skill

    Fulfill an existing NLA escrow and collect tokens. An agent skill from internet-court/internet-court-skill.

    6.4k GitHub starsUsed in 1 repo~854 tokens
    Legal & ComplianceAuto-check passed

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 369 skills in this repo
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.5k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~3.5k tokensUpdated 2 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.5k GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.5k GitHub stars~868 tokensUpdated 2 days ago
    Auto-check passed
  • Latex Thesis Zh

    brycewang-stanford/Auto-Empirical-Research-Skills

    Chinese LaTeX thesis assistant for existing .tex degree thesis projects (XeLaTeX/LuaLaTeX/latexmk).

    4.5k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Obsidian Project Memory

    brycewang-stanford/Auto-Empirical-Research-Skills

    This skill should be used when the user asks to maintain an Obsidian knowledge base for a research project, import an existing research repository into Obsidian, keep project memory or daily notes…

    4.5k GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed

Questions about Process Model

What does Process Model 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…. Process Model is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. 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.

When should I use Process Model?

Process Model fits situations like: the user says PROCESS model; moderated mediation; conditional indirect effect; indirect effect.

How do I install Process Model in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill process-model -a claude-code`. Or copy the skill folder (skills/61-phdemotions-research-methods/skills/process-model in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/process-model in your project. Claude Code loads it when a task matches its description.

How do I install Process Model in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill process-model -a codex`. Or copy the skill folder (skills/61-phdemotions-research-methods/skills/process-model in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/process-model in your project. Codex loads it when a task matches its description.

Can I use Process Model 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 brycewang-stanford/Auto-Empirical-Research-Skills --skill process-model -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/process-model, .gemini/skills/process-model, .github/skills/process-model and .opencode/skills/process-model in your project.

What does Process Model need to run?

SKILL.md names no scripts, command-line tools or credentials: Process Model is instructions for the agent only. Our summary lists: Python 3.

Does Process Model 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 Process Model 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 Process Model use?

Process Model has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Process Model use?

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

What are the alternatives to Process Model?

Skills that share tags, products or a category with Process Model: Litigation Deadline Calendar (lawve-ai/awesome-legal-skills, 826 stars), Moot Court Simulation Builder (cat-xierluo/legal-skills, 713 stars), Intake To Draft (stella/stella, 258 stars) and Nla Create (internet-court/internet-court-skill, 6.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Process Model?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,517 GitHub stars. The repository holds 369 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-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.