技能 csv-processor
📊

csv-processor

安全 🌐 网络访问⚙️ 外部命令📁 文件系统访问

處理 CSV 檔案並進行進階資料操作

CSV 檔案通常包含需要清理和轉換的雜亂資料。此技能提供全面的工具和範例,可高效地解析、清理和分析 CSV 資料。

支持: Claude Codex Code(CC)
⚠️ 67
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“csv-processor”。 Clean this customer database and remove duplicates

预期结果:

  • Loaded 15,234 rows from customers.csv
  • Found and removed 342 duplicate entries based on email
  • Standardized 89 phone numbers to international format
  • Filled 156 missing names with 'Unknown Customer'
  • Cleaned database saved as customers_clean.csv (14,892 rows)

正在使用“csv-processor”。 Analyze this sales data for trends

预期结果:

  • Analyzed 50,000 sales transactions across 12 months
  • Monthly revenue ranges from $45,000 to $125,000
  • Top 3 product categories: Electronics (35%), Clothing (28%), Home (22%)
  • Identified 234 outliers in transaction amounts over $5,000
  • Average order value: $127.50 (median: $89.00)

安全审计

安全
v5 • 1/17/2026

This is a documentation-only skill. The SKILL.md file contains educational examples and documentation with no executable code. All 94 static findings are FALSE POSITIVES triggered by code examples in markdown documentation. No Python, Ruby, or executable files exist in this skill. Standard library imports and file operations shown in documentation examples do not pose security risks.

2
已扫描文件
1,083
分析行数
3
发现项
5
审计总数
审计者: claude 查看审计历史 →

质量评分

38
架构
100
可维护性
85
内容
20
社区
100
安全
74
规范符合性

你能构建什么

清理和分析調查資料

處理原始調查回應、移除無效項目、計算統計數據並產生摘要報告。

將日誌檔案轉換為報告

解析 CSV 格式的應用程式日誌、依時間範圍篩選、彙總指標並匯出清理後的資料。

合併客戶資料庫

結合來自多個 CSV 來源的客戶資料、移除重複項目,並標準化格式以便匯入 CRM 系統。

试试这些提示

基本 CSV 解析
Parse this CSV file and show me the first 10 rows with column names and data types: [attach CSV file]
資料清理
Clean this CSV by removing duplicate rows and filling missing values with appropriate defaults: [attach CSV file]
統計分析
Analyze this CSV file and provide summary statistics for all numeric columns, including mean, median, and outliers: [attach CSV file]
複雜轉換
Filter this sales data for Q4 2023, group by region, and calculate total revenue and average order value: [attach CSV file]

最佳实践

  • 在處理之前務必驗證 CSV 結構和編碼
  • 在完整資料集上執行之前,先在小樣本上測試轉換
  • 在進行變更之前保留原始檔案的備份

避免

  • 不分塊處理整個大型檔案
  • 假設預設分隔符號總是逗號
  • 忽略編碼問題直到它們導致錯誤

常见问题

支援哪些檔案格式?
此技能支援 CSV、TSV 和其他分隔符號分隔格式。它會自動偵測分隔符號並處理各種編碼。
能夠處理非常大的 CSV 檔案嗎?
可以,對於超過 100MB 的檔案請使用分塊處理。以較小的片段處理以避免記憶體問題。
它適用於 Excel 檔案嗎?
請先使用 Excel 或線上轉換器將 Excel 轉換為 CSV。此技能專注於純文字 CSV 格式。
我的資料安全嗎?
此技能僅提供程式碼範例。當您執行提供的程式碼片段時,您的資料會保留在本機。
如果我的 CSV 有編碼問題怎麼辦?
嘗試不同的編碼:UTF-8、Latin-1、Windows-1252。此技能展示如何偵測和修復編碼問題。
我可以合併多個 CSV 檔案嗎?
可以,此技能提供基於公共欄位的垂直串接和 SQL 樣式聯結的範例。

开发者详情

文件结构

📄 SKILL.md