Agent skill

Empirical Analysis Skill Python

by Drchronx in Drchronx/ai-agent-research-starter-kit

Parameterized Python empirical-analysis and machine-learning workflow for applied economics, public health epidemiology, supervised ML, and ML causal inference.

Custom licenceAuto-check passedData & Analytics

Install Empirical Analysis Skill Python

skills CLI
$ npx skills add Drchronx/ai-agent-research-starter-kit --skill empirical-analysis-skill-python -a claude-code

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

GitHub CLI
$ gh skill install Drchronx/ai-agent-research-starter-kit empirical-analysis-skill-python --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/Drchronx/ai-agent-research-starter-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'综合学术部署包/04_数据采集整合与实证Skills/empirical-analysis-skill-python' .claude/skills/empirical-analysis-skill-python && 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
empirical-analysis-skill-python
GitHub stars
135
Token cost
~3k tokens
SKILL.md length
993 words
Files
37 (incl. scripts, references)
Skills in repo
36
Repo updated
First seen
Licence
Custom licence

At a glance

Parameterized Python empirical-analysis and machine-learning workflow for applied economics, public health epidemiology, supervised ML, and ML causal inference.

  • Works in 8 steps: Start with scripts/clean_data.py on the… → Use scripts/transform_data.py to create… → Use scripts/describe_data.py to generate… → …
  • The user asks for data cleaning
  • SKILL.md covers Hard Rules, Script Layout, Default Workflow and Domain Modes, plus 4 more sections
  • Runs Python scripts from its folder; calls python

What it does

Empirical Analysis Skill Python is an agent skill from Drchronx/ai-agent-research-starter-kit. Parameterized Python empirical-analysis and machine-learning workflow for applied economics, public health epidemiology, supervised ML, and ML causal inference. Use when the user asks for data cleaning, feature engineering, train/test/validation splits, feature matrix X and target y, Table 1, diagnostic tests, OLS/panel/IV-style formulas, LinearRegression, Ridge, Lasso, ElasticNet, decision trees, random forests, GBDT, regression/classification metrics, DID/event-study formulas, DML/double machine learning with…

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 38 other files, including scripts and reference files (for example `README.md`, `references/01-data-cleaning.md` and `references/02-data-transformation.md`).

It sits in Data & Analytics, covering Machine learning, Econometrics and empirical research and Data cleaning. It works with Python. The repository describes itself as: AI Agent 科研全流程教学包,能教学生从零部署 Codex、Claude Code、OpenClaw、Hermes 等 Agent,学会使用 Skills、飞书、AMiner、AI4Scholar、Zotero、Obsidian…

When your agent uses it

  • The user asks for data cleaning
  • Feature engineering
  • Train/test/validation splits
  • Feature matrix X and target y

Example prompts

  • “/empirical-analysis-skill-python”

Requirements

  • Python 3

Workflow steps

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

  1. Start with scripts/clean_data.py on the raw data. Always pass key variables and dedupe columns when known.
  2. Use scripts/transform_data.py to create analysis variables rather than doing inline dataframe mutations.
  3. Use scripts/describe_data.py to generate Table 1 and the main exploratory figures.
  4. Use scripts/run_diagnostics.py on the baseline formula before reporting results.
  5. Use scripts/run_model.py for the main results. Prefer progressive model columns with --progressive or explicit semicolon-separated…
  6. Use scripts/run_robustness.py for alternative controls, clusters, subsamples, and placebo checks.
  7. Use scripts/run_further_analysis.py for mechanism, heterogeneity, and mediation.
  8. Use scripts/render_manifest.py to produce the final manifest of tables and figures.

What it can do on your machine

Read from SKILL.md and the folder at commit aab1133. 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

    Ships 7 files in scripts/ (Python, from the files we listed), which the agent can run.

    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

Empirical Analysis Skill Python loads about 3k tokens when it runs, and up to ~12k if it reads all its reference files. Until then it costs about 211 tokens; SKILL.md has 993 words of instructions outside code blocks.

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

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); the scripts in this folder 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 993 words (~2,981 tokens).

