Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计异常

excel-toolkitexcel 工具包

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

196

周安装

8

GitHub Stars

公开资料未说明

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:excel-toolkit(excel 工具包)
来源仓库:https://github.com/sentry01/copilot-cli-skills
仓库路径:skills/excel-toolkit
安装命令:
npx skills add https://github.com/sentry01/copilot-cli-skills --skill excel-toolkit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sentry01/copilot-cli-skills --skill excel-toolkit

简介

excel-toolkit 用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备,适合清洗字段、汇总数据或发现异常。

  • 它能帮助 Agent 生成统计口径或将分析结果转成可读说明。
  • 使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实。
  • 涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Excel Toolkit

Setup (First Use)

Run the dependency installer before any Excel operation:

python3 scripts/setup_deps.py

Installs: openpyxl, pandas, xlsxwriter, matplotlib. Skip if already installed.

Workflow Selection

  1. Inspect a file → Run scripts/inspect_excel.py
  2. Analyze data / get insights → Run scripts/analyze_excel.py
  3. Read data for processing → Use pandas in inline Python
  4. Edit existing file → Use openpyxl (preserves formulas/formatting)
  5. Create new file → Use openpyxl (formulas/formatting) or pandas (data export)
  6. Recalculate formulas → Run scripts/recalc.py

Quick-Start Scripts

Inspect File Structure

python3 scripts/inspect_excel.py data.xlsx                    # Structure only
python3 scripts/inspect_excel.py data.xlsx --data              # With data preview
python3 scripts/inspect_excel.py data.xlsx --sheet "Sales"     # Specific sheet
python3 scripts/inspect_excel.py data.xlsx --data --rows 50    # More preview rows

Returns JSON: sheet names, dimensions, headers, column types, optional data preview.

Analyze Data

python3 scripts/analyze_excel.py data.xlsx                         # Basic stats
python3 scripts/analyze_excel.py data.xlsx --correlations          # With correlations
python3 scripts/analyze_excel.py data.xlsx --sheet "Revenue"       # Specific sheet

Returns JSON: shape, dtypes, missing values, numeric stats, categorical summaries, duplicates, date ranges.

Recalculate Formulas

python3 scripts/recalc.py output.xlsx [timeout_seconds]

Requires LibreOffice. Returns JSON with formula errors and locations.

Reading Data

import pandas as pd

df = pd.read_excel('file.xlsx')                          # First sheet
df = pd.read_excel('file.xlsx', sheet_name='Sales')      # Named sheet
all_sheets = pd.read_excel('file.xlsx', sheet_name=None) # All sheets as dict
df = pd.read_excel('file.xlsx', dtype={'id': str})       # Force types

Creating / Editing

Create New

from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill, Alignment

wb = Workbook()
ws = wb.active
ws.title = "Data"
ws['A1'] = 'Category'
ws['A1'].font = Font(bold=True)
ws.append(['Sales', 1500])
ws['B3'] = '=SUM(B2:B2)'
ws.column_dimensions['A'].width = 18
wb.save('output.xlsx')

Edit Existing

from openpyxl import load_workbook

wb = load_workbook('existing.xlsx')  # preserves formulas
ws = wb['Sheet1']
ws['A1'] = 'Updated'
ws.insert_rows(2)
wb.save('modified.xlsx')

Critical Rules

  1. Use Excel formulas, not hardcoded calculations

- ❌ ws['B10'] = df['Sales'].sum() - ✅ ws['B10'] = '=SUM(B2:B9)'

  1. Recalculate after writing formulas — openpyxl writes formula strings but doesn't evaluate: python3 scripts/recalc.py output.xlsx
  2. Never save workbooks opened with data_only=True — destroys all formulas permanently.
  3. Preserve existing formatting — use load_workbook() and match existing conventions.

Providing Insights

When analyzing data:

  1. Run scripts/inspect_excel.py to understand structure
  2. Run scripts/analyze_excel.py --correlations for numeric data
  3. Present findings:

- Overview: rows, columns, data types - Key Statistics: means, medians, ranges - Data Quality: missing values, duplicates, anomalies - Patterns: correlations, trends, distributions - Actionable Insights: what stands out, recommendations

Building Dashboards & Insights Sheets

When creating dashboard/insights sheets with tables and charts, you MUST follow the layout rules in references/advanced-patterns.md → "Dashboard Layout & Spacing":

  1. Use a running ROW counter — never hardcode row positions for sections/charts
  2. Reserve 17-20 rows after each chart anchor for chart height
  3. Leave 2 blank rows between tables and charts
  4. Set chart dimensions explicitly — use the sizing guide for each chart type
  5. Apply consistent styling — title/section/header fonts, zebra striping, thin borders
  6. Use the standard color palette — BLUE for primary, ORANGE for secondary, RED for warnings
  7. Set column widths — use the defaults table for readable layouts

Advanced Features

For charts, conditional formatting, pivot tables, data validation, CSV conversion, dashboard layout, and large file handling → see references/advanced-patterns.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.48%
按下载量换算25

Claude

28.27%
按下载量换算18

Cursor

17.25%
按下载量换算11

Gemini CLI

9.7%
按下载量换算6

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills