csv-workbench

Analyze CSV files in /mnt/data to summarize numeric data and grouped totals.

6|2|Updated Aug 22, 2024
One-click install
npx skills add https://github.com/NQ-lovecpp/cpp_chatsystem --skill csv-workbench-nq-lovecpp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csv-workbench
Source: https://github.com/NQ-lovecpp/cpp_chatsystem/tree/main/ChatSystem-Backend/8.Agent_Server/examples/openai-agents-python-main/examples/tools/skills/csv-workbench
Command: npx skills add https://github.com/NQ-lovecpp/cpp_chatsystem --skill csv-workbench-nq-lovecpp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you quickly understand and summarize the key numeric information within CSV files, saving you time on manual data inspection.

Core Features & Use Cases

  • Data Inspection: Preview CSV structure and content.
  • Row Counting: Determine the total number of records in a CSV.
  • Grouped Aggregations: Calculate sums or other aggregates for data grouped by specific columns (e.g., total sales per region).
  • Use Case: You have a CSV of sales data and need to know the total sales amount for each product category.

Quick Start

Analyze the CSV file named 'sales_data.csv' and provide a summary of the total sales per region.

Frequently Asked Questions about csv-workbench

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I summarize CSV data and calculate grouped totals?

To summarize CSV data, you can inspect the schema, count rows, and compute grouped totals for specific columns like total sales per region. The tool analyzes files in the /mnt/data directory using Python's csv module.

What's the best way to inspect a CSV file's structure before analysis?

The best way to inspect a CSV file's structure is to use a data inspection feature that previews the schema and content. This allows you to understand the layout and identify columns for grouped aggregations.

Can I analyze CSV files with missing or malformed data?

You can analyze CSV files with missing or malformed data, but the tool handles these by clearly stating assumptions rather than silently dropping rows. This ensures transparency in the numeric summaries and grouped totals.

How do I count the total number of records in a large CSV file?

To count the total number of records in a CSV file, you can use the row counting feature. It provides a quick numeric summary to determine the exact number of data rows within the file.

Does CSV summarization work with files stored in any directory?

CSV summarization specifically works with files located in the /mnt/data directory. You must place your CSV files in this directory before requesting schema inspection, row counting, or grouped aggregations.