pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
CSS — annual Clery Act crime/fire safety for Title IV institutions. Portal: hate crimes only (2005-2021); primary offenses, VAWA, arrests, fire safety need ope.ed.gov directly. Use for campus crime analysis. Identified by IPEDS unitid.
Claude Code
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-campus-safety --agent claude-code
Codex
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-campus-safety -a codex -y
Cursor
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-campus-safety -a cursor -y
Gemini CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-campus-safety -a gemini-cli -y
GitHub Copilot
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-campus-safety -a github-copilot -y
OpenCode
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-campus-safety -a opencode -y
Windsurf
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill education-data-source-campus-safety -a windsurf -y
name: education-data-source-campus-safety description: >- CSS — annual Clery Act crime/fire safety for Title IV institutions. Portal: hate crimes only (2005-2021); primary offenses, VAWA, arrests, fire safety need ope.ed.gov directly. Use for campus crime analysis. Identified by IPEDS unitid. metadata: audience: any-agent domain: data-source skill-authored: "2026-02-09" skill-last-updated: "2026-02-09"
Campus Safety and Security (CSS) — annual Clery Act crime and fire safety reporting for all Title IV postsecondary institutions. Full dataset covers primary offenses, VAWA offenses, hate crimes, arrests/referrals, and fire safety. Portal mirror provides only hate crimes data (2005-2021); primary offenses, VAWA, arrests, and fire safety require direct access to ope.ed.gov/campussafety. Use when analyzing campus hate crimes via Portal or understanding Clery Act reporting structure. Identified by IPEDS unitid.
Guide to understanding and using campus crime and fire safety data collected under the Clery Act.
> **CRITICAL: Value Encoding** > > The Education Data Portal mirrors use **integer codes** for categorical variables, not string labels: > > | Variable | Example Code | Meaning | > |----------|--------------|---------| > | `bias` | `1` | Race-based bias | > | `crime_type` | `14` | Intimidation | > | `fips` | `6` | California | > > See `./references/variable-definitions.md` for complete code mappings.
> **Truth Hierarchy:** When interpreting variable values, apply this priority: > 1. **Actual data file** (what you observe in the parquet/CSV) -- this IS the truth > 2. **Live codebook** (.xls in mirror) -- authoritative documentation, may lag > 3. **This skill documentation** -- convenient summary, may drift from codebook > > If this documentation contradicts the codebook, trust the codebook. If the codebook contradicts observed data, trust the data and investigate. Use `get_codebook_url()` from `fetch-patterns.md` to download codebooks.
The Campus Safety and Security (CSS) data comes from the annual survey required by the Jeanne Clery Disclosure of Campus Security Policy and Campus Crime Statistics Act:
| File | Purpose | When to Read | |------|---------|--------------| | `clery-act.md` | Legal framework, history, reporting requirements | Understanding compliance context | | `crime-categories.md` | Criminal offenses, definitions, classification rules | Interpreting crime statistics | | `vawa-offenses.md` | Dating violence, domestic violence, stalking | Analyzing gender-based violence data | | `hate-crimes.md` | Bias categories, additional offenses, classification | Working with hate crime statistics | | `campus-geography.md` | On-campus, residence halls, public property, noncampus | Understanding location categories | | `fire-safety.md` | Fire statistics, safety systems, HEOA requirements | Analyzing residential fire data | | `arrests-referrals.md` | Drug, alcohol, weapons violations | Working with disciplinary data | | `variable-definitions.md` | Key variables, data structure, identifiers | Building queries | | `limitations.md` | Underreporting, comparability issues, interpretation | Critical data analysis |
Crime data type?
├─ Violent crimes (murder, assault, robbery, sex offenses)
│ └─ See ./references/crime-categories.md
├─ Property crimes (burglary, motor vehicle theft, arson)
│ └─ See ./references/crime-categories.md
├─ Sex offenses (rape, fondling, incest, statutory rape)
│ └─ See ./references/crime-categories.md
├─ Dating/domestic violence, stalking
│ └─ See ./references/vawa-offenses.md
├─ Hate crimes (bias-motivated)
│ └─ See ./references/hate-crimes.md
├─ Drug/alcohol/weapons violations
│ └─ See ./references/arrests-referrals.md
└─ Fire incidents in residence halls
└─ See ./references/fire-safety.mdUnderstanding crime location?
├─ On-campus (main campus buildings/grounds)
│ └─ See ./references/campus-geography.md
├─ On-campus student housing (subset of on-campus)
│ └─ See ./references/campus-geography.md
├─ Public property (streets, sidewalks adjacent to campus)
│ └─ See ./references/campus-geography.md
├─ Noncampus (off-site but institution-controlled)
│ └─ See ./references/campus-geography.md
└─ Not sure which category
└─ See ./references/campus-geography.md (definitions section)Planning institutional comparisons?
├─ Want to rank schools by safety
│ └─ See ./references/limitations.md (CRITICAL: comparability issues)
├─ Comparing similar institution types
│ └─ See ./references/limitations.md (controlling for factors)
├─ Analyzing trends over time
│ └─ See ./references/limitations.md (reporting changes)
└─ Understanding what statistics mean
└─ See ./references/limitations.md (interpretation guidance)| Code | Crime Type | Category | |------|------------|----------| | `1` | Murder/Non-negligent Manslaughter | Primary Offe
## 🔥 力荐 · StatsPAI — Stata 与 R 的 Python 平替,为 AI Agent 而生 🔁 Stata / R 平替:reghdfe、csdid、rdrobust、synth、fixest、did 等常用命令在 Python 中一站式替代,一个 import statspai as sp 搞定 DID / RD / IV / SCM / DML / matching 🤖 面向 Agent 设计:结构化结果对象 + 内置 MCP Server,Claude / Codex
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics…
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid +…
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven +…
Systematic writing framework for philosophy and interdisciplinary academic papers from optimized outline to submission-ready…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…