Famou Data Analysis 标志

Famou Data Analysis

组织
baidubce
famou-data-analysis

用于理解数据集、分析数据、构建数据处理流程和总结分析结果的数据分析技能。当用户提到“分析数据”“数据处理”“数据探索”“统计分析”“数据清洗”“数据汇总”“生成数据报告”“了解这个数据集”或“看看这个 CSV/Excel/数据集”时,使用此技能。即使用户只是说“帮我看看这些数据”或“分析一下”,只要上下文涉及数据文件或数据集,也要触发此技能。如果定义 Famou 问题时需要进行数据分析,也要调用此技能。

概览

发布者baidubce
代码仓库skills
技能名称famou-data-analysis
星标数
32
复刻数
11
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 baidubce 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Famou Data Analysis AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/baidubce/skills/tree/develop/skills/famou-data-analysis
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/baidubce/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/famou-data-analysis .claude/skills/famou-data-analysis
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Famou Data Analysis,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Famou Data Analysis。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Famou Data Analysis 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Data Analysis Skill

Analysis Goals

The core objectives of a data analysis task are:

  1. Understand the data: Clarify what the data is, where it comes from, and what business meaning it carries — not just read the file
  2. Assess data quality: Identify missing values, duplicates, anomalies, and formatting inconsistencies; evaluate data trustworthiness
  3. Discover patterns and insights: Use statistics and exploration to surface meaningful patterns, trends, anomalies, and correlations
  4. Design a processing pipeline: Based on the actual data issues, design a reproducible and well-reasoned cleaning and transformation plan
  5. Summarize findings: Deliver conclusions in clear, business-relevant language — not just a pile of statistics

Constraints

Always follow these constraints throughout the analysis:

  • Do not modify raw data without permission: Always inform the user and explain the reason before performing any cleaning or transformation
  • Do not over-assume data meaning: When column names are unclear, ask the user for clarification rather than guessing
  • Do not ignore data quality issues: Anomalies, missing values, and inconsistencies must be explicitly flagged — never silently worked around
  • Do not rigidly apply a fixed pipeline: Data formats vary widely; adapt the analysis approach to the actual situation
  • Do not stray from the user's goal: Always keep the analysis depth and direction anchored to "what problem is the user trying to solve"

Best Practices

Understand first, then act

After receiving data, prioritize understanding the context: What is the business scenario? What is the user's analytical goal? This determines which columns matter, what counts as "anomalous", and how to handle missing values.

Explain results in business language

Don't just output statistics — explain what they mean. "The mean is 3200" is less useful than "The average order value is approximately $3,200, but the median is only $1,800, suggesting a small number of high-value orders are inflating the mean."

Triage data quality issues by severity

  • Blocking issues (e.g., critical columns entirely empty, widespread primary key duplication): Stop and inform the user; wait for confirmation before proceeding
  • Decision-required issues (e.g., high missing rates, ambiguous outliers): Present the tradeoffs of each handling option and let the user choose
  • Minor issues (e.g., scattered format inconsistencies, leading/trailing whitespace): Handle directly, but document them in the report

Make the processing pipeline explainable

Every operation should be answerable with "why did we do this?", for example:

  • "Filled with the median because this column is right-skewed and the mean is heavily influenced by outliers"
  • "Dropped this column because the missing rate is 78%, making it unusable"

Back every conclusion with data

Each insight should be accompanied by specific numbers as evidence; avoid subjective judgments unsupported by data.

Environment & Tools

  • File paths: Uploaded files are at /mnt/user-data/uploads/; save output files to /mnt/user-data/outputs/
  • Encoding issues with non-ASCII data: Try utf-8 first; fall back to latin-1 or cp1252 if needed
  • Chart font rendering: Set matplotlib.rcParams['font.sans-serif'] = ['DejaVu Sans'] for reliable rendering
  • CSV output for Excel: Use encoding='utf-8-sig' to prevent encoding issues when opening in Excel

Analysis Report Format

Regardless of the analysis path taken, the final summary report should include:

## Data Analysis Report

### Data Overview
(Dataset size, source, time range, description of key fields)

