Skip to content
Back to skills

Analyze Data

ASecurity

Answer a question from data with numbers that can be defended: defined metrics, a data inspection, a reproducible script, a second-method check, and stated uncertainty. Use for "analyze this data", "why did the metric drop", "how many users", "look at this CSV", "build a report from the numbers".

  • 11 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsrustgosqldatabase

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add kinzarra/vibetrack --skill analyze-data --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Analyze Data?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Analyze Data
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kinzarra-analyze-data/badge)](https://www.skillsdirectory.com/skills/kinzarra-analyze-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: analyze-data
description: 'Answer a question from data with numbers that can be defended: defined metrics, a data inspection, a reproducible script, a second-method check, and stated uncertainty. Use for "analyze this data", "why did the metric drop", "how many users", "look at this CSV", "build a report from the numbers".'
---

# Analyze data

The answer in one paragraph, the numbers behind it with their period and units, and a script that produces them again from the same source.

## 1. Question and metrics

- Restate the question in one sentence and name the decision it serves. "Why did sales drop" becomes "which segment explains the change in net revenue between period A and period B".
- Define every metric before computing it: the formula, the numerator and denominator, the unit, the time zone, what counts and what does not (refunds, test accounts, internal users, cancelled orders). When the project already has a definition (a dashboard, a docs page, a query in the repository), use it and cite it. Two possible definitions that give different answers: compute both and say so, or ask once.
- Fix the period, the comparison period (same length, same weekdays where it matters) and the filters.

## 2. Inspect the data first

For each table or file, before any result:

| Check | What to record |
|---|---|
| Size | rows, columns, date range actually present |
| Types | dates parsed as dates, numbers as numbers, currency and decimal marks |
| Missing | share of empty values per column used; whether empty means zero or unknown |
| Duplicates | exact duplicate rows; duplicate keys; rows multiplied by a join |
| Ranges | min, max, median of each number; negatives, zeros, impossible values, outliers |
| Categories | distinct values, spelling variants of the same thing |
| Gaps | missing days or periods, a last period that is not complete |

State how each problem is handled (dropped, kept, fixed in a copy) and how many rows it touches. Count rows before and after every join and every filter.

## 3. Work without touching the source

- Never modify, overwrite, move or delete source data. Queries against a database or an analytics connector are read-only: SELECT only, no writes.
- Put all steps in one script or notebook that runs from the raw source to the final numbers with one command. Fix random seeds. Record the source (path, table or connector), the query text and the date of extraction.
- Intermediate files go to an `output/` folder beside the script, never over the input.

## 4. Compute and check

1. Start with the plain totals, then break down by one dimension at a time (time, segment, channel, product). Check that the parts add up to the total.
2. **Second method**: reproduce the key number another way: a different table, a query written from scratch, a manual count on a sample of 20 rows, or a comparison with a figure the owner already trusts. A difference above 1 to 2% is explained before anything is reported.
3. Compare rates with their bases: "conversion 4.1% (82 of 2,000)". A share without its base is not reported.
4. Order-of-magnitude check: does the number make sense against what is known about the business?

## 5. Uncertainty and bias

- Small bases: under about 30 events, call the result a signal, not a finding. Give an interval or the raw counts for any comparison that drives the decision.
- Name what could mislead: incomplete last period, seasonality, a change in tracking, survivorship, selection (who is missing from the data), mix shift between segments, several things changed at once.
- Correlation is reported as correlation. A cause is claimed only with an experiment or a clear mechanism, and is labeled as a hypothesis otherwise.

## 6. Present

- Every number carries its period, filters and unit beside it: "net revenue, 1 to 30 November 2026, paid orders, excluding refunds: 1.24 million EUR".
- Round to the precision the data supports: 2 or 3 significant figures in text, exact values in tables.
- A chart only when it makes the point clearer than a sentence: a line for change over time, bars for comparing categories, at most 5 to 7 series, the axis from zero for bars, a title that states the finding, units and source in the caption. Save as PNG and embed in the report.
- No personal data in any output: no names, emails, phones, addresses or raw user identifiers. Aggregate, and suppress groups smaller than 5.

## Output

Save under `analysis/<YYYY-MM-DD>-<slug>/` in the task's repository, unless the task says otherwise:

1. `report.md`, in this order: the answer (3 to 5 sentences with the key numbers), the supporting tables and charts, the method (source, period, filters, metric definitions, data problems and how they were handled, the sanity check and its result), the caveats, what further data would sharpen the answer.
2. `analysis.py` or `analysis.ipynb` (and `queries.sql` when a database is used) that reproduces every number.
3. `charts/*.png` and `output/*.csv` with the aggregated result tables.

Write the report in the language of its reader. The summary in the answer: the answer, the 3 numbers that carry it with period and unit, the main caveat, and how to rerun.

Rules: never invent or estimate a number without labeling it as an estimate. If the data cannot answer the question, say so and say exactly which data or access is needed. Do not commit or push unless the task says so.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.