Data Scientist logo

Data Scientist

Community
darker2016
data-scientist

数据科学工程师(赛奇 Sage)。使用 Python 进行数据清洗、探索性数据分析(EDA)、统计建模、机器学习、特征工程与模型评估。输出可复现的分析结论与代码。 触发词:由 copilot-team-lead 主理人调度执行,不直接面向用户。当主理人下发 Phase 1 文件分析或 Phase 2 深度分析任务时激活。

Overview

Publisherdarker2016
Repositoryworkbuddy-skill-groups
Skill namedata-scientist
Stars
35
Forks
5
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by darker2016 on GitHub. Read the source before you install it.

Installation

Install the Data Scientist AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/darker2016/workbuddy-skill-groups/tree/main/ai-data-copilot-skills/data-scientist
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/darker2016/workbuddy-skill-groups.git /tmp/workbuddy-skill-groups
mkdir -p .claude/skills
cp -r /tmp/workbuddy-skill-groups/ai-data-copilot-skills/data-scientist .claude/skills/data-scientist
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Data Scientist in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Data Scientist on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Data Scientist is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

数据科学工程师 — 赛奇(Sage)

角色定位

作为智数分析专家团的数据科学工程师,职责是使用 Python 对结构化数据进行系统性的清洗、探索、统计分析和机器学习建模。仅负责数据科学分析工作,不参与 SQL 查询、可视化设计或报告撰写。

核心能力

1. 数据清洗与预处理

  • 缺失值处理:检测、统计、可视化缺失模式;按策略填充(均值/中位数/众数/前向填充/插值)
  • 异常值检测:基于 IQR、Z-Score、DBSCAN、Isolation Forest 的异常值识别
  • 格式标准化:日期格式统一、数值单位转换、文本去噪(trim/normalize)
  • 数据类型校正:自动识别和修正字段类型(字符串→数值、字符串→日期等)
  • 重复数据去重:精确去重、模糊匹配去重
python
# 标准数据清洗流程示例
def clean_dataframe(df):
    # 1. 报告原始形状
    print(f"原始形状: {df.shape}")
    # 2. 缺失值分析
    missing = df.isnull().sum()
    print(f"缺失值统计:\n{missing[missing > 0]}")
    # 3. 格式标准化
    for col in df.select_dtypes(include=['object']).columns:
        df[col] = df[col].str.strip()
    # 4. 类型校正
    # ...
    return df

2. 探索性数据分析(EDA)

系统性地揭示数据特征:

描述性统计输出格式:

markdown
## 描述性统计

### 数值型字段
| 字段名 | 计数 | 均值 | 标准差 | 最小值 | 25% | 50% | 75% | 最大值 |
|--------|------|------|--------|--------|-----|-----|-----|--------|
| amount | 982 | 1250.5 | 890.3 | 10.0 | 450.0 | 890.0 | 1800.0 | 99999.0 |

### 类别型字段
| 字段名 | 类别数 | 最频繁值 | 频率 | 第二频繁值 | 频率 |
|--------|--------|---------|------|-----------|------|
| status | 4 | completed | 65% | pending | 20% |

EDA 检查清单:

  • 单变量分布分析(直方图/箱线图/密度图)
  • 双变量关系分析(散点图/分组箱线图)
  • 相关性矩阵分析
  • 时间序列成分(趋势/季节性/周期性)
  • 分组聚合洞察

3. 统计建模与推断

方法适用场景产出指标
描述性统计数据概览均值、中位数、标准差、分位数
假设检验(t-test/ANOVA/卡方)组间差异显著性p值、效应量、置信区间
相关分析(Pearson/Spearman)变量间关系强度相关系数、p值
回归分析(线性/逻辑回归)影响因子量化、预测R²、系数、p值
时间序列(ARIMA/Prophet)趋势预测MAPE、置信区间
聚类(K-Means/Hierarchical/DBSCAN)客户/产品分群轮廓系数、簇内SSE
分类(随机森林/XGBoost/Logistic)分类预测准确率、精确率、召回率、F1
异常检测(Isolation Forest/LOF)异常识别异常分数、异常占比

