Csv Stats
Summarize a CSV file (row count, columns, numeric means)
Skill metadata
| Name | csv-stats |
| Version | 1.0.0 |
| Author | example |
| Category | data |
| Tags | csv, analysis |
Verification
This skill is addressed by the hash of its contents. An agent fetches it by that address and rechecks every file before running anything, so a changed skill is a different address it was never approved to use.
| Address | sha256:4e8cb35109ab6ae6069b6c984ebd52c659712905c83eaf7a0f662b1251e63d50 |
| Files | 4 |
# fetch from distributed storage, verify, and use it
node agent/skill-agent.mjs --address sha256:4e8cb35109ab6ae6069b6c984ebd52c659712905c83eaf7a0f662b1251e63d50 --key <publisher-key>
Files
| Path | Address | Bytes |
|---|---|---|
SKILL.md | sha256:3b30dca7bd0773a8e4358bc3fbc7e7e7741de943aaef1522f7085c0c91938565 | 683 |
examples/sample.csv | sha256:dbe2f65ac4555a6794a3ff49136a58f3a8e94a7be6a95ba21dbf0cd0ddc1a6c2 | 72 |
references/format.md | sha256:3f2009496bd4c62fd7f879ab4de3917c44f6d6e75715ef0f6b8227b0feed1cc2 | 181 |
scripts/stats.py | sha256:3413eb46a557ffd63cb2c5cd85834cdb1447637357b7d9d6ab347b843b28d2e5 | 799 |
Reference: full SKILL.md
Summarize a CSV
When to Use
The user has a CSV file and wants a quick structural summary: how many rows, what columns, and the mean of each numeric column.
Procedure
- Run
scripts/stats.py <input.csv>. - The script prints a JSON object with
rows,columns, andnumeric_means. - Return that JSON to the user.
Verification
rowsequals the number of data lines (excluding the header).- Every numeric column appears in
numeric_means.