csv-report
Profile an uploaded CSV and write a metrics file, a summary and a short insights note. Use when the user asks to analyze, summarize or report on a CSV / tabular dataset.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- csv-report
- description
- Profile an uploaded CSV and write a metrics file, a summary and a short insights note. Use when the user asks to analyze, summarize or report on a CSV / tabular dataset.
02 资源文件 1
- 脚本scripts/metrics.py4.5 KB
03 SKILL.md 正文
csv-report
A synthetic skill for the harness's own hillclimb acceptance run. It profiles a CSV with a bundled producer script, then writes a short insights note for a reader who will not open the numbers.
How to run
-
Locate the CSV (default
uploads/sales.csv). Ifoutputs/metrics.jsonalready exists, it is the output of an earlier step: read it and skip to step 3 instead of re-running the producer. -
Run the bundled producer:
S="${CLAUDE_PLUGIN_ROOT}/skills/csv-report/scripts/metrics.py" [ -f "$S" ] || S="$(find /sessions/*/mnt/.local-plugins /sessions/*/mnt/.remote-plugins \ -path '*/skills/csv-report/scripts/metrics.py' 2>/dev/null | head -1)" python3 "$S" uploads/sales.csv outputsIt writes
outputs/metrics.jsonandoutputs/summary.md. -
Write
outputs/insights.md: three to five bullets a manager can act on, each grounded in a number fromoutputs/metrics.json. -
Reply with one line naming the files you wrote.
Audits and cross-checks
- When the user asks for an audit of the numbers, invoke the
csv-auditskill and report its findings. - When the user asks for an independent cross-check, dispatch the
csv-checkeragent with the path tooutputs/metrics.jsonand report whether it agrees.
Constraints
- Standard library only: no
pip install, no network. - Do not delete files in
outputs/.
04 同仓库更多 Skills
standalone-skill
fixture skill for collectArtifactSources — proves scripts/ is reached
skill-b
fixture skill B — sibling of skill-a, must be excluded when the target is skill-a directly
skill-a
fixture skill A — has a candidate source under scripts/
csv-audit
Audit outputs/metrics.json for data-quality problems and return a findings list. Use when asked to audit CSV metrics.
my-pdf-skill
Example skill under test. Summarize a PDF and write action items.
csv-metrics
Compute summary statistics for a CSV and write a JSON + markdown report. Use when the user asks to analyze, summarize, profile, or compute metrics for a CSV / tabular dataset.