- name
SKILL.md
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a cursor -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a claude-code -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a codex -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a grok -ySend the copied message in a Grok Bot chat. The Bot fetches this SKILL.md from GitHub and adds it to the skills all your Bots share.
Install this skill: https://github.com/DougTrajano/pydantic-ai-skills/tree/HEAD/examples/skills/data-analysisFrom the publisher
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.
aggregateaggregateprofile_datasetaggregate with filtersReports 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 themExits 2 for an unknown column.
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, default revenueagg (optional): sum (default), mean, median, min, max, countwhere (optional, repeatable): Filter as column=value, e.g. region=northtop (optional): Keep only the highest N groupsExits 2 for an unknown column or malformed filter, 1 when no rows match.
Revenue by region, highest first:
Top 3 categories by units sold, online only:
Average revenue per month in the west:
resources/sales.csv is generated sample data, included so the skill is
self-contained and deterministic. It is not real sales data.
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.
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,
---name: data-analysisdescription: Profile and aggregate a bundled sales dataset - group revenue by region, category, channel or month, apply…---# examples/skills/data-analysis/SKILL.mdOverview
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.
FAQ
Download examples/skills/data-analysis/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
The publisher keeps it at https://github.com/DougTrajano/pydantic-ai-skills.
Claude, Cursor, Codex, and Grok Build can read a SKILL.md you add from the publisher's repository. Grok Bot installs it when you send the skill's GitHub folder link in a chat.