- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/DougTrajano/pydantic-ai-skills/tree/HEAD/examples/skills/data-analysis来自发布者
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.md概览
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.
常见问题
从发布者处下载 examples/skills/data-analysis/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/DougTrajano/pydantic-ai-skills。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。