“This skill runs a full empirical workflow through fixed, decoupled Python scripts. The agent may choose variables, formulas, modes, and arguments, but must not invent Python snippets inside markdown responses or reference files.”

— opening of SKILL.md by Drchronx, Custom licence
name
empirical-analysis-skill-python
triggers
full empirical analysis in Python, classical econometrics pipeline, applied economics paper replication, end-to-end empirical workflow, data cleaning…

Read the full SKILL.md on GitHub

Files

SKILL.md and 36 other files (scripts, references) in 综合学术部署包/04_数据采集整合与实证Skills/empirical-analysis-skill-python of Drchronx/ai-agent-research-starter-kit.

  • SKILL.md
  • README.md
  • references/01-data-cleaning.md
  • references/02-data-transformation.md
  • references/03-descriptive-stats.md
  • references/04-statistical-tests.md
  • references/05-modeling.md
  • references/06-robustness.md
  • references/07-further-analysis.md
  • references/08-tables-plots.md
  • references/09-machine-learning.md
  • references/method-index.md
  • scripts/clean_data.py
  • scripts/common.py
  • scripts/describe_data.py
  • scripts/empirical_cli.py
  • scripts/model_utils.py
  • scripts/plot_factory.py
  • scripts/prepare_ml_data.py
  • … and 18 more

Open the folder on GitHubat commit aab1133

Compare with similar skills

Empirical Analysis Skill Python 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.

Empirical Analysis Skill Python compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Empirical Analysis Skill Python this skillDrchronx/ai-agent-research-starter-kit135—~3kAutomated safety check: PassCustom licence
Splitting Datasetsjeremylongshore/tons-of-skills-marketplace2.8k1 repos~836Automated safety check: PassMIT
Senior Data Scientistalirezarezvani/claude-skills28k2 repos~2.3kAutomated safety check: PassMIT
Sap Hana Cloud Data Intelligencesecondsky/sap-skills462—~3.2kAutomated safety check: PassGPL-3.0
Senior Data Scientistborghei/Claude-Skills881—~1.7kAutomated safety check: PassMIT
Data Cleaningbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~2.9kAutomated safety check: PassCustom licence

Similar skills

  • Splitting Datasets

    jeremylongshore/tons-of-skills-marketplace

    Process split datasets into training, validation, and testing sets for ML model development.

    2.8k GitHub starsUsed in 1 repo~836 tokens
    Data & AnalyticsAuto-check passed
  • Senior Data Scientist

    alirezarezvani/claude-skills

    World-class senior data scientist skill specialising in statistical modeling, experiment design, causal inference, and predictive analytics.

    28k GitHub starsUsed in 2 repos~2.3k tokens
    Data & AnalyticsAuto-check passed
  • Develops data processing pipelines, integrations, and machine learning scenarios in SAP Data Intelligence Cloud.

    462 GitHub stars~3.2k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Senior Data Scientist

    borghei/Claude-Skills

    A skill your agent uses when the user asks to "design an experiment", "build a predictive model", "run A/B test analysis", "perform causal inference", "engineer features", "evaluate model…

    881 GitHub stars~1.7k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Data Cleaning

    brycewang-stanford/Auto-Empirical-Research-Skills

    Clean and transform messy data for analysis in Python, R, or Stata

    4.5k GitHub stars~2.9k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Scikit Learn

    zLanqing/codex-claude-academic-skills

    Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.

    4.6k GitHub starsUsed in 17 repos~3.9k tokens
    Data & AnalyticsAuto-check passed

More from Drchronx/ai-agent-research-starter-kit

