Agent skill

Regression Modeler

by zebbern in zebbern/claude-code-guide

Run regression analysis (OLS or logistic) on uploaded CSV/Excel data, generating coefficients, R², p-values, VIF, and plain-language interpretation.

MITAuto-check passedData & Analytics

Install Regression Modeler

skills CLI
$ npx skills add zebbern/claude-code-guide --skill regression-modeler -a claude-code

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

GitHub CLI
$ gh skill install zebbern/claude-code-guide regression-modeler --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/zebbern/claude-code-guide.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/regression-modeler .claude/skills/regression-modeler && 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
regression-modeler
GitHub stars
4.6k
Token cost
~909 tokens
SKILL.md length
172 words
Files
3 (incl. scripts)
Skills in repo
46
Repo updated
First seen
Licence
MIT

At a glance

Run regression analysis (OLS or logistic) on uploaded CSV/Excel data, generating coefficients, R², p-values, VIF, and plain-language interpretation.

  • Tasks that involve Statistics
  • SKILL.md covers Capabilities, Quick Start, Detailed Usage and Parameters, plus 2 more sections
  • Runs Python scripts from its folder; calls python3 and pip
  • Tasks that involve Plain language and style rules

What it does

Regression Modeler is an agent skill from zebbern/claude-code-guide. Run regression analysis (OLS or logistic) on uploaded CSV/Excel data, generating coefficients, R², p-values, VIF, and plain-language interpretation. Triggered by requests for regression modeling, fitting data, testing significance, checking multicollinearity, or keywords like OLS, logit, coefficient, p-value, or R-squared.

Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/regression_analyzer.py`).

It sits in Data & Analytics, covering Statistics, Plain language and style rules and Excel spreadsheets. It works with Microsoft Excel. The repository describes itself as: Claude Code Guide - Setup, Commands, workflows, agents, skills & tips-n-tricks from beginner to power user! The licence is MIT.

When your agent uses it

  • Tasks that involve Statistics
  • Tasks that involve Plain language and style rules
  • Tasks that involve Excel spreadsheets

Example prompts

  • “/regression-modeler”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 4698e3b. 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 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    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

Regression Modeler loads about 909 tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 172 words of instructions outside code blocks.

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

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

The full file from zebbern/claude-code-guide at commit 4698e3b, republished under its MIT licence (© zebbern). 172 words, ~909 tokens.

Download SKILL.mdSave it as .claude/skills/regression-modeler/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
regression-modeler
description
Run regression analysis (OLS or logistic) on uploaded CSV/Excel data, generating coefficients, R², p-values, VIF, and plain-language interpretation. Triggered by requests for regression modeling, fitting data, testing significance, checking multicollinearity, or keywords like OLS, logit, coefficient, p-value, or R-squared.
license
MIT

regression-modeler

Automated regression modeling tool — performs linear regression (OLS) or logistic regression (Logit) on tabular data, producing comprehensive statistical results with plain-language interpretation.

Capabilities

FeatureDescription
Linear RegressionOLS with coefficients, R², adjusted R², F-test, AIC/BIC, Durbin-Watson
Logistic RegressionLogit with coefficients, Odds Ratio, Pseudo R², likelihood ratio test
Multicollinearity DetectionVIF values for each predictor with warning levels
Plain-Language InterpretationClear explanations of what each metric and coefficient means
Auto DetectionAutomatically switches to logistic regression when the target is binary (0/1)

Quick Start

bash
# Linear regression: predict price using all numeric columns as predictors
python3 scripts/regression_analyzer.py data.csv --target price

# Logistic regression: predict churn (0/1) with specified features
python3 scripts/regression_analyzer.py users.csv --target churn --features "age,income,tenure"

# Save results to JSON
python3 scripts/regression_analyzer.py data.csv --target sales --output result.json

Detailed Usage

Basic Invocation
bash
python3 scripts/regression_analyzer.py <data_file> --target <target_column> [options]
Specifying Regression Type
bash
# Force linear regression
python3 scripts/regression_analyzer.py data.csv -t y --type linear

# Force logistic regression
python3 scripts/regression_analyzer.py data.csv -t label --type logistic

# Auto-detect (default)
python3 scripts/regression_analyzer.py data.csv -t y --type auto
Selecting Feature Columns
bash
# Manually specify (comma-separated)
python3 scripts/regression_analyzer.py data.csv -t price -f "sqft,bedrooms,bathrooms"

# Omit to automatically use all numeric columns
python3 scripts/regression_analyzer.py data.csv -t price

Parameters

ParameterShortRequiredDefaultDescription
input—Yes—Input file path (CSV/TSV/Excel/JSON)
--target-tYes—Target variable (dependent variable) column name
--features-fNoAll numeric columnsPredictor column names, comma-separated
--type-TNoautoRegression type: linear / logistic / auto
--output-oNostdoutOutput JSON file path
--no-const—NofalseDo not add an intercept term
--keep-na—NofalseKeep rows with missing values (for debugging)

Output Structure (JSON)

json
{
  "type": "linear",
  "r_squared": 0.8523,
  "r_squared_adj": 0.8471,
  "f_statistic": 162.34,
  "f_p_value": 0.0,
  "coefficients": {
    "sqft": {"coefficient": 135.42, "p_value": 0.0001, ...},
    "bedrooms": {"coefficient": 8021.5, "p_value": 0.032, ...}
  },
  "vif": {"sqft": 2.31, "bedrooms": 1.87},
  "interpretation": {
    "model_summary": ["R² = 0.8523 (good model fit...)"],
    "variable_analysis": ["sqft: coefficient = 135.42... positive effect..."]
  }
}

Dependencies

  • Python 3.8+
  • pandas
  • numpy
  • statsmodels
  • scipy
bash
pip install pandas numpy statsmodels scipy

© zebbern, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/regression-modeler of zebbern/claude-code-guide.

  • SKILL.md
  • LICENSE
  • scripts/regression_analyzer.py

Open the folder on GitHubat commit 4698e3b

Compare with similar skills

Regression Modeler 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.

Regression Modeler compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Regression Modeler this skillzebbern/claude-code-guide4.6k—~909Automated safety check: PassMIT
CSV Data Analysis5zjk5/prompt-engineering127—~2.6kAutomated safety check: PassNone
Excel and CSV Data Analysisbytedance/deer-flow83k4 repos~2.2kAutomated safety check: PassMIT
Research Integrity Auditxuzhougeng/wisp-science1k—~2.6kAutomated safety check: PassAGPL-3.0
Category StatisticsMichaelYang-lyx/AIDABench1111 repos~1.2kAutomated safety check: PassNone
Workflow AutomatorLeoYeAI/openclaw-master-skills2.2k—~4.7kAutomated safety check: PassMIT

Similar skills

  • CSV Data Analysis

    5zjk5/prompt-engineering

    This skill should be used when users need to analyze CSV or Excel files, understand data patterns, generate statistical summaries, or create data visualizations.

    127 GitHub stars~2.6k tokensUpdated 22 days ago
    Data & AnalyticsAuto-check passed
  • Excel and CSV Data Analysis

    bytedance/deer-flow

    Analyzes uploaded Excel and CSV files with SQL through DuckDB, producing schema inspections, statistical summaries and exports to CSV, JSON or Markdown.

    83k GitHub starsUsed in 4 repos~2.2k tokens
    Data & AnalyticsAuto-check passed
  • Research Integrity Audit

    xuzhougeng/wisp-science

    学术审查 / research-integrity screening of a manuscript's figures and reported numbers.

    1k GitHub stars~2.6k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Category Statistics

    MichaelYang-lyx/AIDABench

    提取指定类别列并统计各类别数量与占比,生成高分辨率的柱状图、饼图等组合可视化报告,适用于分类数据的分布情况分析. An agent skill from MichaelYang-lyx/AIDABench.

    111 GitHub starsUsed in 1 repo~1.2k tokens
    Data & AnalyticsAuto-check passed
  • Workflow Automator

    LeoYeAI/openclaw-master-skills

    Automate repeatable workflows with WhatsApp/Telegram notifications, Excel/CSV processing, browser automation, and flexible scheduling.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed
  • Data Analysis Router

    franklee16/academic-research-skills

    Multi-domain data analysis router for uploaded datasets, spreadsheets, CSV/XLSX files, business metric tables, or user questions that require selecting the right business analysis framework before…

    223 GitHub stars~1k tokensUpdated 19 days ago
    Data & AnalyticsAuto-check passed

More from zebbern/claude-code-guide

All 46 skills in this repo
  • Localization Toolkit

    zebbern/claude-code-guide

    This skill should be used when setting up, auditing, or enforcing internationalization/localization in UI codebases (React/TS, i18next or similar, JSON locales), including installing/configuring the…

    4.6k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Audit Flow

    zebbern/claude-code-guide

    Interactive system flow tracing across CODE, API, AUTH, DATA, NETWORK layers with SQLite persistence and Mermaid export.

    4.6k GitHub stars~4.2k tokensUpdated yesterday
    Auto-check passed
  • Chart Image

    zebbern/claude-code-guide

    Generate publication-quality PNG chart images from data, supporting line, bar, area, candlestick, pie, and heatmap charts.

    4.6k GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Code To Diagram

    zebbern/claude-code-guide

    Analyze codebases and automatically generate architecture diagrams, flowcharts, and org charts.

    4.6k GitHub stars~972 tokensUpdated yesterday
    Auto-check passed
  • Code Vuln Audit

    zebbern/claude-code-guide

    Scan code for security issues: dependency vulnerabilities (npm/pip audit), secret leaks (regex and entropy analysis), and OWASP anti-patterns like SQL injection, XSS, or command injection.

    4.6k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Data Viz Renderer

    zebbern/claude-code-guide

    Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards.

    4.6k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Regression Modeler

What does Regression Modeler do?

Run regression analysis (OLS or logistic) on uploaded CSV/Excel data, generating coefficients, R², p-values, VIF, and plain-language interpretation. Regression Modeler is an agent skill from zebbern/claude-code-guide. Run regression analysis (OLS or logistic) on uploaded CSV/Excel data, generating coefficients, R², p-values, VIF, and plain-language interpretation.

When should I use Regression Modeler?

Regression Modeler fits situations like: tasks that involve Statistics; tasks that involve Plain language and style rules; tasks that involve Excel spreadsheets.

How do I install Regression Modeler in Claude Code?

Run `npx skills add zebbern/claude-code-guide --skill regression-modeler -a claude-code`. Or copy the skill folder (skills/regression-modeler in zebbern/claude-code-guide) into .claude/skills/regression-modeler in your project. Claude Code loads it when a task matches its description.

How do I install Regression Modeler in Codex?

Run `npx skills add zebbern/claude-code-guide --skill regression-modeler -a codex`. Or copy the skill folder (skills/regression-modeler in zebbern/claude-code-guide) into .agents/skills/regression-modeler in your project. Codex loads it when a task matches its description.

Can I use Regression Modeler 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 zebbern/claude-code-guide --skill regression-modeler -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/regression-modeler, .gemini/skills/regression-modeler, .github/skills/regression-modeler and .opencode/skills/regression-modeler in your project.

What does Regression Modeler need to run?

Going by SKILL.md and its folder, Regression Modeler needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and pip). Our summary lists: Python 3.

Does Regression Modeler access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Regression Modeler 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 Regression Modeler use?

Regression Modeler is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Regression Modeler use?

About 909 tokens (SKILL.md is roughly 3.6k 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 Regression Modeler?

Skills that share tags, products or a category with Regression Modeler: CSV Data Analysis (5zjk5/prompt-engineering, 127 stars), Excel and CSV Data Analysis (bytedance/deer-flow, 83k stars), Research Integrity Audit (xuzhougeng/wisp-science, 1k stars) and Category Statistics (MichaelYang-lyx/AIDABench, 111 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Regression Modeler?

zebbern (a GitHub user) maintains it in zebbern/claude-code-guide, which has 4,648 GitHub stars. The repository holds 46 skills in this directory. The repository was last updated on October 7, 2026.

Source: zebbern/claude-code-guide on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.