Agent skill

Regression Insight

by rongxinzy in rongxinzy/RongxinAI

对 CSV/Excel 数据执行线性回归(OLS)或逻辑回归(Logistic),一键输出完整统计结果(包含回归系数、R²、p值、VIF等)和中文通俗解读。当用户提及回归分析、拟合模型、查看系数显著性、R方、p值、共线性(VIF),或使用关键词如 回归、regression、OLS、logit、拟合、显著性 时触发。

MITAuto-check passedDocuments & Office

Install Regression Insight

skills CLI
$ npx skills add rongxinzy/RongxinAI --skill regression-insight -a claude-code

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

GitHub CLI
$ gh skill install rongxinzy/RongxinAI regression-insight --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/rongxinzy/RongxinAI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/SKILLs/regression-insight .claude/skills/regression-insight && 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-insight
GitHub stars
154
Token cost
~839 tokens
SKILL.md length
126 words
Files
6 (incl. scripts)
Skills in repo
94
Repo updated
First seen
Licence
MIT

At a glance

对 CSV/Excel 数据执行线性回归(OLS)或逻辑回归(Logistic),一键输出完整统计结果(包含回归系数、R²、p值、VIF等)和中文通俗解读。当用户提及回归分析、拟合模型、查看系数显著性、R方、p值、共线性(VIF),或使用关键词如 回归、regression、OLS、logit、拟合、显著性 时触发。

  • Tasks that involve Excel spreadsheets
  • SKILL.md covers 能力概览, Tooling, Quick Start and 详细用法, plus 3 more sections
  • Runs Python scripts from its folder; calls python3 and pip
  • Tasks that involve CSV and tabular files

What it does

Regression Insight is an agent skill from rongxinzy/RongxinAI. 对 CSV/Excel 数据执行线性回归(OLS)或逻辑回归(Logistic),一键输出完整统计结果(包含回归系数、R²、p值、VIF等)和中文通俗解读。当用户提及回归分析、拟合模型、查看系数显著性、R方、p值、共线性(VIF),或使用关键词如 回归、regression、OLS、logit、拟合、显著性 时触发。

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

It sits in Documents & Office, covering Excel spreadsheets and CSV and tabular files. It works with Microsoft Excel and Python. The repository describes itself as: An all-in-one local AI Agent workspace with a fully self-developed stack. The licence is MIT.

When your agent uses it

  • Tasks that involve Excel spreadsheets
  • Tasks that involve CSV and tabular files

Example prompts

  • “/regression-insight”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 9c64865. 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 Insight loads about 839 tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 126 words of instructions outside code blocks.

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

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 rongxinzy/RongxinAI at commit 9c64865, republished under its MIT licence (© rongxinzy). 126 words, ~839 tokens.

Download SKILL.mdSave it as .claude/skills/regression-insight/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
regression-insight
description
对 CSV/Excel 数据执行线性回归(OLS)或逻辑回归(Logistic),一键输出完整统计结果(包含回归系数、R²、p值、VIF等)和中文通俗解读。当用户提及回归分析、拟合模型、查看系数显著性、R方、p值、共线性(VIF),或使用关键词如 回归、regression、OLS、logit、拟合、显著性 时触发。
license
MIT

regression-analyzer

自动回归建模工具 —— 对表格数据执行线性回归(OLS)或逻辑回归(Logit),一键输出完整统计结果和中文通俗解读。

能力概览

功能说明
线性回归OLS,输出系数、R²、调整 R²、F 检验、AIC/BIC、Durbin-Watson
逻辑回归Logit,输出系数、Odds Ratio、Pseudo R²、似然比检验
多重共线性检测每个自变量的 VIF 值 + 警告级别
通俗解读用中文对每个指标和系数给出"什么意思/该怎么看"的说明
自动检测目标变量为 0/1 时自动切换逻辑回归

Tooling

在 ZhiYuan/Pi 内必须通过 run_skill_script 执行本技能脚本,禁止用 bash 直跑 python3 或 python:

json
{
  "skillId": "regression-insight",
  "script": "scripts/regression_analyzer.py",
  "args": ["<数据文件>", "--target", "<目标列>"]
}
  • args 与下方"详细用法"的命令行参数一一对应(去掉 python3 scripts/regression_analyzer.py 前缀)。
  • 脚本依赖(pandas / numpy / scipy / statsmodels,见 requirements.txt)由应用管理的技能 Python 运行时保证,不需要也不应该手动 pip install 或寻找系统 Python。
  • 若执行返回依赖缺失或运行时不可用错误,不要改用系统 python3 或手写替代实现(例如用纯 Python 循环重算回归)——直接报告该错误,说明需要技能 Python 运行时提供依赖。

Quick Start

