{
  "schemaVersion": "1.0",
  "item": {
    "slug": "csvtoexcel",
    "name": "csv to excel",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/xuanguan2020/csvtoexcel",
    "canonicalUrl": "https://clawhub.ai/xuanguan2020/csvtoexcel",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/csvtoexcel",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=csvtoexcel",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/csv_to_excel.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "csvtoexcel",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T13:40:16.424Z",
      "expiresAt": "2026-05-07T13:40:16.424Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=csvtoexcel",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=csvtoexcel",
        "contentDisposition": "attachment; filename=\"csvtoexcel-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "csvtoexcel"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/csvtoexcel"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/csvtoexcel",
    "agentPageUrl": "https://openagent3.xyz/skills/csvtoexcel/agent",
    "manifestUrl": "https://openagent3.xyz/skills/csvtoexcel/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/csvtoexcel/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Overview",
        "body": "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."
      },
      {
        "title": "Quick Start",
        "body": "Use the csv_to_excel.py script for all conversions:\n\n# Single CSV to Excel\npython scripts/csv_to_excel.py input.csv output.xlsx\n\n# Multiple CSVs to one Excel (each becomes a sheet)\npython scripts/csv_to_excel.py file1.csv file2.csv file3.csv --output combined.xlsx\n\n# With custom sheet names\npython scripts/csv_to_excel.py sales.csv inventory.csv --output report.xlsx --sheet-names \"销售数据\" \"库存数据\""
      },
      {
        "title": "Automatic Encoding Detection",
        "body": "Detects CSV encoding automatically (UTF-8, GBK, GB2312, UTF-8-SIG)\nEnsures Chinese characters display correctly in Excel\nNo manual encoding specification needed"
      },
      {
        "title": "Professional Formatting",
        "body": "Header row: Bold white text on blue background\nBorders: Thin borders around all cells\nColumn widths: Auto-adjusted based on content (handles Chinese characters properly)\nFrozen panes: Header row frozen for easy scrolling\nAlignment: Headers centered"
      },
      {
        "title": "Multi-Sheet Support",
        "body": "Combine multiple CSV files into one Excel workbook\nEach CSV becomes a separate sheet\nCustom sheet names supported\nSheet names default to CSV filenames (max 31 characters)"
      },
      {
        "title": "Pattern 1: Single File Conversion",
        "body": "User says: \"Convert this data.csv to Excel\"\n\npython scripts/csv_to_excel.py data.csv data.xlsx"
      },
      {
        "title": "Pattern 2: Multiple Files to Multi-Sheet Excel",
        "body": "User says: \"Combine these CSV files into one Excel, each file as a separate sheet\"\n\npython scripts/csv_to_excel.py sales_2024.csv sales_2025.csv inventory.csv --output report.xlsx\n\nResult: report.xlsx with 3 sheets named \"sales_2024\", \"sales_2025\", \"inventory\""
      },
      {
        "title": "Pattern 3: Custom Sheet Names",
        "body": "User says: \"Create an Excel with these CSVs and name the sheets in Chinese\"\n\npython scripts/csv_to_excel.py q1.csv q2.csv q3.csv q4.csv --output 年度报告.xlsx --sheet-names \"第一季度\" \"第二季度\" \"第三季度\" \"第四季度\""
      },
      {
        "title": "Pattern 4: Handling Chinese Content",
        "body": "User says: \"This CSV has Chinese text and it shows as garbled characters in Excel\"\n\nThe script automatically detects encoding and handles Chinese characters:\n\npython scripts/csv_to_excel.py 中文数据.csv 输出.xlsx"
      },
      {
        "title": "Encoding Support",
        "body": "The script tries these encodings in order:\n\nUTF-8\nGBK (common for Chinese Windows)\nGB2312 (simplified Chinese)\nUTF-8-SIG (UTF-8 with BOM)\nLatin1 (fallback)"
      },
      {
        "title": "CSV Dialect Detection",
        "body": "Automatically detects delimiter (comma, semicolon, tab, etc.)\nHandles quoted fields\nWorks with various CSV formats"
      },
      {
        "title": "Column Width Calculation",
        "body": "Chinese characters counted as 2 width units\nASCII characters counted as 1 width unit\nMaximum width capped at 50 for readability\nAdds 2 units padding for visual comfort"
      },
      {
        "title": "Dependencies",
        "body": "The script requires openpyxl:\n\npip install openpyxl"
      },
      {
        "title": "Troubleshooting",
        "body": "Issue: Chinese characters still appear garbled\n\nSolution: The CSV file may have a rare encoding. Try converting the CSV to UTF-8 first using a text editor.\n\nIssue: Sheet name error\n\nSolution: Excel sheet names must be ≤31 characters. The script auto-truncates, but you can specify shorter custom names.\n\nIssue: Empty sheets created\n\nSolution: Check that CSV files are not empty and are properly formatted.\n\nIssue: Script not found\n\nSolution: Run the script from the skill directory or use the full path: python .kiro/skills/csv-to-excel/scripts/csv_to_excel.py"
      }
    ],
    "body": "CSV To Excel Converter\nOverview\n\nThis 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.\n\nQuick Start\n\nUse the csv_to_excel.py script for all conversions:\n\n# Single CSV to Excel\npython scripts/csv_to_excel.py input.csv output.xlsx\n\n# Multiple CSVs to one Excel (each becomes a sheet)\npython scripts/csv_to_excel.py file1.csv file2.csv file3.csv --output combined.xlsx\n\n# With custom sheet names\npython scripts/csv_to_excel.py sales.csv inventory.csv --output report.xlsx --sheet-names \"销售数据\" \"库存数据\"\n\nFeatures\nAutomatic Encoding Detection\nDetects CSV encoding automatically (UTF-8, GBK, GB2312, UTF-8-SIG)\nEnsures Chinese characters display correctly in Excel\nNo manual encoding specification needed\nProfessional Formatting\nHeader row: Bold white text on blue background\nBorders: Thin borders around all cells\nColumn widths: Auto-adjusted based on content (handles Chinese characters properly)\nFrozen panes: Header row frozen for easy scrolling\nAlignment: Headers centered\nMulti-Sheet Support\nCombine multiple CSV files into one Excel workbook\nEach CSV becomes a separate sheet\nCustom sheet names supported\nSheet names default to CSV filenames (max 31 characters)\nCommon Usage Patterns\nPattern 1: Single File Conversion\n\nUser says: \"Convert this data.csv to Excel\"\n\npython scripts/csv_to_excel.py data.csv data.xlsx\n\nPattern 2: Multiple Files to Multi-Sheet Excel\n\nUser says: \"Combine these CSV files into one Excel, each file as a separate sheet\"\n\npython scripts/csv_to_excel.py sales_2024.csv sales_2025.csv inventory.csv --output report.xlsx\n\n\nResult: report.xlsx with 3 sheets named \"sales_2024\", \"sales_2025\", \"inventory\"\n\nPattern 3: Custom Sheet Names\n\nUser says: \"Create an Excel with these CSVs and name the sheets in Chinese\"\n\npython scripts/csv_to_excel.py q1.csv q2.csv q3.csv q4.csv --output 年度报告.xlsx --sheet-names \"第一季度\" \"第二季度\" \"第三季度\" \"第四季度\"\n\nPattern 4: Handling Chinese Content\n\nUser says: \"This CSV has Chinese text and it shows as garbled characters in Excel\"\n\nThe script automatically detects encoding and handles Chinese characters:\n\npython scripts/csv_to_excel.py 中文数据.csv 输出.xlsx\n\nTechnical Details\nEncoding Support\n\nThe script tries these encodings in order:\n\nUTF-8\nGBK (common for Chinese Windows)\nGB2312 (simplified Chinese)\nUTF-8-SIG (UTF-8 with BOM)\nLatin1 (fallback)\nCSV Dialect Detection\nAutomatically detects delimiter (comma, semicolon, tab, etc.)\nHandles quoted fields\nWorks with various CSV formats\nColumn Width Calculation\nChinese characters counted as 2 width units\nASCII characters counted as 1 width unit\nMaximum width capped at 50 for readability\nAdds 2 units padding for visual comfort\nDependencies\n\nThe script requires openpyxl:\n\npip install openpyxl\n\nTroubleshooting\n\nIssue: Chinese characters still appear garbled\n\nSolution: The CSV file may have a rare encoding. Try converting the CSV to UTF-8 first using a text editor.\n\nIssue: Sheet name error\n\nSolution: Excel sheet names must be ≤31 characters. The script auto-truncates, but you can specify shorter custom names.\n\nIssue: Empty sheets created\n\nSolution: Check that CSV files are not empty and are properly formatted.\n\nIssue: Script not found\n\nSolution: Run the script from the skill directory or use the full path: python .kiro/skills/csv-to-excel/scripts/csv_to_excel.py"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/xuanguan2020/csvtoexcel",
    "publisherUrl": "https://clawhub.ai/xuanguan2020/csvtoexcel",
    "owner": "xuanguan2020",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/csvtoexcel",
    "downloadUrl": "https://openagent3.xyz/downloads/csvtoexcel",
    "agentUrl": "https://openagent3.xyz/skills/csvtoexcel/agent",
    "manifestUrl": "https://openagent3.xyz/skills/csvtoexcel/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/csvtoexcel/agent.md"
  }
}