Fast high-dimensional fixed effects: OLS, Poisson, IV with multi-way FE; DiD (TWFE, did2s, Sun-Abraham); clustered SEs; etable/coefplot/iplot.

Custom licenceAuto-check passedData & Analytics

Install Pyfixest

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

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

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills pyfixest --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/17-DAAF-Contribution-Community-daaf/dot-claude/skills/pyfixest .claude/skills/pyfixest && 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
pyfixest
GitHub stars
4.5k
Token cost
~3.5k tokens
SKILL.md length
994 words
Files
9 (incl. references)
Skills in repo
364
Repo updated
First seen
Licence
Custom licence

At a glance

Fast high-dimensional fixed effects: OLS, Poisson, IV with multi-way FE; DiD (TWFE, did2s, Sun-Abraham); clustered SEs; etable/coefplot/iplot.

  • Works in 5 steps: New to pyfixest? Start with… → Running DiD? Read quickstart.md, then… → Need IV? Read quickstart.md, then… → …
  • Tasks that involve Statistics
  • SKILL.md covers What is pyfixest?, Version Notes, How to Use This Skill and Related Skills, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Pyfixest is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Fast high-dimensional fixed effects: OLS, Poisson, IV with multi-way FE; DiD (TWFE, did2s, Sun-Abraham); clustered SEs; etable/coefplot/iplot. Use for FE regressions or DiD. For panel RE/between use linearmodels; for GLM without FE use statsmodels.

Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `references/advanced-inference.md`, `references/difference-in-differences.md` and `references/fixed-effects.md`).

It sits in Data & Analytics, covering Statistics and Econometrics and empirical research. It works with statsmodels. 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

  • Tasks that involve Statistics
  • Tasks that involve Econometrics and empirical research

Example prompts

  • “/pyfixest”

Requirements

  • Python 3

Workflow steps

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

  1. New to pyfixest? Start with quickstart.md then fixed-effects.md
  2. Running DiD? Read quickstart.md, then difference-in-differences.md
  3. Need IV? Read quickstart.md, then instrumental-variables.md
  4. Making tables? Check tables-and-plots.md
  5. Coming from R fixest? Read quickstart.md then gotchas.md

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 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

Pyfixest loads about 3.5k tokens when it runs, and up to ~23k if it reads all its reference files. Until then it costs about 64 tokens; SKILL.md has 994 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~3.5k
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

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

“pyfixest: fast high-dimensional fixed effects estimation for Python. Covers OLS, Poisson, and IV regression with multi-way fixed effects; difference-in-differences estimators (TWFE, did2s, lpdid, Sun-Abraham); clustered standard errors; wild bootstrap; and publication output (etable regression tables, coefplot, iplot event study plots)…”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
pyfixest
metadata.audience
research-coders
metadata.domain
python-library
metadata.library-version
0.40.0
metadata.skill-last-updated
2026-03-27

Read the full SKILL.md on GitHub

Files

SKILL.md and 8 other files (references) in skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/pyfixest of brycewang-stanford/Auto-Empirical-Research-Skills.

  • SKILL.md
  • references/advanced-inference.md
  • references/difference-in-differences.md
  • references/fixed-effects.md
  • references/gotchas.md
  • references/instrumental-variables.md
  • references/integration.md
  • references/quickstart.md
  • references/tables-and-plots.md

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Pyfixest 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.

Pyfixest compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pyfixest this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~3.5kAutomated safety check: PassCustom licence
Statistical Data Analysislingzhi227/agent-research-skills384—~886Automated safety check: PassNone
Research Analysis Routerwentorai/Research-Claw858—~169Automated safety check: PassCustom licence
Review Of Economics And Statisticsfranklee16/academic-research-skills2231 repos~1.6kAutomated safety check: PassNone
Uai Topic Selectionbrycewang-stanford/Awesome-Journal-Skills1.2k—~1.8kAutomated safety check: PassMIT
Statistical Analysisspacering-net/codeg3.8k4 repos~5kAutomated safety check: PassMIT

Similar skills

  • Statistical Data Analysis

    lingzhi227/agent-research-skills

    Writes statistical analysis code for experimental data, runs it through a four-round review, and reports effect sizes, p-values and confidence intervals.

    384 GitHub stars~886 tokensUpdated 7 mo ago
    Data & AnalyticsAuto-check passed
  • Research Analysis Router

    wentorai/Research-Claw

    科研分析能力入口:统计、因果推断、数据清洗与可视化。Use for statistics, econometrics, wrangling, causal inference, charts, and publication figures.

    858 GitHub stars~169 tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Review Of Economics And Statistics

    franklee16/academic-research-skills

    A skill your agent uses when targeting Review of Economics and Statistics (REStat) or deciding whether an applied econometrics manuscript fits this venue.

    223 GitHub starsUsed in 1 repo~1.6k tokens
    Data & AnalyticsAuto-check passed
  • Uai Topic Selection

    brycewang-stanford/Awesome-Journal-Skills

    A skill your agent uses when deciding whether a project belongs at UAI, where uncertainty representation, probabilistic reasoning, graphical models, causal inference, or decision making under…

    1.2k GitHub stars~1.8k tokensUpdated 11 days ago
    Data & AnalyticsAuto-check passed
  • Statistical Analysis

    spacering-net/codeg

    Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting.

    3.8k GitHub starsUsed in 4 repos~5k tokens
    Data & AnalyticsAuto-check passed
  • Statsmodels

    zLanqing/codex-claude-academic-skills

    Statistical models library for Python. An agent skill from zLanqing/codex-claude-academic-skills.

    4.6k GitHub starsUsed in 16 repos~4.9k tokens
    Data & AnalyticsAuto-check passed

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

All 364 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 3 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 3 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 3 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 3 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 3 days ago
    Auto-check passed

Works with

Questions about Pyfixest

What does Pyfixest do?

Fast high-dimensional fixed effects: OLS, Poisson, IV with multi-way FE; DiD (TWFE, did2s, Sun-Abraham); clustered SEs; etable/coefplot/iplot. Pyfixest is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Fast high-dimensional fixed effects: OLS, Poisson, IV with multi-way FE; DiD (TWFE, did2s, Sun-Abraham); clustered SEs; etable/coefplot/iplot.

When should I use Pyfixest?

Pyfixest fits situations like: tasks that involve Statistics; tasks that involve Econometrics and empirical research.

How do I install Pyfixest in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill pyfixest -a claude-code`. Or copy the skill folder (skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/pyfixest in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/pyfixest in your project. Claude Code loads it when a task matches its description.

How do I install Pyfixest in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill pyfixest -a codex`. Or copy the skill folder (skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/pyfixest in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/pyfixest in your project. Codex loads it when a task matches its description.

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

What does Pyfixest need to run?

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

Does Pyfixest 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 Pyfixest 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 Pyfixest use?

Pyfixest 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 Pyfixest use?

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

What are the alternatives to Pyfixest?

Skills that share tags, products or a category with Pyfixest: Statistical Data Analysis (lingzhi227/agent-research-skills, 384 stars), Research Analysis Router (wentorai/Research-Claw, 858 stars), Review Of Economics And Statistics (franklee16/academic-research-skills, 223 stars) and Uai Topic Selection (brycewang-stanford/Awesome-Journal-Skills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pyfixest?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,529 GitHub stars. The repository holds 364 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.