All 36 skills in this repo
  • Literature Reviewer Skill

    Drchronx/ai-agent-research-starter-kit

    Build high-quality literature reviews from a research topic using a 10-phase workflow.

    135 GitHub stars~2.5k tokensUpdated 4 mo ago
    Auto-check passed
  • Scenario Experiment Analysis

    Drchronx/ai-agent-research-starter-kit

    Analyze scenario/vignette experiment datasets for behavioral research.

    135 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Scenario Experiment Benchmark Mining

    Drchronx/ai-agent-research-starter-kit

    Mine and synthesize real top-journal scenario/vignette experiment patterns for behavioral research.

    135 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Web Browsing

    Drchronx/ai-agent-research-starter-kit

    Browse and summarize websites, extract content from URLs, search the web for information.

    135 GitHub stars~593 tokensUpdated 4 mo ago
    Auto-check passed
  • Multi Source Data Integration Extraction

    Drchronx/ai-agent-research-starter-kit

    Automatically merge scattered Excel and CSV files, normalize column names, and extract structured tables from PDF, HTML, TXT, or Markdown documents.

    135 GitHub stars~671 tokensUpdated 4 mo ago
    Auto-check passed
  • Scientific Slides

    Drchronx/ai-agent-research-starter-kit

    Build slide decks and presentations for research talks using Nano Banana Pro AI.

    135 GitHub stars~9.8k tokensUpdated 4 mo ago
    Auto-check: notes

Works with

Questions about Empirical Analysis Skill Python

What does Empirical Analysis Skill Python do?

Parameterized Python empirical-analysis and machine-learning workflow for applied economics, public health epidemiology, supervised ML, and ML causal inference. Empirical Analysis Skill Python is an agent skill from Drchronx/ai-agent-research-starter-kit. Parameterized Python empirical-analysis and machine-learning workflow for applied economics, public health epidemiology, supervised ML, and ML causal inference.

When should I use Empirical Analysis Skill Python?

Empirical Analysis Skill Python fits situations like: the user asks for data cleaning; feature engineering; train/test/validation splits; feature matrix X and target y.

How do I install Empirical Analysis Skill Python in Claude Code?

Run `npx skills add Drchronx/ai-agent-research-starter-kit --skill empirical-analysis-skill-python -a claude-code`. Or copy the skill folder (综合学术部署包/04_数据采集整合与实证Skills/empirical-analysis-skill-python in Drchronx/ai-agent-research-starter-kit) into .claude/skills/empirical-analysis-skill-python in your project. Claude Code loads it when a task matches its description.

How do I install Empirical Analysis Skill Python in Codex?

Run `npx skills add Drchronx/ai-agent-research-starter-kit --skill empirical-analysis-skill-python -a codex`. Or copy the skill folder (综合学术部署包/04_数据采集整合与实证Skills/empirical-analysis-skill-python in Drchronx/ai-agent-research-starter-kit) into .agents/skills/empirical-analysis-skill-python in your project. Codex loads it when a task matches its description.

Can I use Empirical Analysis Skill Python 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 Drchronx/ai-agent-research-starter-kit --skill empirical-analysis-skill-python -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/empirical-analysis-skill-python, .gemini/skills/empirical-analysis-skill-python, .github/skills/empirical-analysis-skill-python and .opencode/skills/empirical-analysis-skill-python in your project.

What does Empirical Analysis Skill Python need to run?

Going by SKILL.md and its folder, Empirical Analysis Skill Python needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Empirical Analysis Skill Python 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 Empirical Analysis Skill Python 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Empirical Analysis Skill Python use?

Empirical Analysis Skill Python 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 Empirical Analysis Skill Python use?

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

What are the alternatives to Empirical Analysis Skill Python?

Skills that share tags, products or a category with Empirical Analysis Skill Python: Splitting Datasets (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Senior Data Scientist (alirezarezvani/claude-skills, 28k stars), Sap Hana Cloud Data Intelligence (secondsky/sap-skills, 462 stars) and Senior Data Scientist (borghei/Claude-Skills, 881 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Empirical Analysis Skill Python?

Drchronx (a GitHub user) maintains it in Drchronx/ai-agent-research-starter-kit, which has 135 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on May 19, 2026.

Source: Drchronx/ai-agent-research-starter-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.