Token导航 LogoToken导航TokenDH.com
效率权限需确认clawhub未标认证来源可访问clear审计通过

csvtoexcelcsvtoexcel 表格

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

49,635

周安装

2,089

GitHub Stars

公开资料未说明

下载量

17,380
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:csvtoexcel(csvtoexcel 表格)
来源仓库:https://github.com/xuanguan2020/csvtoexcel
安装命令:
openclaw skills install csvtoexcel
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install csvtoexcel

简介

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。

  • 适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。
  • 使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实。
  • 涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。
  • 支持将 CSV 文件转换为专业格式的 Excel 工作簿,具有中文字符支持和自动格式设置。

SKILL.md

name
csv-to-excel
description
Convert CSV files to professionally formatted Excel workbooks with Chinese character support, automatic formatting, and multi-sheet capabilities. Use when users need to: (1) Convert single CSV to Excel, (2) Combine multiple CSV files into one Excel with separate sheets, (3) Format CSV data with headers, borders, and auto-adjusted columns, (4) Handle Chinese or other non-ASCII characters in CSV files, or (5) Create professional Excel reports from CSV data.

CSV To Excel Converter

Overview

This skill enables conversion of CSV files to Excel format with professional formatting, proper encoding handling for Chinese characters, and support for combining multiple CSV files into a single Excel workbook with separate sheets.

Quick Start

Use the csv_to_excel.py script for all conversions:

# Single CSV to Excel
python scripts/csv_to_excel.py input.csv output.xlsx

# Multiple CSVs to one Excel (each becomes a sheet)
python scripts/csv_to_excel.py file1.csv file2.csv file3.csv --output combined.xlsx

# With custom sheet names
python scripts/csv_to_excel.py sales.csv inventory.csv --output report.xlsx --sheet-names "销售数据" "库存数据"

Features

Automatic Encoding Detection

  • Detects CSV encoding automatically (UTF-8, GBK, GB2312, UTF-8-SIG)
  • Ensures Chinese characters display correctly in Excel
  • No manual encoding specification needed

Professional Formatting

  • Header row: Bold white text on blue background
  • Borders: Thin borders around all cells
  • Column widths: Auto-adjusted based on content (handles Chinese characters properly)
  • Frozen panes: Header row frozen for easy scrolling
  • Alignment: Headers centered

Multi-Sheet Support

  • Combine multiple CSV files into one Excel workbook
  • Each CSV becomes a separate sheet
  • Custom sheet names supported
  • Sheet names default to CSV filenames (max 31 characters)

Common Usage Patterns

Pattern 1: Single File Conversion

User says: "Convert this data.csv to Excel"

python scripts/csv_to_excel.py data.csv data.xlsx

Pattern 2: Multiple Files to Multi-Sheet Excel

User says: "Combine these CSV files into one Excel, each file as a separate sheet"

python scripts/csv_to_excel.py sales_2024.csv sales_2025.csv inventory.csv --output report.xlsx

Result: report.xlsx with 3 sheets named "sales_2024", "sales_2025", "inventory"

Pattern 3: Custom Sheet Names

User says: "Create an Excel with these CSVs and name the sheets in Chinese"

python scripts/csv_to_excel.py q1.csv q2.csv q3.csv q4.csv --output 年度报告.xlsx --sheet-names "第一季度" "第二季度" "第三季度" "第四季度"

Pattern 4: Handling Chinese Content

User says: "This CSV has Chinese text and it shows as garbled characters in Excel"

The script automatically detects encoding and handles Chinese characters:

python scripts/csv_to_excel.py 中文数据.csv 输出.xlsx

Technical Details

Encoding Support

The script tries these encodings in order:

  1. UTF-8
  2. GBK (common for Chinese Windows)
  3. GB2312 (simplified Chinese)
  4. UTF-8-SIG (UTF-8 with BOM)
  5. Latin1 (fallback)

CSV Dialect Detection

  • Automatically detects delimiter (comma, semicolon, tab, etc.)
  • Handles quoted fields
  • Works with various CSV formats

Column Width Calculation

  • Chinese characters counted as 2 width units
  • ASCII characters counted as 1 width unit
  • Maximum width capped at 50 for readability
  • Adds 2 units padding for visual comfort

Dependencies

The script requires openpyxl:

pip install openpyxl

Troubleshooting

Issue: Chinese characters still appear garbled

  • Solution: The CSV file may have a rare encoding. Try converting the CSV to UTF-8 first using a text editor.

Issue: Sheet name error

  • Solution: Excel sheet names must be ≤31 characters. The script auto-truncates, but you can specify shorter custom names.

Issue: Empty sheets created

  • Solution: Check that CSV files are not empty and are properly formatted.

Issue: Script not found

  • Solution: Run the script from the skill directory or use the full path: python .kiro/skills/csv-to-excel/scripts/csv_to_excel.py

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.99%
按下载量换算16,335

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills