csvtoexcelConvert CSV files to professionally formatted Excel workbooks with Chinese character support, automatic formatting, and multi-sheet capabilities. Use when us...
Install via ClawdBot CLI:
clawdbot install xuanguan2020/csvtoexcelThis 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.
Use the csv_to_excel.py script for all conversions:
```bash
python scripts/csv_to_excel.py input.csv output.xlsx
python scripts/csv_to_excel.py file1.csv file2.csv file3.csv --output combined.xlsx
python scripts/csv_to_excel.py sales.csv inventory.csv --output report.xlsx --sheet-names "销售数据" "库存数据"
```
User says: "Convert this data.csv to Excel"
```bash
python scripts/csv_to_excel.py data.csv data.xlsx
```
User says: "Combine these CSV files into one Excel, each file as a separate sheet"
```bash
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"
User says: "Create an Excel with these CSVs and name the sheets in Chinese"
```bash
python scripts/csv_to_excel.py q1.csv q2.csv q3.csv q4.csv --output 年度报告.xlsx --sheet-names "第一季度" "第二季度" "第三季度" "第四季度"
```
User says: "This CSV has Chinese text and it shows as garbled characters in Excel"
The script automatically detects encoding and handles Chinese characters:
```bash
python scripts/csv_to_excel.py 中文数据.csv 输出.xlsx
```
The script tries these encodings in order:
The script requires openpyxl:
```bash
pip install openpyxl
```
Issue: Chinese characters still appear garbled
Issue: Sheet name error
Issue: Empty sheets created
Issue: Script not found
python .kiro/skills/csv-to-excel/scripts/csv_to_excel.pyGenerated Mar 1, 2026
Finance teams need to consolidate quarterly sales data from regional CSV exports into a single Excel workbook with formatted sheets for each region. This skill automates the conversion, ensuring Chinese characters in Asian market reports display correctly and sheets are professionally formatted for executive review.
Logistics managers receive inventory updates as CSV files from multiple warehouses, including those with Chinese product names. Using this skill, they can combine these files into one Excel file with separate sheets per warehouse, applying automatic formatting for clear tracking and analysis.
Researchers collect survey data in CSV format from diverse sources, some containing non-ASCII characters like Chinese. This skill helps them merge datasets into a single Excel workbook with custom-named sheets, ensuring data integrity and professional presentation for publications.
E-commerce platforms generate sales reports in CSV, which analysts need to convert to Excel for visualization. This skill handles multiple CSV files with Chinese customer data, creating formatted sheets for different product categories to streamline monthly reporting.
Offer a basic web version for free CSV-to-Excel conversion with limited features, and charge for premium features like batch processing, advanced formatting, and API access. Revenue comes from subscription plans targeting small businesses and individual professionals.
Sell licenses to large organizations needing bulk conversions and integration with existing data pipelines. This includes custom support for specific encodings and compliance features, generating revenue through annual contracts and maintenance fees.
Provide tailored solutions for companies with unique CSV formatting needs, such as handling rare encodings or complex multi-sheet structures. Revenue is generated from project-based fees and ongoing customization services for specific industries.
💬 Integration Tip
Integrate this skill into data pipelines by calling the Python script via command-line automation, ensuring openpyxl is installed in the environment for seamless batch processing.
Edit PDFs with natural-language instructions using the nano-pdf CLI.
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
Convert documents and files to Markdown using markitdown. Use when converting PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls), HTML, CSV, JSON, XML, images (with EXIF/OCR), audio (with transcription), ZIP archives, YouTube URLs, or EPubs to Markdown format for LLM processing or text analysis.
用 MinerU API 解析 PDF/Word/PPT/图片为 Markdown,支持公式、表格、OCR。适用于论文解析、文档提取。
Generate hand-drawn style diagrams, flowcharts, and architecture diagrams as PNG images from Excalidraw JSON
The awesome PPT format generation tool provided by baidu.