360 Secure SkillHub
360 安全技能中心

Leo CSV Stats Analyzer

该 Skill 接收一个 CSV 文件路径,统计总行数与列数、列出全部列名,并对每个数值列计算最小值、最大值和平均值,以带表情符号的可读文本返回结果。它由辅助脚本 analyzer.py 实现,运行环境需要 uv 与 pandas 包,并明确不修改原始 CSV 文件。

分类:数据
leotrieu
leotrieu
热度 39.52
最近更新 2026-05-11 17:34:12

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add leotrieu/leo-csv-stats-analyzer
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据不出本机
Metadata
name
csv-stats-analyzer
description
Analyzes any CSV file and returns row count, column names, and basic statistics for numeric columns.
user-invocable
true
metadata
{"emoji":"📊","requires":{"bins":["uv"]}}

Usage

Invoke with: /csv-stats-analyzer <path-to-csv-file>

Example: /csv-stats-analyzer ./sales.csv

Features

  • Shows total rows and columns
  • Lists all column names
  • Calculates min, max, and average for every numeric column

Rules

  • The CSV must exist and be readable.
  • Use the helper script at {baseDir}/analyzer.py
  • Run it with: uv run --with pandas {baseDir}/analyzer.py [csv-path]
  • Return the output in a clean, readable format with emojis.
  • Never modify the original CSV file.