Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

kimi-xlsxKimi XLSX 搜索

Agent Skill

kimi-xlsx 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,584

周安装

191

GitHub Stars

146

下载量

1,528
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/thvroyal/kimi-skills --skill kimi-xlsx

简介

kimi-xlsx 用于查找、检索和筛选相关信息,适合在多种宿主环境中快速定位内容。

  • 适用于根据关键词或任务场景从来源线索中筛选信息的需求。
  • 通过 npx skills add 命令安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否触发联网或文件操作。
  • kimi-xlsx 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

  • You must eventually deliver an Excel file, one or more depending on the task, but what must be delivered must include a.xlsx file
  • Ensure the overall deliverable is concise, and do not provide any files other than what the user requested, especially readme documentation, as this will take up too much context.

Excel File Creation: Python + openpyxl/pandas

✅ REQUIRED Technology Stack for Excel Creation:

  • Runtime: Python 3
  • Primary Library: openpyxl (for Excel file creation, styling, formulas)
  • Data Processing: pandas (for data manipulation, then export via openpyxl)
  • Execution: Use ipython tool for Python code

✅ Validation & PivotTable Tools:

  • Tool: KimiXlsx (unified CLI tool for validation, recheck, pivot, etc.)
  • Execution: Use shell tool for CLI commands

🔧 Execution Environment:

  • Use ipython tool for Excel creation with openpyxl/pandas
  • Use shell tool for validation commands

Python Excel Creation Pattern:

from openpyxl import Workbook
from openpyxl.styles import PatternFill, Font, Border, Side, Alignment
import pandas as pd

# Create workbook
wb = Workbook()
ws = wb.active
ws.title = "Data"

# Add data
ws['A1'] = "Header1"
ws['B1'] = "Header2"

# Apply styling
ws['A1'].font = Font(bold=True, color="FFFFFF")
ws['A1'].fill = PatternFill(start_color="333333", end_color="333333", fill_type="solid")

# Save
wb.save('output.xlsx')

</Technology Stack>

When creating Excel files with externally fetched data:

Source Citation (MANDATORY):

  • ALL external data MUST have source citations in final Excel
  • 🚨 This applies to ALL external tools: datasource, web_search, API calls, or any fetched data
  • Use two separate columns: Source Name | Source URL
  • Do NOT use HYPERLINK function (use plain text to avoid formula errors)
  • ⛔ FORBIDDEN: Delivering Excel with external data but NO source citations
  • Example:
Data ContentSource NameSource URL
Apple RevenueYahoo Financehttps://finance.yahoo.com/...
China GDPWorld Bank APIworld_bank_open_data
  • If citation per-row is impractical, create a dedicated "Sources" sheet

</External Data in Excel>

1. Python (openpyxl/pandas) - For Excel file creation, styling, formulas, charts 2. KimiXlsx CLI Tool - For validation, error checking, and PivotTable creation

The KimiXlsx tool has 6 commands that can be called using the shell tool:

Executable Path: /app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx

Base Command: /app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx <command> [arguments]


  1. recheck ⚠️ RUN FIRST for formula errors
  • description:This tool detects:

- Formula errors: #VALUE!, #DIV/0!, #REF!, #NAME?, #NULL!, #NUM!, #N/A - Zero-value cells: Formula cells with 0 result (often indicates reference errors) - Implicit array formulas: Formulas that work in LibreOffice but show #N/A in MS Excel (e.g., MATCH(TRUE(), range>0, 0))

  • Implicit Array Formula Detection:

- Patterns like MATCH(TRUE(), range>0, 0) require CSE (Ctrl+Shift+Enter) in MS Excel - LibreOffice handles these automatically, so they pass LibreOffice recalculation but fail in Excel - When detected, rewrite the formula using alternatives: - ❌ =MATCH(TRUE(), A1:A10>0, 0) → shows #N/A in Excel - ✅ =SUMPRODUCT((A1:A10>0)*ROW(A1:A10))-ROW(A1)+1 → works in all Excel versions - ✅ Or use helper column with explicit TRUE/FALSE values

  • how to use:
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx recheck output.xlsx
  1. reference-check (alias: refcheck)
  • description: This tool is used to Detect potential reference errors and pattern anomalies in Excel formulas. It can identify 4 common issues when AI generates formulas:

