Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

excel-inspector卓越检查员

Agent Skill

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

总安装

210

周安装

9

GitHub Stars

公开资料未说明

下载量

73
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/rukkha1024/elderly-balance-assessment --skill excel-inspector

简介

excel-inspector 分析 Excel 文件结构,输出元数据与 VBA 代码供 AI 理解。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中编写 VBA 宏或 Python 自动化前获取结构信息时使用。
  • 生成包含 sheet 名称、列类型、VBA 模块与样本数据的 JSON 报告。
  • 建议在修改现有宏前先提取当前代码,避免误删重要逻辑。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Excel Inspector Skill

Automated Excel file structure analysis for AI code generation

Overview

This skill analyzes Excel files and outputs structured metadata (JSON) to help AI understand:

  • Sheet structure and table definitions
  • Column names and data types
  • VBA code modules
  • Sample data and statistics

When to Use

  • Before writing VBA code: understand existing modules and procedures
  • Before Python Excel automation: know sheet/column structure and data types
  • When analyzing Excel file structure: get complete metadata in JSON format
  • When modifying existing Excel macros: extract current VBA code to a file
  • When debugging Excel data issues: analyze data types and sample values

Usage

# Analyze an Excel file
conda run -n excel python script/inspect_excel.py path/to/file.xlsm

# Example
conda run -n excel python script/inspect_excel.py perturb_inform.xlsm

Output

  1. JSON file: {filename}_structure.json in current directory

- Complete metadata: sheets, columns, data types, VBA modules - Used by AI to understand file structure before coding

  1. Console output: Summary report for quick reference

- Number of sheets, tables, VBA modules - Analysis status and any warnings

  1. VBA files: Extracted to .claude/vba/{filename}/ directory

- Individual module files: ThisWorkbook.vba, Module1.vba, etc. - Enables version control and easy modification

JSON Output Schema

{
  "file_path": "/absolute/path/to/file.xlsm",
  "file_info": {
    "name": "perturb_inform.xlsm",
    "size_kb": 170,
    "is_macro_enabled": true,
    "last_modified": "2025-12-10T12:34:56"
  },
  "sheets": [
    {
      "name": "platform",
      "dimensions": "A1:K951",
      "row_count": 951,
      "col_count": 11,
      "tables": [
        {
          "name": "tbl_in",
          "range": "A1:I951",
          "row_count": 951,
          "col_count": 9
        }
      ],
      "head_data": [
        ["subject", "trial", "condition", ...],
        ["김연옥", 1, "baseline", ...],
        ...
      ],
      "columns": [
        {
          "index": 0,
          "header": "subject",
          "inferred_type": "string",
          "na_ratio": 0.0,
          "sample_values": ["김연옥", "김윤자", "윤순자"]
        },
        {
          "index": 1,
          "header": "trial",
          "inferred_type": "numeric",
          "na_ratio": 0.05,
          "sample_values": [1, 2, 3]
        }
      ]
    }
  ],
  "vba_modules": [
    {
      "name": "ThisWorkbook",
      "type": "workbook",
      "code_path": ".claude/vba/perturb_inform/ThisWorkbook.vba",
      "has_open_event": true,
      "has_close_event": true
    },
    {
      "name": "Module2",
      "type": "module",
      "code_path": ".claude/vba/perturb_inform/Module2.vba",
      "public_subs": ["BuildMetaSummary"],
      "private_functions": ["IsNA", "FindItemRow", "AddNumeric", "WriteNumericSummary"]
    }
  ],
  "analysis_summary": {
    "total_sheets": 5,
    "total_tables": 1,
    "total_vba_modules": 2,
    "has_macros": true,
    "primary_data_sheet": "platform"
  }
}

Data Types

The skill infers the following column data types:

  • numeric: Integer or float values
  • string: Text values
  • date: Date or datetime values
  • boolean: TRUE/FALSE values
  • mixed: Multiple types in the same column
  • empty: All values are empty

Files

FilePurpose
inspect_excel.pyMain CLI script entry point
excel_structure_utils.pySheet/data structure analysis utilities
vba_extractor.pyVBA code extraction utilities

Error Handling

ScenarioBehavior
File not foundClear error message and exit
.xlsx file (no macros)Analyze sheets normally, skip VBA extraction
VBA access deniedWarn about Trust Center, continue with sheet analysis
MCP server unavailableFallback to openpyxl for sheet structure
Invalid Excel fileError with detailed diagnostics

Requirements

  • Environment: excel conda environment
  • Python packages: xlwings, polars, openpyxl
  • OS: Windows (for xlwings COM access to VBA)
  • Trust Center: Allow programmatic access to VBA project (Excel > Options > Trust Center)

Example Output

After running:

conda run -n excel python script/inspect_excel.py perturb_inform.xlsm

You get:

  • perturb_inform_structure.json - Complete metadata for AI to read
  • .claude/vba/perturb_inform/ directory with extracted VBA modules
  • Console summary showing analysis results

AI then reads the JSON file to understand the workbook structure before writing code.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.16%
按下载量换算26

Claude

28.81%
按下载量换算21

Cursor

20.3%
按下载量换算15

Gemini CLI

8.62%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills