- 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 จะดึง SKILL.md นี้จาก GitHub และเพิ่มลงในสกิลที่ 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.
FAQ
ดาวน์โหลด examples/skills/data-analysis/SKILL.md จากผู้เผยแพร่ หรือคัดลอกพาธแล้วเปิดรีโพซิทอรี PlugMCP แสดงรายการสกิลเท่านั้น ไม่ได้โฮสต์ไฟล์
ผู้เผยแพร่เก็บไว้ที่ https://github.com/DougTrajano/pydantic-ai-skills
Claude, Cursor, Codex และ Grok Build อ่าน SKILL.md ที่คุณเพิ่มจากรีโพซิทอรีของผู้เผยแพร่ได้ ส่วน Grok Bot จะติดตั้งให้เมื่อคุณส่งลิงก์โฟลเดอร์ GitHub ของสกิลในแชต