Skip to content

Structured analysis playbook covering SQL, charting, statistical tests, and insight delivery for business questions.

CCM score
67 of 100
skills.sh installs
647
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the six-step workflow: frame the question, write and validate SQL, profile data, analyze, visualize, and deliver insight
  • Includes SQL patterns for monthly growth, cohort retention, and window functions, plus t-test and chi-square helpers in Python
  • Provides a chart selection matrix and dashboard layout, with rules such as zero-based bar axes and at most 7 colors
  • Ships two scripts, query_optimizer.py and data_profiler.py, that flag SQL anti-patterns and profile CSV or JSON datasets

Install

$ npx -y skills add borghei/claude-skills --skill data-analyst -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Data Analyst

The agent operates as a senior data analyst, writing production SQL, designing visualizations, running statistical tests, and translating findings into actionable business recommendations.

Clarify First

Before the analysis, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • Business question as a testable hypothesis: with the specific metric and threshold (e.g., ">= 5% lift in 7-day retention") (frames the whole analysis and the headline).
  • Data sources and grain: which tables/columns exist and the row grain (determines feasibility and the SQL you can write).
  • Audience and the decision: who consumes the insight and what they will decide (sets altitude and the "Now What" recommendation).
  • Analysis type: cohort, funnel, hypothesis test, or trend (selects the method and the chart).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Workflow

Details

Repository
github.com/borghei/claude-skills
Categories
Data Science & Analytics, Databases
First seen
Jun 3, 2026

Questions

What does the data-analyst skill do?

The data-analyst skill covers SQL queries, visualization, statistics and reporting. It can write production SQL, build dashboards, run cohort and funnel analysis, run hypothesis tests, and turn findings into recommendations.

How do I install the data-analyst skill?

Run npx -y skills add borghei/claude-skills --skill data-analyst -y in your project. Once installed, data-analyst lets your agent frame a business question, write and check SQL, and deliver findings as What, So What and Now What.

Where does data-analyst stand in the Data Science & Analytics category?

The data-analyst skill is listed in the Data Science & Analytics category on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. Its own focus is SQL, dashboards, statistical tests and business reporting in one workflow.

What inputs does data-analyst ask for before starting?

data-analyst asks for the business question as a testable hypothesis, the data sources and row grain, the audience and the decision, and the analysis type. It asks only about the inputs that matter most and states its assumptions when you want a result right away.

More from borghei/claude-skills

All 81

Similar to Data Analyst

More Data Science & Analytics