Install
$ agentstack add skill-hasna-skills-analyze-data ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Analyze Data
Instant data science insights for your CSV and JSON files. Automatically generates comprehensive reports including statistical summaries, data quality audits, correlation matrices, and trend detection without sending your data to external APIs.
> This is a CLI skill. It requires the skills CLI to execute. Install it with npm install -g @hasna/skills, then run the commands below.
Features
- Statistical Profiling: Calculates mean, median, mode, standard deviation, quartiles, and custom percentiles for all numeric columns.
- Data Quality Audit: Detects missing values, duplicates, mixed data types, and outliers to assess dataset health.
- Correlation Discovery: Identifies relationships between variables using Pearson correlation coefficients.
- Trend Detection: Automatically spots time-series patterns, seasonality, and growth trends.
- Visualization Ready: Recommends the best chart types (histograms, line charts, scatter plots) based on data distribution.
- Multi-Format Reports: Exports findings as interactive HTML, structured JSON, or readable Markdown.
- Scalable: Efficiently processes large files using stream processing and sampling options.
Usage
skills run analyze-data -- [options]
Options
| Option | Description | Default | | --------------- | ------------------------------------------------------------ | -------------------- | | --format | Output format: markdown, json, or html | markdown | | --output | Save report to file path | (prints to console) | | --correlations| Calculate correlation matrix for numeric columns | false | | --outliers | Detect and report outliers using IQR method | false | | --trends | Analyze trends if time-series data is detected | false | | --sample | Analyze only the first N rows (for large files) | (all rows) | | --percentiles | Custom percentiles to calculate (comma-separated) | 25,50,75,90,95 | | --verbose | Show detailed processing logs | false |
Examples
Quick Health Check
# Analyze a CSV file and print report to console
skills run analyze-data -- sales-data.csv
Deep Dive Analysis
# Full analysis with correlations, outliers, and HTML report
skills run analyze-data -- dataset.csv \
--correlations \
--outliers \
--format html \
--output report.html
Large File Sampling
# Quickly analyze the first 10,000 rows of a large dataset
skills run analyze-data -- huge-log-file.json \
--sample 10000 \
--verbose
JSON Export for Pipelines
# Generate JSON stats for downstream processing
skills run analyze-data -- metrics.json \
--format json \
--output analysis.json
Report Sections
- Dataset Overview: File size, row/column counts, memory usage.
- Column Analysis: Data types, unique values, null counts, and sample data.
- Statistical Summary: Detailed metrics for numeric columns (mean, std dev, etc.).
- Data Quality: Quality score (0-100), missing data summary, and duplicate detection.
- Correlations: (Optional) Matrix of relationships between variables.
- Trends: (Optional) Time-series patterns and anomalies.
- Visualization Recommendations: Suggested charts for exploring the data.
- Key Insights: Auto-generated observations about the dataset.
Supported Formats
- CSV: Standard comma-separated, TSV, and custom delimiters.
- JSON: Arrays of objects or objects containing data arrays.
Performance
- Small (100MB): Use
--samplefor best performance.
Requirements
- Bun runtime.
- No external API keys required (runs locally).
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: hasna
- Source: hasna/skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.