data-analysis

Analyze CSV and JSON files to compute data statistics, counts, and anomalies.

12|2|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/aws-samples/sample-agent-skill-eval --skill data-analysis-aws-samples
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-analysis
Source: https://github.com/aws-samples/sample-agent-skill-eval/tree/main/examples/data-analysis
Command: npx skills add https://github.com/aws-samples/sample-agent-skill-eval --skill data-analysis-aws-samples

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Analyze CSV and JSON data to generate summary statistics, detect anomalies, and produce formatted reports that help guide decisions without manual data crunching.

Core Features & Use Cases

  • Compute row counts, column counts, data types, non-null counts, and numeric statistics for numeric columns.
  • Detect anomalies/outliers and summarize key trends across datasets.
  • Generate human-readable reports and markdown tables suitable for presentations and dashboards.

Quick Start

Use the analyze_csv.py script to analyze a sample CSV file and generate a structured report.

Frequently Asked Questions about data-analysis

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

FAQPage Schema
How do I compute summary statistics for a CSV file?

To compute summary statistics for a CSV file, you can use a script that calculates row counts, column counts, data types, non-null counts, and basic numeric statistics. It processes structured datasets to generate a structured JSON payload containing numeric stats and anomalies.

What is anomaly detection in CSV data and how does it work?

Anomaly detection in CSV data identifies outliers and summarizes key trends across your structured datasets. It works by computing basic numeric statistics and non-null counts, then gracefully handling non-numeric values to produce a formatted report highlighting anomalies.

Can I analyze JSON files to generate structured data reports?

Yes, you can analyze JSON files to generate structured data reports. The analysis identifies key data characteristics from CSV and JSON files by computing counts, data types, and numeric statistics, resulting in a human-readable report suitable for dashboards.

Does the CSV analysis tool handle non-numeric values?

Yes, the CSV analysis tool gracefully handles non-numeric values. While computing basic numeric statistics for numeric columns, it processes mixed data types seamlessly to ensure your structured JSON payload accurately reflects data types and non-null counts.

What is the best way to turn raw CSV data into markdown tables?

The best way to turn raw CSV data into markdown tables is using a script that computes summary statistics and detects anomalies. It generates human-readable reports and markdown tables directly from your structured datasets, suitable for presentations and dashboards.