### Data Quality
(Issues found, severity level, actions taken or items pending confirmation)

### Key Findings
(3–5 most important insights, each supported by data)

### Processing Pipeline
(What transformations were applied to the data and why)

### Recommendations
(Suggestions for data improvement, directions for deeper analysis)

Examples

The following examples show how to apply the goals and constraints above when facing different types of data.

Example A: E-commerce Order Data Analysis

Scenario: The user uploads an order CSV with columns for Order ID, Order Time, Product Category, Amount, User City, and Payment Status, and wants to understand "overall sales performance."

Analysis approach:

  • Confirm the time range first — this is the baseline context for any sales analysis
  • Check the Amount column for negative values (refunds? data entry errors?) and zero values (require business explanation)
  • The distribution of Payment Status determines the definition of "valid orders"
  • Aggregate by time to spot trends; break down by category and city for composition analysis

Quality issue handling example:

Found 12 rows with negative values in the "Amount" column. In sales data, negatives typically represent refund records. Recommendation: filter them out when analyzing gross revenue; keep them when analyzing net income. Please confirm your analysis goal before we proceed.

Key findings example:

  • March revenue grew 34% month-over-month, primarily driven by the "Electronics" category (contributing 61% of the incremental growth)
  • New York and Los Angeles together account for 47% of all orders, but average order value is 15% below the average for mid-tier cities
  • Payment failure rate is 8.3%, above the typical industry benchmark of 2–5%; recommend investigating the payment flow

Example B: Messy Survey Data

Scenario: The user uploads an Excel file with multiple sheets, inconsistent column names (some say "Q1", others say "Question 1"), merged cells, and scattered blank rows and columns.

First step: Don't rush into analysis — first surface the structural issues to the user:

This file contains 3 sheets, and there are several structural issues to clarify before we proceed:

  1. Sheet1 and Sheet2 have different column names — are these different batches of the same survey, or entirely different surveys?
  2. Rows 5–8 are blank — is it safe to remove them?
  3. The "Q3_Other" column is 92% empty — is this a low open-response rate, or a data export issue?

Once confirmed, I'll design a cleaning plan.

Constraint in action: Column meanings are not assumed, sheets are not merged arbitrarily — issues are surfaced first and the user is asked to confirm.


Example C: User Requests "Clean the Data and Output a Processed File"

Processing log example (provided alongside the output file):

Data Processing Log
Source file:  sales_2024.csv  (8,412 rows × 15 columns)
Output file:  sales_2024_cleaned.csv  (8,203 rows × 13 columns)

Changes:
1. Removed duplicate rows: deleted 89 fully duplicate records
2. Dropped "Notes2" column: 96% missing, no useful information
3. Dropped "Internal Code" column: user confirmed it is not needed for analysis
4. Standardized Amount column: converted "¥1,200.00" format to numeric 1200.0 (203 rows affected)
5. Standardized Date column: unified to YYYY-MM-DD format (source had mixed MM/DD/YYYY and written-out date formats)
6. Missing value handling:
   - "City" column: 34 missing values → filled with "Unknown" (user confirmed)
   - "Amount" column: 86 missing values → left blank (user confirmed these are anomalous records that should not be imputed)

常见问题

Famou Data Analysis AI 技能有什么作用?

用于理解数据集、分析数据、构建数据处理流程和总结分析结果的数据分析技能。当用户提到“分析数据”“数据处理”“数据探索”“统计分析”“数据清洗”“数据汇总”“生成数据报告”“了解这个数据集”或“看看这个 CSV/Excel/数据集”时,使用此技能。即使用户只是说“帮我看看这些数据”或“分析一下”,只要上下文涉及数据文件或数据集,也要触发此技能。如果定义 Famou 问题时需要进行数据分析,也要调用此技能。

为什么在 TypingMind 中使用 Famou Data Analysis?

因为您只需安装一次,就能搭配任何模型使用。Famou Data Analysis 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Famou Data Analysis?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/baidubce/skills/tree/develop/skills/famou-data-analysis。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Famou Data Analysis?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Famou Data Analysis 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Famou Data Analysis 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Famou Data Analysis AI 技能免费吗?

是的。baidubce 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