- name
SKILL.md
Tệp skill vẫn nằm trong kho mã của nhà phát hành.
Dán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a cursor -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a claude-code -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a codex -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add DougTrajano/pydantic-ai-skills --skill data-analysis -a grok -yGửi tin nhắn đã sao chép trong cuộc trò chuyện Grok Bot. Bot sẽ lấy tệp SKILL.md này từ GitHub và thêm vào bộ skill mà mọi Bot của bạn dùng chung.
Install this skill: https://github.com/DougTrajano/pydantic-ai-skills/tree/HEAD/examples/skills/data-analysisTừ nhà phát hành
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.mdTổng quan
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.
Câu hỏi thường gặp
Tải examples/skills/data-analysis/SKILL.md từ nhà phát hành, hoặc sao chép đường dẫn và mở kho mã. PlugMCP chỉ liệt kê skill và không lưu trữ tệp này.
Nhà phát hành duy trì nó tại https://github.com/DougTrajano/pydantic-ai-skills.
Claude, Cursor, Codex và Grok Build có thể đọc tệp SKILL.md mà bạn thêm từ kho mã của nhà phát hành. Grok Bot cài đặt skill khi bạn gửi liên kết thư mục GitHub của skill trong cuộc trò chuyện.