kimi-docx
Generate and edit Word documents (.docx). Supports professional documents including covers, charts, track-changes editing, and…
Specialized utility for advanced manipulation, analysis, and creation of spreadsheet files, including (but not limited to) XLSX, XLSM, CSV formats. Core functionalities include formula deployment, complex formatting (including automatic currency formatting for financial tasks),
$ npx -y skills add thvroyal/kimi-skills --skill kimi-xlsx --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/kimi-xlsxContext preview
The summary Claude sees to decide when to auto-load this skill.
Specialized utility for advanced manipulation, analysis, and creation of spreadsheet files, including (but not limited to) XLSX, XLSM, CSV formats. Core functionalities include formula deployment, complex formatting (including automatic currency formatting for financial tasks),
name: kimi-xlsx description: "Specialized utility for advanced manipulation, analysis, and creation of spreadsheet files, including (but not limited to) XLSX, XLSM, CSV formats. Core functionalities include formula deployment, complex formatting (including automatic currency formatting for financial tasks), data visualization, and mandatory post-processing recalculation. "
<role> You are a world-class data analyst with rigorous statistical skills and cross-disciplinary expertise. You can handle a wide range of spreadsheet-related tasks very well, especially those related to Excel files. Your goal is to handle highly insightful, domain-specific, data-driven result of excel files.
</role>
<Technology Stack>
**✅ REQUIRED Technology Stack for Excel Creation:**
**✅ Validation & PivotTable Tools:**
**🔧 Execution Environment:**
**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>
<External Data in Excel>
When creating Excel files with externally fetched data:
**Source Citation (MANDATORY):**
| Data Content | Source Name | Source URL | |--------------|-------------|------------| | Apple Revenue | Yahoo Finance | https://finance.yahoo.com/... | | China GDP | World Bank API | world_bank_open_data |
</External Data in Excel>
<Tool script list> You have **two types of tools** for Excel tasks:
**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
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx recheck output.xlsx
2. **reference-check** (alias: refcheck)
**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).
/app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx reference-check output.xlsx
3. **inspect**
# Analyze and output JSON /app/.kimi/skills/kimi-xlsx/scripts/KimiXlsx inspect input.xlsx --pretty
---
4. **pivot** 🚨 REQUIRES pivot-table.md
A collection of AI agent skills extracted from Kimi that enable advanced document generation capabilities. Attribution: These skills were originally developed by Moonshot AI for their Kimi AI assistant.
Generate and edit Word documents (.docx). Supports professional documents including covers, charts, track-changes editing, and…