json
{
  "skillId": "regression-insight",
  "script": "scripts/regression_analyzer.py",
  "args": ["data.csv", "--target", "price"]
}

完整命令示例(展示参数映射,实际执行一律经 run_skill_script):

bash
# 线性回归:预测 price,用所有数值列做自变量
python3 scripts/regression_analyzer.py data.csv --target price

# 逻辑回归:预测 churn(0/1),指定特征列
python3 scripts/regression_analyzer.py users.csv --target churn --features "age,income,tenure"

# 保存结果到 JSON
python3 scripts/regression_analyzer.py data.csv --target sales --output result.json

详细用法

以下命令示例仅用于展示参数映射——实际执行一律通过 run_skill_script,将参数放入 args 数组(见上方 Tooling 段)。禁止在 bash 中直跑 python3 调用本脚本。

基本调用
bash
python3 scripts/regression_analyzer.py <数据文件> --target <目标列> [选项]
指定回归类型
bash
# 强制线性回归
python3 scripts/regression_analyzer.py data.csv -t y --type linear

# 强制逻辑回归
python3 scripts/regression_analyzer.py data.csv -t label --type logistic

# 自动检测(默认)
python3 scripts/regression_analyzer.py data.csv -t y --type auto
选择特征列
bash
# 手动指定(逗号分隔)
python3 scripts/regression_analyzer.py data.csv -t price -f "sqft,bedrooms,bathrooms"

# 省略则自动使用所有数值列
python3 scripts/regression_analyzer.py data.csv -t price

参数说明

参数缩写必填默认值说明
input—是—输入文件路径(CSV/TSV/Excel/JSON)
--target-t是—目标变量(因变量)列名
--features-f否全部数值列自变量列名,逗号分隔
--type-T否auto回归类型:linear / logistic / auto
--output-o否标准输出结果 JSON 保存路径
--no-const—否false不添加截距项
--keep-na—否false保留缺失值行(调试用)

输出结构(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": {
    "模型概述": ["R² = 0.8523(模型拟合优良…)"],
    "各变量解读": ["sqft:系数 = 135.42…正向影响…"]
  }
}

依赖

运行时依赖(pandas、numpy、statsmodels、scipy)由应用管理的技能 Python 运行时按 requirements.txt 提供,无需也不应手动安装。仅在本地独立调试(不经过 ZhiYuan 运行时)时才需要:

bash
pip install pandas numpy statsmodels scipy

© rongxinzy, 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 5 other files (scripts) in SKILLs/regression-insight of rongxinzy/RongxinAI.

  • SKILL.md
  • LICENSE
  • requirements.txt
  • scripts/regression_analyzer.py
  • zhiyuan/icon.png
  • zhiyuan/metadata.yaml

Open the folder on GitHubat commit 9c64865

Compare with similar skills

Regression Insight 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 Insight compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Regression Insight this skillrongxinzy/RongxinAI154—~839Automated safety check: PassMIT
Instrument Data To Allotropeaws-samples/amazon-bedrock-agents-healthcare-lifesciences2742 repos~2.7kAutomated safety check: PassApache-2.0
Anti Gambling Tradermars-tw/anti-gambling-trader-tw907—~1.9kAutomated safety check: PassMIT
XLSX Spreadsheet ToolkitXiaomiMiMo/MiMo-Code14k—~2.9kAutomated safety check: PassApache-2.0
Cc Streaming Export Safetydoccker/cc-use-exp1.1k—~2.2kAutomated safety check: PassCustom licence
Excel Spreadsheet Builderagentscope-ai/QwenPaw36k—~1.8kAutomated safety check: PassProprietary

Similar skills

  • Instrument Data To Allotrope

    aws-samples/amazon-bedrock-agents-healthcare-lifesciences

    Official

    Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.

    274 GitHub starsUsed in 2 repos~2.7k tokens
    Documents & OfficeAuto-check passed
  • Anti Gambling Trader

    mars-tw/anti-gambling-trader-tw

    分析台股 / 台股ETF / 台指期選擇權 / 美股 / 加密貨幣 / 外匯的交易紀錄 (CSV / JSON / Excel),用統計學判斷使用者的獲利是「可重複的優勢」還是 「運氣 + 倖存者偏差(賭博)」,不適合長期投資會明確勸退。內建反詐工具: 掃描群組對話的詐騙話術(scan-text)、檢驗老師宣稱的績效(guru-check)、…

    907 GitHub stars~1.9k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • XLSX Spreadsheet Toolkit

    XiaomiMiMo/MiMo-Code

    Builds, edits, cleans, recalculates and reads Excel workbooks and CSV files with openpyxl and pandas, plus LibreOffice for recalculation and PDF export.

    14k GitHub stars~2.9k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Cc Streaming Export Safety

    doccker/cc-use-exp

    当实现用户驱动的大文件导出或批量序列化(Excel/CSV/JSON/JSONL/PDF,数据量未知或超过 1 万行/10 MB)时触发;普通小文件下载、静态资源下载、非导出 Writer/Report 类不触发。防止 OOM、临时文件残留、同步导出阻塞 HTTP 线程和表格公式注入。

    1.1k GitHub stars~2.2k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Excel Spreadsheet Builder

    agentscope-ai/QwenPaw

    Creates, edits, cleans and analyzes Excel and CSV files with openpyxl and pandas, recalculating formulas through LibreOffice so files are delivered without formula errors.

    36k GitHub stars~1.8k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • CSV and Excel Merger

    OneWave-AI/claude-skills

    Combines CSV, TSV and Excel files into one verified table with pandas, by stacking or joining, mapping columns, normalizing keys and removing duplicates.

    336 GitHub stars~1.6k tokensUpdated 9 days ago
    Documents & OfficeAuto-check passed