Out-of-range references - Formulas reference a range far exceeding the actual number of data rows. Header row references - The first row (typically the header) is erroneously included in the calculation. Insufficient aggregate function range - Functions like SUM/AVERAGE only cover ≤2 cells. Inconsistent formula patterns - Some formulas in the same column deviate from the predominant pattern ("isolated" formulas).

  • how to use:
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx reference-check output.xlsx
  1. inspect
  • description: This command analyzes Excel file structure and outputs JSON describing all sheets, tables, headers, and data ranges. Use this to understand an Excel file's structure before processing.
  • how to use:
# Analyze and output JSON
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx inspect input.xlsx --pretty

  1. pivot 🚨 REQUIRES pivot-table.md
  • description: Create PivotTable with optional chart using pure OpenXML SDK. This is the ONLY supported method for PivotTable creation. Automatically creates a chart (bar/line/pie) alongside the PivotTable.
  • ⚠️ CRITICAL: Before using this command, you MUST read /app/.kimi/skills/kimi-xlsx/pivot-table.md for full documentation.
  • required parameters:

- input.xlsx - Input Excel file (positional) - output.xlsx - Output Excel file (positional) - --source "Sheet!A1:Z100" - Source data range - --location "Sheet!A3" - Where to place PivotTable - --values "Field:sum" - Value fields with aggregation (sum/count/avg/max/min)

  • optional parameters:

- --rows "Field1,Field2" - Row fields - --cols "Field1" - Column fields - --filters "Field1" - Filter/page fields - --name "PivotName" - PivotTable name (default: PivotTable1) - --style "monochrome" - Style theme: monochrome (default) or finance - --chart "bar" - Chart type: bar (default), line, or pie

  • how to use:
# First: inspect to get sheet names and headers
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx inspect data.xlsx --pretty

# Then: create PivotTable with chart
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx pivot \
    data.xlsx output.xlsx \
    --source "Sales!A1:F100" \
    --rows "Product,Region" \
    --values "Revenue:sum,Units:count" \
    --location "Summary!A3" \
    --chart "bar"

  1. chart-verify
  • description: Verify that all charts have actual data content. Use this after creating charts to ensure they are not empty.
  • how to use:
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx chart-verify output.xlsx
  • exit codes:

- 0 = All charts have data, safe to deliver - 1 = Charts are empty or broken - MUST FIX


  1. validate ⚠️ MANDATORY - MUST RUN BEFORE DELIVERY
  • description: OpenXML structure validation. Files that fail this validation CANNOT be opened by Microsoft Excel. You MUST run this command before delivering any Excel file.
  • What it checks:

- OpenXML schema compliance (Office 2013 standard) - PivotTable and Chart structure integrity - Incompatible functions (FILTER, UNIQUE, XLOOKUP, etc. - not supported in Excel 2019 and earlier) - .rels file path format (absolute paths cause Excel to crash)

  • exit codes:

- 0 = Validation passed, safe to deliver - Non-zero = Validation failed - DO NOT DELIVER, regenerate the file

  • how to use:
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx validate output.xlsx
  • If validation fails: Do NOT attempt to "fix" the file. Regenerate it from scratch with corrected code.

</Tool script list>

<Excel Creation Workflow - MUST FOLLOW>

📋 Excel Creation Workflow (Per-Sheet Validation)

🚨 CRITICAL: Validate EACH sheet immediately after creation, NOT after all sheets are done!

For each sheet in workbook:
    1. PLAN   → Design this sheet's structure, formulas, references
    2. CREATE → Write data, formulas, styling for this sheet
    3. SAVE   → Save the workbook (wb.save())
    4. CHECK  → Run recheck + reference-check → Fix until 0 errors
    5. NEXT   → Only proceed to next sheet after current sheet has 0 errors

After ALL sheets pass:
    6. VALIDATE → Run `validate` command → Fix until exit code 0
    7. DELIVER  → Only deliver files that passed ALL validations

Per-Sheet Check Commands

# After creating/modifying EACH sheet, save and run:
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx recheck output.xlsx
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx reference-check output.xlsx
# Fix ALL errors before creating the next sheet!

Final Validation (after all sheets complete)

/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx validate output.xlsx

Why Per-Sheet Validation?

  • Errors in Sheet 1 propagate to Sheet 2, Sheet 3... causing cascading failures
  • Fixing 3 errors per sheet is easier than fixing 30 errors at the end
  • Cross-sheet references can be validated immediately

</Excel Creation Workflow - MUST FOLLOW>

