← 返回 Skills 市场
115
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install china-auto-analysis
功能描述
生成中国汽车市场产销数据的可视化仪表盘,支持产量、批发销量、零售销量及同期对比分析。
使用说明 (SKILL.md)
China Auto Market Analysis Skill
制作中国汽车市场产销分析可视化仪表盘。数据来源为 akshare(CPCA乘联会厂商排名接口)。
功能
- YTD(累计至今)数据:支持任意年月的累计数据,如 2026年1-2月
- 单月数据:指定相同起止月份即可
- 三种数据维度:产量 / 批发销量 / 零售销量
- Top15 厂商排行:水平条形图,当年 vs 上年同期对比
- 同比变化分析:绝对值变化(万辆)+ 增速(%)
- 产销平衡对比:产量 vs 批发 vs 零售三维分组条形图
- KPI 概览卡:总量、冠军、增速王、跌幅王
- Dark Mode 专业风格:深色背景、涨跌颜色编码
数据来源
| 接口 | 说明 |
|---|---|
akshare.car_market_man_rank_cpca |
CPCA乘联会·厂商排名(狭义/广义乘用车) |
支持 产量、批发、零售 三种口径,支持单月和累计模式。
快速使用
# 产量 YTD(1-2月累计)
python3 china_auto_dashboard.py --year 2026 --start-month 1 --end-month 2 --type 产量
# 单月批发销量(2月)
python3 china_auto_dashboard.py --year 2026 --start-month 2 --end-month 2 --type 批发销量
# 零售销量(Q1累计)
python3 china_auto_dashboard.py --year 2026 --start-month 1 --end-month 3 --type 零售销量
# 全年累计
python3 china_auto_dashboard.py --year 2025 --start-month 1 --end-month 12 --type 产量
参数说明:
| 参数 | 说明 |
|---|---|
--year |
目标年份(默认 2026) |
--start-month |
起始月份(默认 1) |
--end-month |
结束月份(默认 2) |
--type |
产量 / 批发销量 / 零售销量 |
--scope |
狭义乘用车(默认)/ 广义乘用车 |
--output |
输出图片路径 |
安装依赖
pip install akshare pandas matplotlib numpy
# 中文字体(如需显示中文)
# Linux: apt install fonts-noto-cjk fonts-wqy-microhei
图表结构
┌─────────────────────────────────────────────────────────────┐
│ KPI卡1: 总量(YTD) │ 基准去年 │ 冠军 │ 增速王 │ 跌幅王 │
├────────────────────────────┬────────────────────────────────┤
│ Top N 厂商排行条形图 │ 同比变化(万辆 + %) │
│ 彩色=当年 灰色=去年 │ 红=增长 绿=下降 │
├────────────────────────────┴────────────────────────────────┤
│ 产量 vs 批发 vs 零售 三维对比(底部) │
└─────────────────────────────────────────────────────────────┘
追问示例
- "换成零售销量" → 重新调用,type=零售销量
- "看单月不要YTD" → start-month=2, end-month=2
- "只看前5名" → 修改 top_n 参数(TODO: CLI参数化)
- "换成广义乘用车" → --scope 广义乘用车
- "导出到 Excel" → TODO: 添加 Excel 导出功能
文件结构
china-auto-analysis/
├── SKILL.md ← 本文件
└── china_auto_dashboard.py ← 核心可视化脚本
安全使用建议
This appears to be a straightforward dashboard script. If you plan to run it: (1) run it in a dedicated virtual environment to isolate dependencies; (2) review/approve the akshare package (pip will download it from PyPI) because akshare will make network requests to fetch CPCA data; (3) you may need to install CJK fonts via your package manager for proper Chinese rendering; (4) inspect the script yourself if you want to be extra cautious (there are no obvious obfuscated network calls or secret reads in the provided code).
功能分析
Type: OpenClaw Skill
Name: china-auto-analysis
Version: 1.0.0
The skill bundle is a legitimate data visualization tool designed to generate dashboards for the Chinese auto market using the 'akshare' library. The Python script (china_auto_dashboard.py) fetches manufacturer rankings, calculates KPIs, and uses matplotlib to create professional charts. There is no evidence of data exfiltration, malicious execution, or prompt injection; the code follows its stated purpose and uses standard data science libraries.
能力评估
Purpose & Capability
Name/description (China auto production/sales visualization) align with the included script and SKILL.md. The script imports akshare and plotting/data libraries (pandas, matplotlib, numpy), which are appropriate and expected for the stated purpose.
Instruction Scope
SKILL.md instructs installation of akshare and plotting libs and running the python script with CLI args. The instructions and the code only reference font files and the akshare CPCA interface; there are no instructions to read unrelated files, access secrets, or send data to external endpoints other than akshare (expected).
Install Mechanism
There is no formal install spec in the registry (instruction-only), and SKILL.md recommends 'pip install akshare pandas matplotlib numpy'. This is typical for Python scripts but means dependencies will be downloaded from PyPI at install time — vet the akshare package source if you require stricter supply-chain controls.
Credentials
The skill declares no required environment variables, credentials, or config paths. The code does not attempt to read environment secrets. Only local font file existence is checked (to render Chinese), which is proportionate to the visual output.
Persistence & Privilege
The skill is not always-enabled and does not request persistent privileges or modify other skills or system-wide agent settings. It is user-invocable and behaves like a typical CLI script.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install china-auto-analysis - 安装完成后,直接呼叫该 Skill 的名称或使用
/china-auto-analysis触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
首次发布:基于akshare CPCA乘联会数据生成中国汽车厂商产销分析Dashboard,支持产量/批发/零售三种维度,支持YTD和单月模式
元数据
常见问题
中国汽车产销分析可视化 是什么?
生成中国汽车市场产销数据的可视化仪表盘,支持产量、批发销量、零售销量及同期对比分析。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 115 次。
如何安装 中国汽车产销分析可视化?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install china-auto-analysis」即可一键安装,无需额外配置。
中国汽车产销分析可视化 是免费的吗?
是的,中国汽车产销分析可视化 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
中国汽车产销分析可视化 支持哪些平台?
中国汽车产销分析可视化 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 中国汽车产销分析可视化?
由 NLMakes(@xuehengzhang10-hub)开发并维护,当前版本 v1.0.0。
推荐 Skills