More from rongxinzy/RongxinAI

All 94 skills in this repo
  • SaaS Metrics Coach

    rongxinzy/RongxinAI

    SaaS financial health advisor. An agent skill from rongxinzy/RongxinAI.

    154 GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check passed
  • Churn Prevention

    rongxinzy/RongxinAI

    Reduce voluntary and involuntary churn through cancel flow design, save offers, exit surveys, and dunning sequences.

    154 GitHub starsUsed in 3 repos~2.6k tokens
    Auto-check passed
  • Presentation Studio

    rongxinzy/RongxinAI

    The only skill for creating a new PowerPoint deck. An agent skill from rongxinzy/RongxinAI.

    154 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Zhiyuan Expert Manager

    rongxinzy/RongxinAI

    ZhiYuan Agent expert package lifecycle manager for the pi engine.

    154 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Ziwei Doushu

    rongxinzy/RongxinAI

    Professional Ziwei Doushu consultation skill with an offline calculation engine.

    154 GitHub stars~746 tokensUpdated today
    Auto-check passed
  • Lark Mail

    rongxinzy/RongxinAI

    飞书邮箱:Use when user mentions 起草邮件、写邮件、草稿、发送/回复/转发邮件、查阅邮件、看邮件、搜索邮件、邮件文件夹、邮件标签、邮件联系人、监听新邮件、邮件收信规则等;use for mail/email intent only.

    154 GitHub starsUsed in 3 repos~4.1k tokens
    Auto-check: warnings

Questions about Regression Insight

What does Regression Insight do?

对 CSV/Excel 数据执行线性回归(OLS)或逻辑回归(Logistic),一键输出完整统计结果(包含回归系数、R²、p值、VIF等)和中文通俗解读。当用户提及回归分析、拟合模型、查看系数显著性、R方、p值、共线性(VIF),或使用关键词如 回归、regression、OLS、logit、拟合、显著性 时触发。. Regression Insight is an agent skill from rongxinzy/RongxinAI.

When should I use Regression Insight?

Regression Insight fits situations like: tasks that involve Excel spreadsheets; tasks that involve CSV and tabular files.

How do I install Regression Insight in Claude Code?

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

How do I install Regression Insight in Codex?

Run `npx skills add rongxinzy/RongxinAI --skill regression-insight -a codex`. Or copy the skill folder (SKILLs/regression-insight in rongxinzy/RongxinAI) into .agents/skills/regression-insight in your project. Codex loads it when a task matches its description.

Can I use Regression Insight 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 rongxinzy/RongxinAI --skill regression-insight -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-insight, .gemini/skills/regression-insight, .github/skills/regression-insight and .opencode/skills/regression-insight in your project.

What does Regression Insight need to run?

Going by SKILL.md and its folder, Regression Insight 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 Insight 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 Insight 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 Insight use?

Regression Insight 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 Insight use?

About 839 tokens (SKILL.md is roughly 3.4k 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 Insight?

Skills that share tags, products or a category with Regression Insight: Instrument Data To Allotrope (aws-samples/amazon-bedrock-agents-healthcare-lifesciences, 274 stars), Anti Gambling Trader (mars-tw/anti-gambling-trader-tw, 907 stars), XLSX Spreadsheet Toolkit (XiaomiMiMo/MiMo-Code, 14k stars) and Cc Streaming Export Safety (doccker/cc-use-exp, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Regression Insight?

rongxinzy (a GitHub organization) maintains it in rongxinzy/RongxinAI, which has 154 GitHub stars. The repository holds 94 skills in this directory. The repository was last updated on October 10, 2026.

Source: rongxinzy/RongxinAI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.