data-analysis
БесплатноЗапускает вложенные скриптыНе проверенProfile and aggregate a bundled sales dataset - group revenue by region, category, channel or month, apply filters, and compute sums, means, medians and…
от DougTrajano★ 382 звезды на GitHubОб этом скилле
Data Analysis Skill
Answers questions about a bundled sales dataset (resources/sales.csv): 96 rows
covering six months, four regions, four product categories and three sales
channels.
This is the reference skill for exercising sandbox executors. Both scripts are standard library only and read their data from the skill folder, so they do real work with no network, no third-party packages and no host access — exactly the shape a sandbox is meant to run.
When to Use This Skill
- "Which region had the highest revenue?" →
aggregate - "What were average units sold per category?" →
aggregate - "How many rows are in the dataset and what does revenue look like?" →
profile_dataset - "Compare online versus retail sales in the north" →
aggregatewith filters
Skill Scripts
profile_dataset
Reports dataset shape, column names, summary statistics for every numeric column (count, sum, mean, median, stdev, min, max) and distinct-value counts for the categorical ones.
column(optional): Profile a single numeric column instead of all of them
Exits 2 for an unknown column.
aggregate
Groups rows and aggregates a numeric column, optionally filtered and truncated.
group-by(required): Column to group by —month,region,category,channelmetric(optional): Numeric column to aggregate, defaultrevenueagg(optional):sum(default),mean,median,min,max,countwhere(optional, repeatable): Filter ascolumn=value, e.g.region=northtop(optional): Keep only the highest N groups
Exits 2 for an unknown column or malformed filter, 1 when no rows match.
Usage Examples
Revenue by region, highest first:
- group-by: region
Top 3 categories by units sold, online only:
- group-by: category
- metric: units
- agg: sum
- where: channel=online
- top: 3
Average revenue per month in the west:
- group-by: month
- agg: mean
- where: region=west
Data Source
resources/sales.csv is generated sample data, included so the skill is
self-contained and deterministic. It is not real sales data.
Sandbox Behaviour
Both scripts produce byte-identical output on the host and under
LocalSandboxScriptExecutor or OpenSandboxScriptExecutor, including the
../resources/sales.csv read through the skill root and non-zero exit codes for
bad arguments. That equivalence is the point: swapping the executor changes where
the script runs, not what the model sees.
Установить data-analysis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл data-analysis?
Profile and aggregate a bundled sales dataset - group revenue by region, category, channel or month, apply filters, and compute sums, means, medians and ranges. Use for questions about sales figures, trends, or which segments perform best.
Как установить скилл data-analysis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-analysis запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic