Xpersona
D

data-analysis-for-feishu

CLAWHUB · Unverified

📊 Powerful ECharts-based data visualization skill optimized for Feishu (Lark) ecosystem. Supports 12+ chart types, 6+ data sources (Excel/CSV/Bitable/Sheet/...

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s176b8e927ekwcm13wsyy7txwd83qvz5:data-analysis-for-feishu
  1. Install using `clawhub skill install s176b8e927ekwcm13wsyy7txwd83qvz5:data-analysis-for-feishu` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/zzzanezhou0829/data-analysis-for-feishu before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-zzzanezhou0829-data-analysis-for-feishu/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

30,692 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: data-analysis-for-feishu
description: "📊 Powerful ECharts-based data visualization skill optimized for Feishu (Lark) ecosystem. Supports 12+ chart types, 6+ data sources (Excel/CSV/Bitable/Sheet/Markdown), auto chart recommendation, auto analysis reports, generates high-definition PNG charts perfectly displayed in Feishu. No configuration required, works out of the box."
---

<div align="center">
  <h1>📊 Data Analysis for Feishu</h1>
  <p>
    <strong>Open-source data visualization skill for OpenClaw, built for Feishu ecosystem</strong>
  </p>
  <p>
    <a href="https://github.com/openclaw/skills"><img src="https://img.shields.io/badge/OpenClaw-Skill-blue.svg" alt="OpenClaw Skill"></a>
    <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-green.svg" alt="License MIT"></a>
    <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/Python-3.8+-yellow.svg" alt="Python 3.8+"></a>
    <img src="https://img.shields.io/badge/Feishu-5.15+-brightgreen.svg" alt="Feishu 5.15+">
  </p>
  <p>
    <a href="#features">✨ Features</a> •
    <a href="#installation">🚀 Installation</a> •
    <a href="#quick-start">⚡ Quick Start</a> •
    <a href="#chart-types">📊 Chart Types</a> •
    <a href="#data-sources">📥 Data Sources</a> •
    <a href="#examples">📖 Examples</a> •
    <a href="#faq">❓ FAQ</a> •
    <a href="#contributing">🤝 Contributing</a>
  </p>
</div>

---

## ✨ Features
### 📊 Rich Chart Support
12+ professional chart types cover 99% of data visualization scenarios:
- **Basic**: Line, Area, Bar, Stacked Bar, Pie, Donut, Gauge, Radar
- **Advanced**: Scatter (correlation analysis), Funnel (conversion analysis), Waterfall (financial analysis), Dual Axis (multi-metric comparison)
- **Multi-series**: All charts support multiple data series comparison
- **Customizable**: Support stacked mode, area fill, custom colors, etc.

### 🧠 AI-Powered Intelligence
- **Auto Chart Recommendation**: Upload data, AI automatically analyzes characteristics and selects the optimal chart type
- **Auto Data Cleaning**: Automatically handle null values, outliers, date/percent format conversion
- **Auto Analysis Report**: Generate natural language analysis conclusions while generating charts (trends, extremes, proportions, etc.)
- **Auto Title Generation**: No need to manually enter titles, automatically generate appropriate titles based on data

### 📥 Multiple Data Sources
No manual data conversion required, support 6+ common data sources:
- Local files: Excel (.xlsx/.xls), CSV/TSV
- Feishu ecosystem: Bitable (multi-dimensional table), Sheet (spreadsheet)
- Text formats: Markdown tables, raw JSON/2D arrays, pasted table text

### 🖼️ Perfect Feishu Compatibility
- **Ultra HD Output**: 2x Retina DPI rendering, 1200x750 default resolution, sharp text and lines
- **Precise Cropping**: Automatically capture only the chart area, no extra whitespace
- **Feishu Optimized**: Perfect display in Feishu

README.md

---
name: data-analysis-for-feishu
description: "📊 Powerful ECharts-based data visualization skill optimized for Feishu (Lark) ecosystem. Supports 12+ chart types, 6+ data sources (Excel/CSV/Bitable/Sheet/Markdown), auto chart recommendation, auto analysis reports, generates high-definition PNG charts perfectly displayed in Feishu. No configuration required, works out of the box."
---

<div align="center">
  <h1>📊 Data Analysis for Feishu</h1>
  <p>
    <strong>Open-source data visualization skill for OpenClaw, built for Feishu ecosystem</strong>
  </p>
  <p>
    <a href="https://github.com/openclaw/skills"><img src="https://img.shields.io/badge/OpenClaw-Skill-blue.svg" alt="OpenClaw Skill"></a>
    <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-green.svg" alt="License MIT"></a>
    <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/Python-3.8+-yellow.svg" alt="Python 3.8+"></a>
    <img src="https://img.shields.io/badge/Feishu-5.15+-brightgreen.svg" alt="Feishu 5.15+">
  </p>
  <p>
    <a href="#features">✨ Features</a> •
    <a href="#installation">🚀 Installation</a> •
    <a href="#quick-start">⚡ Quick Start</a> •
    <a href="#chart-types">📊 Chart Types</a> •
    <a href="#data-sources">📥 Data Sources</a> •
    <a href="#examples">📖 Examples</a> •
    <a href="#faq">❓ FAQ</a> •
    <a href="#contributing">🤝 Contributing</a>
  </p>
</div>

---

## ✨ Features
### 📊 Rich Chart Support
12+ professional chart types cover 99% of data visualization scenarios:
- **Basic**: Line, Area, Bar, Stacked Bar, Pie, Donut, Gauge, Radar
- **Advanced**: Scatter (correlation analysis), Funnel (conversion analysis), Waterfall (financial analysis), Dual Axis (multi-metric comparison)
- **Multi-series**: All charts support multiple data series comparison
- **Customizable**: Support stacked mode, area fill, custom colors, etc.

### 🧠 AI-Powered Intelligence
- **Auto Chart Recommendation**: Upload data, AI automatically analyzes characteristics and selects the optimal chart type
- **Auto Data Cleaning**: Automatically handle null values, outliers, date/percent format conversion
- **Auto Analysis Report**: Generate natural language analysis conclusions while generating charts (trends, extremes, proportions, etc.)
- **Auto Title Generation**: No need to manually enter titles, automatically generate appropriate titles based on data

### 📥 Multiple Data Sources
No manual data conversion required, support 6+ common data sources:
- Local files: Excel (.xlsx/.xls), CSV/TSV
- Feishu ecosystem: Bitable (multi-dimensional table), Sheet (spreadsheet)
- Text formats: Markdown tables, raw JSON/2D arrays, pasted table text

### 🖼️ Perfect Feishu Compatibility
- **Ultra HD Output**: 2x Retina DPI rendering, 1200x750 default resolution, sharp text and lines
- **Precise Cropping**: Automatically capture only the chart area, no extra whitespace
- **Feishu Optimized**: Perfect display in Feishu

_meta.json

{
  "ownerId": "kn70vnf6mfh1rkgfhreem1rfyd82sjkh",
  "slug": "data-analysis-for-feishu",
  "version": "1.0.0",
  "publishedAt": 1775715272182
}

references/echarts_config.md

# ECharts图表配置参考

## 通用配置说明

### 颜色配置
默认配色方案:`["#5470c6", "#91cc75", "#fac858", "#ee6666", "#73c0de", "#3ba272", "#fc8452", "#9a60b4", "#ea7ccc"]`
如需自定义配色,可以在生成配置时修改`DEFAULT_COLORS`变量。

## 各图表类型参数说明

### 1. 折线图 (line)
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| x_axis | List[str] | 是 | X轴数据,如日期、分类名称 |
| y_axis | List[float] | 是 | Y轴数值数据 |
| y_name | str | 否 | Y轴名称,如"销售额"、"访问量" |
| title | str | 是 | 图表标题 |
| smooth | bool | 否 | 是否平滑曲线,默认True |
| show_area | bool | 否 | 是否显示填充区域,默认True |

### 2. 柱状图 (bar)
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| x_axis | List[str] | 是 | X轴分类数据 |
| y_axis | List[float] | 是 | Y轴数值数据 |
| y_name | str | 否 | Y轴名称 |
| title | str | 是 | 图表标题 |
| rotate_label | int | 否 | X轴标签旋转角度,默认30 |
| borderRadius | int | 否 | 柱状图圆角,默认4 |

### 3. 饼图 (pie)
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| labels | List[str] | 是 | 分类标签 |
| values | List[float] | 是 | 对应数值 |
| title | str | 是 | 图表标题 |
| radius | List[str] | 否 | 饼图半径,默认["40%", "70%"](环形) |
| show_percent | bool | 否 | 是否显示百分比,默认True |

### 4. 仪表盘 (gauge)
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| value | float | 是 | 当前数值 |
| title | str | 是 | 图表标题 |
| max | float | 否 | 最大值,默认100 |
| unit | str | 否 | 单位,默认"%" |
| start_angle | int | 否 | 起始角度,默认180 |
| end_angle | int | 否 | 结束角度,默认0 |

### 5. 雷达图 (radar)
| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| indicators | List[Dict] | 是 | 指标配置,每个元素包含name和max字段 |
| values | List[float] | 是 | 对应指标的数值 |
| title | str | 是 | 图表标题 |
| series_name | str | 否 | 系列名称 |
| shape | str | 否 | 雷达图形状,"circle"(圆形)或"polygon"(多边形),默认circle |

## 自定义配置示例
如需更复杂的配置,可以直接修改对应生成函数的返回值,参考ECharts官方文档:https://echarts.apache.org/zh/option.html

references/feishu_card_spec.md

# 飞书ECharts卡片规范说明

## 官方规范参考
飞书卡片平台ECharts组件官方文档:https://open.feishu.cn/documentation/uQjNz4jM0EjL70k1VNzc

## 支持的ECharts版本
飞书当前支持ECharts 5.x版本的大部分配置,以下为注意事项:

### 不支持的功能
1. 不支持3D图表
2. 不支持自定义JS函数(如formatter中写JS代码)
3. 不支持graphic组件
4. 不支持dataZoom、brush等交互组件
5. 不支持自定义主题

### 支持的交互
1. hover显示tooltip
2. 图例点击切换显示/隐藏
3. 饼图扇区点击高亮

## 卡片尺寸说明
- 推荐高度:400px - 600px
- 宽度默认使用"100%",自适应卡片宽度
- 移动端会自动适配屏幕尺寸

## 卡片JSON结构
```json
{
    "config": {
        "wide_screen_mode": true // 开启宽屏模式,推荐开启
    },
    "elements": [
        {
            "tag": "markdown",
            "content": "**图表标题**" // 可选,可添加说明文字
        },
        {
            "tag": "echarts_chart",
            "option": {}, // ECharts配置对象
            "width": "100%",
            "height": "400px"
        }
    ]
}
```

## 注意事项
1. ECharts配置中的formatter字段只能使用字符串模板,不能使用JS函数
2. 所有颜色值必须使用十六进制或RGB格式,不能使用颜色名称
3. 不要使用过于复杂的配置,避免渲染性能问题
4. 生成的卡片JSON必须是合法的JSON格式,不能包含注释
5. 中文需要使用UTF-8编码,确保在飞书端正常显示

## 发送卡片到飞书
使用`message`工具发送卡片示例:
```python
import json
card = json.load(open("card.json", "r", encoding="utf-8"))
# 调用message工具发送
{
    "action": "send",
    "channel": "feishu",
    "card": card
}
```

Sponsored

Ads related to data-analysis-for-feishu and adjacent AI workflows.