← 返回 Skills 市场
di5cip1e

Data Analysis

作者 di5cip1e · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
268
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install director-data-analysis
功能描述
Analyze CSV/Excel files to extract insights, generate statistics, create charts, and produce summaries. Use when user wants to (1) upload or analyze spreadsh...
使用说明 (SKILL.md)

Data Analysis Skill

Analyze data files (CSV, Excel) and produce actionable insights.

Quick Start

  1. Read the file - Use appropriate library:

    • CSV: csv module or pandas.read_csv()
    • Excel: pandas.read_excel() with openpyxl engine
  2. Explore the data - Get shape, columns, dtypes, missing values

  3. Generate insights - Calculate:

    • Descriptive stats (mean, median, mode, std, min, max)
    • Correlations between numeric columns
    • Value counts for categorical columns
    • Trends over time if date column exists
  4. Create visualizations - Use matplotlib:

    • Bar charts for categorical data
    • Line charts for time series
    • Histograms for distributions
    • Scatter plots for correlations
  5. Summarize - Write findings in plain English

Common Patterns

Sales Data

import pandas as pd

df = pd.read_csv('sales.csv')
summary = {
    'total_revenue': df['amount'].sum(),
    'avg_order': df['amount'].mean(),
    'top_products': df['product'].value_counts().head(5),
    'monthly_trend': df.groupby(pd.to_datetime(df['date']).dt.month)['amount'].sum()
}

Customer Data

demographics = df.groupby('segment').agg({
    'age': ['mean', 'median'],
    'income': ['mean', 'std'],
    'id': 'count'
})

Time Series

df['date'] = pd.to_datetime(df['date'])
monthly = df.resample('M', on='date')['value'].sum()

Output Format

Always include:

  1. Overview - What the data contains (rows, columns, date range)
  2. Key Metrics - Top 5-10 actionable numbers
  3. Insights - 3-5 bullet points of what the data reveals
  4. Visualizations - At least 2 charts for any dataset with 100+ rows
  5. Recommendations - Suggested next steps based on findings

Error Handling

  • Handle missing values: df.fillna(0) or df.dropna()
  • Handle date parsing: Use pd.to_datetime(..., errors='coerce')
  • Handle large files: Process in chunks for files >100MB
安全使用建议
This skill appears coherent for local CSV/Excel analysis. Before installing or using it: (1) ensure the execution environment has pandas, matplotlib, and openpyxl if you expect to run the code; (2) avoid uploading files containing sensitive PII unless you trust where outputs will be stored — the SKILL.md does not state storage or transmission policies; (3) confirm with the agent runtime whether generated charts/summaries will be saved locally, sent to external services, or retained in logs; and (4) for very large files follow the suggested chunking approach. If you need stronger privacy guarantees, ask for explicit instructions about data retention and external network usage.
功能分析
Type: OpenClaw Skill Name: director-data-analysis Version: 1.0.0 The skill bundle provides standard instructions and Python code snippets for data analysis using common libraries like pandas and matplotlib. There are no signs of malicious intent, data exfiltration, or prompt injection; the content is entirely aligned with its stated purpose of analyzing CSV and Excel files.
能力评估
Purpose & Capability
Name and description match the SKILL.md. The instructions focus on reading CSV/Excel, computing statistics, creating charts, and summarizing results — all consistent with a data-analysis skill.
Instruction Scope
The SKILL.md stays within the stated purpose (data ingestion, transformation, stats, visualizations). It assumes access to local files (e.g., 'sales.csv') and Python libraries (pandas, matplotlib, openpyxl) but does not instruct the agent to read unrelated files, environment variables, or send data to external endpoints. It does not specify where generated charts or summaries should be saved or how sensitive data should be handled.
Install Mechanism
This is an instruction-only skill with no install spec (lowest install risk). Practical use requires runtime Python packages (pandas, matplotlib, openpyxl); the skill does not declare how those are provided. Lack of an install spec is not a security problem but the runtime environment must supply these libraries.
Credentials
No environment variables, credentials, or config paths are requested. The level of access requested is proportional to the stated purpose.
Persistence & Privilege
The skill is not force-installed (always:false), is user-invocable, and does not request persistent privileges or modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install director-data-analysis
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /director-data-analysis 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - analyze CSV/Excel, generate insights and charts
元数据
Slug director-data-analysis
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Data Analysis 是什么?

Analyze CSV/Excel files to extract insights, generate statistics, create charts, and produce summaries. Use when user wants to (1) upload or analyze spreadsh... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 268 次。

如何安装 Data Analysis?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install director-data-analysis」即可一键安装,无需额外配置。

Data Analysis 是免费的吗?

是的,Data Analysis 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Data Analysis 支持哪些平台?

Data Analysis 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Data Analysis?

由 di5cip1e(@di5cip1e)开发并维护,当前版本 v1.0.0。

💬 留言讨论