⚠️ CRITICAL: Excel Formulas Are ALWAYS the First Choice

For ANY analysis task, using Excel formulas is the default and preferred approach. Wherever a formula CAN be used, it MUST be used.

CORRECT - Use Excel formulas:

ws['C2'] = '=A2+B2'           # Sum
ws['D2'] = '=C2/B2*100'       # Percentage
ws['E2'] = '=SUM(A2:A100)'    # Aggregation

FORBIDDEN - Pre-calculate in Python and paste static values:

result = value_a + value_b
ws['C2'] = result    # BAD: Static value, not a formula

Only use static values when:

  • Data is fetched from external sources (web search, API)
  • Values are constants that never change
  • Formula would create circular reference

Follow this workflow::

Sheet 1: Plan (write detailed design) → Create → Save → Run Recheck → Run ReferenceCheck → Fix errors → Zero errors ✓
Sheet 2: Plan (write detailed design) → Create → Save → Run Recheck → Run ReferenceCheck → Fix errors → Zero errors ✓
Sheet 3: Plan (write detailed design) → Create → Save → Run Recheck → Run ReferenceCheck → Fix errors → Zero errors ✓
...

🚨 CRITICAL: Recheck Results Are FINAL - NO EXCEPTIONS

The recheck command detects formula errors (#VALUE!, #DIV/0!, #REF!, #NAME?, #N/A, etc.) and zero-value cells. You MUST follow these rules strictly:

  1. ZERO TOLERANCE for errors: If recheck reports ANY errors, you MUST fix them before delivery. There are NO exceptions.
  2. DO NOT assume errors will "auto-resolve":

- ❌ WRONG: "These errors will disappear when the user opens the file in Excel" - ❌ WRONG: "Excel will recalculate and fix these errors automatically" - ✅ CORRECT: Fix ALL errors reported by recheck until error_count = 0

  1. Errors detected = Errors to fix:

- If recheck shows error_count: 5, you have 5 errors to fix - If recheck shows zero_value_count: 3, you have 3 suspicious cells to verify - Only when error_count: 0 can you proceed to the next step

  1. Common mistakes to avoid:

- ❌ "The #REF! error is because openpyxl doesn't evaluate formulas" - WRONG, fix it! - ❌ "The #VALUE! will resolve when opened in Excel" - WRONG, fix it! - ❌ "Zero values are expected" - VERIFY each one, many are reference errors!

  1. Delivery gate: Files with ANY recheck errors CANNOT be delivered to users.

Forbidden Patterns ❌:

1. Create Sheet 1 → Create Sheet 2 → Create Sheet 3 → Run Recheck once at end
   ❌ WRONG: Errors accumulate, debugging becomes exponentially harder
   ✅ CORRECT: Check after EACH sheet, fix before moving to next

2. Skip planning for any sheet
   ❌ WRONG: Causes 80%+ of reference errors
   ✅ CORRECT: Plan each sheet's structure before creating it

3. Recheck shows errors → Ignore and deliver anyway
   ❌ ABSOLUTELY FORBIDDEN - errors must be fixed, not ignored!

4. Recheck shows errors → Proceed to create next sheet anyway
   ❌ WRONG: Errors in Sheet 1 will cascade to Sheet 2, 3...
   ✅ CORRECT: Fix ALL errors in current sheet before creating next sheet

</Analyze loop>

Syntax: =VLOOKUP(lookup_value, table_array, col_index_num, FALSE) — lookup column MUST be leftmost in table_array Best Practices: Use FALSE for exact match; Lock range with $A$2:$D$100; Wrap with IFERROR(...,"N/A"); Cross-sheet: Sheet2!$A$2:$C$100 Errors: #N/A=not found; #REF!=col_index exceeds columns. Alt: INDEX/MATCH when lookup column not leftmost

ws['D2'] = '=IFERROR(VLOOKUP(A2,$G$2:$I$50,3,FALSE),"N/A")'

</VLOOKUP Usage Rules>

🚨 CRITICAL: PivotTable Creation Requires Reading pivot-table.md

When to Trigger: Detect ANY of these user intents:

  • User explicitly requests "pivot table", "data pivot", "数据透视表"
  • Task requires data summarization by categories
  • Keywords: summarize, aggregate, group by, categorize, breakdown, statistics, distribution, count by, total by
  • Dataset has 50+ rows with grouping needs
  • Cross-tabulation or multi-dimensional analysis needed

⚠️ MANDATORY ACTION: When PivotTable need is detected, you MUST:

  1. READ /app/.kimi/skills/kimi-xlsx/pivot-table.md FIRST
  2. Follow the execution order and workflow in that document
  3. Use the pivot command (NOT manual code construction)

Why This Is Required:

  • PivotTable creation uses pure OpenXML SDK (C# tool)
  • The pivot command provides stable, tested implementation
  • Manual pivot construction in openpyxl is NOT supported and forbidden
  • Chart types (bar/line/pie) are automatically created with PivotTable

Quick Reference (Details in pivot-table.md):

# Step 1: Inspect data structure
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx inspect data.xlsx --pretty

# Step 2: Create PivotTable with chart
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx pivot \
    data.xlsx output.xlsx \
    --source "Sheet!A1:F100" \
    --rows "Category" \
    --values "Revenue:sum" \
    --location "Summary!A3" \
    --chart "bar"

# Step 3: Validate
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx validate output.xlsx

⛔ FORBIDDEN:

  • Creating PivotTable manually with openpyxl code
  • Skipping the inspect step
  • Not reading pivot-table.md before creating PivotTable
  • 🚨 NEVER modify pivot output file with openpyxl - openpyxl will corrupt pivotCache paths!

⚠️ CRITICAL: Workflow Order for PivotTable If you need to add extra sheets (Cover, Summary, etc.) to a file that will have PivotTable:

  1. FIRST: Create ALL sheets with openpyxl (data sheets, cover sheet, styling, etc.)
  2. THEN: Run pivot command as the FINAL STEP
  3. NEVER: Open the pivot output file with openpyxl again - this corrupts the file!
✅ CORRECT ORDER:
   openpyxl creates base.xlsx (with Cover, Data sheets)
   → pivot command: base.xlsx → final.xlsx (adds PivotTable)
   → validate final.xlsx
   → DELIVER final.xlsx (do NOT modify again)

❌ WRONG ORDER (WILL CORRUPT FILE):
   pivot command creates pivot.xlsx
   → openpyxl opens pivot.xlsx to add Cover sheet  ← CORRUPTS FILE!
   → File cannot be opened in MS Excel

</PivotTable Module>

🚨 FORBIDDEN FUNCTIONS (Incompatible with older Excel versions):

The following functions are NOT supported in Excel 2019 and earlier. Files using these functions will FAIL to open in older Excel versions. Use traditional alternatives instead.

❌ Forbidden Function✅ Alternative
FILTER()Use AutoFilter, or SUMIF/COUNTIF/INDEX-MATCH
UNIQUE()Use Remove Duplicates feature, or helper column with COUNTIF
SORT(), SORTBY()Use Excel's Sort feature (Data → Sort)
XLOOKUP()Use INDEX() + MATCH() combination
XMATCH()Use MATCH()
SEQUENCE()Use ROW() or manual fill
LET()Define intermediate calculations in helper cells
LAMBDA()Use named ranges or VBA
RANDARRAY()Use RAND() with fill-down
ARRAYFORMULA()Google Sheets only - use Ctrl+Shift+Enter array formulas
QUERY()Google Sheets only - use SUMIF/COUNTIF/PivotTable
IMPORTRANGE()Google Sheets only - copy data manually

Why these are forbidden:

  • These are Excel 365/2021+ dynamic array functions or Google Sheets functions
  • Older Excel versions (2019, 2016, etc.) cannot parse these formulas
  • The file will crash or show errors when opened in older Excel
  • The validate command will detect and reject files using these functions

Example - Converting FILTER to INDEX-MATCH:

❌ WRONG: =FILTER(A2:C100, B2:B100="Active")
✅ CORRECT: Use AutoFilter on the data range, or create a PivotTable

⚠️ Off-By-One Prevention: Before saving, verify each formula references correct cells. Run reference-check tool. Common errors: referencing headers, wrong row/column offset. If result is 0 or unexpected → check references first.

💰 Financial Values: Store in smallest unit (15000000 not 1.5M). Use Excel format for display: "¥#,##0". Never use scaled units requiring conversion in formulas.

</Baseline error>

</Analyze rule>

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

31.48%
按下载量换算481

Claude

31.37%
按下载量换算479

Cursor

18.83%
按下载量换算288

Gemini CLI

9.17%
按下载量换算140

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/thvroyal/kimi-skills --skill kimi-xlsx 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills