Make an empirical analysis robust to specification search, before or after the fact.

Custom licenceAuto-check passedBusiness, Finance & HR

Install Phack Immunization

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

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

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills phack-immunization --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/73-brycewang-p-hacking-skills/skills/07-phack-immunization .claude/skills/phack-immunization && 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
phack-immunization
GitHub stars
4.5k
Token cost
~2.2k tokens
SKILL.md length
1,177 words
Files
1
Skills in repo
369
Repo updated
First seen
Licence
Custom licence

At a glance

Make an empirical analysis robust to specification search, before or after the fact.

  • Works in 5 steps: Report the curve, not the point → Test the curve, not the point → Correct the point for multiplicity,… → …
  • Asked how to protect an analysis against p-hacking
  • SKILL.md covers A. Before the data are analysed, B. After a search has happened, Two diagnostics worth… and The honest report, plus 1 more section
  • Calls python

What it does

Phack Immunization is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Make an empirical analysis robust to specification search, before or after the fact. Covers pre-registration and pre-analysis plans encoded as design cards, specification-curve reporting with the Simonsohn joint tests, Romano-Wolf and effective-multiplicity corrections, full-procedure null calibration including for sequential searches, the distance-from-pre-registration diagnostic, split-sample and holdout designs, and the auto-generated honest report. Use when asked how to protect an analysis against p-hacking…

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR, covering Performance reviews. 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

  • Asked how to protect an analysis against p-hacking
  • How to correct inference after a search has happened
  • How to write a pre-analysis plan
  • How to report a multiverse credibly

Example prompts

  • “/phack-immunization”

Requirements

  • Python 3

Workflow steps

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

  1. Report the curve, not the point
  2. Test the curve, not the point
  3. Correct the point for multiplicity, using the dependence
  4. Calibrate the whole search
  5. Randomisation inference for the reported specification

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

    Shell commands in SKILL.md call:

    • python

    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

Phack Immunization loads about 2.2k tokens when it runs. Until then it costs about 166 tokens; SKILL.md has 1,177 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~166
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

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 1,177 words (~2,179 tokens).

name
phack-immunization

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/73-brycewang-p-hacking-skills/skills/07-phack-immunization of brycewang-stanford/Auto-Empirical-Research-Skills.

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Phack Immunization 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.

Phack Immunization compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Phack Immunization this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~2.2kAutomated safety check: PassCustom licence
Wp Performance Reviewelvismdev/claude-wordpress-skills2341 repos~4.5kAutomated safety check: PassMIT
Align Humanagentscope-ai/OpenJudge867—~3.1kAutomated safety check: PassApache-2.0
Performance ReportAffitor/affiliate-skills6981 repos~2.5kAutomated safety check: PassMIT
Run Mv Hoi Reconstructionnvidia-isaac/video_to_data847—~1.5kAutomated safety check: PassCustom licence
Company Analysiszhu1090093659/dsh-trading230—~4.2kAutomated safety check: PassCustom licence

Similar skills

  • Wp Performance Review

    elvismdev/claude-wordpress-skills

    WordPress performance code review and optimization analysis.

    234 GitHub starsUsed in 1 repo~4.5k tokens
    Business, Finance & HRAuto-check passed
  • Align Human

    agentscope-ai/OpenJudge

    A skill your agent uses when the user has a judge/grader and human-labeled data, and wants to measure how well the judge agrees with humans, detect systematic biases, determine whether automatic…

    867 GitHub stars~3.1k tokensUpdated 26 days ago
    Business, Finance & HRAuto-check passed
  • Performance Report

    Affitor/affiliate-skills

    Generate affiliate performance reports with KPIs and recommendations.

    698 GitHub starsUsed in 1 repo~2.5k tokens
    Business, Finance & HRAuto-check passed
  • Run Mv Hoi Reconstruction

    nvidia-isaac/video_to_data

    Run and validate the repository-local multi-view camera calibration and human-object reconstruction pipelines.

    847 GitHub stars~1.5k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Company Analysis

    zhu1090093659/dsh-trading

    A skill your agent uses when the user wants to analyze a listed company, stock, business, or investment target; challenge or revise an existing company report; compare A/H or primary-listing/ADR…

    230 GitHub stars~4.2k tokensUpdated 4 days ago
    Business, Finance & HRAuto-check passed
  • Slurm Pipeline Manager

    CliMA/EnsembleKalmanProcesses.jl

    Scaffold and maintain a SLURM/HPC job-dependency tree for an EnsembleKalmanProcesses.jl (EKP) calibration pipeline.

    127 GitHub stars~3.4k tokensUpdated today
    Business, Finance & HRAuto-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 Phack Immunization

What does Phack Immunization do?

Make an empirical analysis robust to specification search, before or after the fact. Phack Immunization is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Make an empirical analysis robust to specification search, before or after the fact.

When should I use Phack Immunization?

Phack Immunization fits situations like: asked how to protect an analysis against p-hacking; how to correct inference after a search has happened; how to write a pre-analysis plan; how to report a multiverse credibly.

How do I install Phack Immunization in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill phack-immunization -a claude-code`. Or copy the skill folder (skills/73-brycewang-p-hacking-skills/skills/07-phack-immunization in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/phack-immunization in your project. Claude Code loads it when a task matches its description.

How do I install Phack Immunization in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill phack-immunization -a codex`. Or copy the skill folder (skills/73-brycewang-p-hacking-skills/skills/07-phack-immunization in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/phack-immunization in your project. Codex loads it when a task matches its description.

Can I use Phack Immunization 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 phack-immunization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/phack-immunization, .gemini/skills/phack-immunization, .github/skills/phack-immunization and .opencode/skills/phack-immunization in your project.

What does Phack Immunization need to run?

Going by SKILL.md and its folder, Phack Immunization needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Phack Immunization 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 Phack Immunization 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 Phack Immunization use?

Phack Immunization 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 Phack Immunization use?

About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Phack Immunization?

Skills that share tags, products or a category with Phack Immunization: Wp Performance Review (elvismdev/claude-wordpress-skills, 234 stars), Align Human (agentscope-ai/OpenJudge, 867 stars), Performance Report (Affitor/affiliate-skills, 698 stars) and Run Mv Hoi Reconstruction (nvidia-isaac/video_to_data, 847 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Phack Immunization?

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.