Data analysis

From aws-samples/sample-agent-skill-eval · View interactive version

Data analysis is an AI agent skill from the GitHub repository aws-samples/sample-agent-skill-eval. Analyze CSV and JSON data files to produce summary statistics, detect anomalies, and generate formatted reports. Use when the user asks to summarize data, compute statistics (mean, median, percentiles), find outliers, or produce tabular reports from structured data files. NOT for: image analysis, un

How to use this skill

Skill file

Data Analysis Skill

Analyze structured data files (CSV, JSON) and produce clear, actionable reports.

When to Use

When NOT to Use

Workflow

  1. Identify the data file — look for CSV or JSON files in the workspace
  2. Run the analysis script for deterministic statistics:

```bash

python3 scripts/analyze_csv.py <file.csv>

```

  1. Interpret the results — add context about what the numbers mean
  2. Format the output — use markdown tables for readability

Output Format

Always structure your response as:

  1. Overview — file name, row count, column count
  2. Column Summary — for each column: type, non-null count, unique values
  3. Statistics — for numeric columns: min, max, mean, median, std dev
  4. Anomalies — any outliers (values beyond 2 standard deviations)
  5. Recommendations — actionable insights based on the data

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.