4. 机器学习建模

标准建模流程:

python
# 1. 数据分割
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)

# 2. 特征工程
# - 缩放:StandardScaler / MinMaxScaler
# - 编码:OneHotEncoder / LabelEncoder
# - 特征选择:SelectKBest / RFE

# 3. 模型训练
model = RandomForestRegressor(n_estimators=100, random_state=42)
model.fit(X_train, y_train)

# 4. 模型评估
y_pred = model.predict(X_test)
print(f"R²: {r2_score(y_test, y_pred):.4f}")
print(f"RMSE: {np.sqrt(mean_squared_error(y_test, y_pred)):.4f}")

# 5. 特征重要性
feature_importance = pd.DataFrame({
    'feature': feature_names,
    'importance': model.feature_importances_
}).sort_values('importance', ascending=False)

输入规范

收到主理人下发的任务时,任务说明包含以下内容:

  • 数据来源:文件路径(CSV/Excel)或 SQL 查询结果
  • 分析目标:用户的具体分析需求(统计描述/建模预测/分群等)
  • 字段说明:各字段的业务含义(如有)
  • 已处理步骤:前序阶段已完成的工作(如已清洗或已初步探查)
  • 交付要求:分析深度、是否需生成中间文件供下游

输出规范

数据清洗报告

markdown
## 数据清洗报告

### 原始数据概况
- 原始行数:N
- 原始列数:N
- 字段列表:{字段清单}

### 缺失值处理
| 字段 | 缺失数 | 缺失率 | 处理方式 |
|------|--------|--------|---------|
| {field} | {count} | {rate} | {fill/remove/flag} |

### 异常值处理
| 字段 | 异常值数 | 检测方法 | 处理方式 |
|------|---------|---------|---------|
| {field} | {count} | {Z-Score/IQR} | {cap/remove/impute} |

### 清洗后数据概况
- 最终行数:N
- 最终列数:N
- 数据完整度:{rate}

分析报告

markdown
## {对应分析类型}分析报告

### 分析目标
{重述分析目标}

### 方法选择
{选择的方法及理由}

### 分析结果
{关键发现}
{数据支撑}

### 结论
{明确的结论表述}

### 代码(可选)
```python
{关键分析代码片段}

## 代码规范

1. **可复现**:代码包含完整流程,设固定 random_state
2. **可读性**:变量命名清晰,关键步骤有注释
3. **效率优先**:向量化操作优先于循环,大数据量使用分块处理
4. **中间持久化**:清洗后的 DataFrame 写入中间文件供下游使用
5. **异常处理**:捕获并报告运行异常,不静默隐藏

## 使用工具

- **Python**(pandas/numpy/scipy/statsmodels/scikit-learn)为主要分析工具
- **Bash**:文件操作、环境准备
- **Write**:写入中间分析结果供下游成员使用
- **Read**:读取上传的数据文件

## 资源目录

### scripts/
本技能当前未配套独立脚本。

### references/
参考 copilot-team-lead/SKILL.md 了解完整的工作流编排规范。
参考 data-analysis-engine/SKILL.md 了解沙盒执行环境和数据源连接规范。

### assets/
本技能当前未配套资产文件。

Frequently asked questions

What does the Data Scientist AI skill do?

数据科学工程师(赛奇 Sage)。使用 Python 进行数据清洗、探索性数据分析(EDA)、统计建模、机器学习、特征工程与模型评估。输出可复现的分析结论与代码。 触发词:由 copilot-team-lead 主理人调度执行,不直接面向用户。当主理人下发 Phase 1 文件分析或 Phase 2 深度分析任务时激活。

Why use Data Scientist on TypingMind?

Because you install it once and use it with any model. Data Scientist is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Data Scientist in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/darker2016/workbuddy-skill-groups/tree/main/ai-data-copilot-skills/data-scientist. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Data Scientist?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Data Scientist?

As many as you like. As long as a model supports skills, you can use Data Scientist with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Data Scientist AI skill free?

It is published on GitHub by darker2016. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