Skip to content
Back to skills

Minimax Xlsx

ASecurity

Use when creating, editing, or validating Excel spreadsheets

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 10, 2026
ai-agentspythonbashnode

Works with

  • cli

Security analysis

A100/100

Pro scans all 18 files and shows the line behind each finding

Scanned September 10, 2026

npx -y skills add LoopyLuci/Skills --skill minimax-xlsx --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Minimax Xlsx?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Minimax Xlsx
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loopyluci-minimax-xlsx/badge)](https://www.skillsdirectory.com/skills/loopyluci-minimax-xlsx)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: minimax-xlsx
description: Use when creating, editing, or validating Excel spreadsheets
tags: [excel, xlsx, spreadsheet, financial-model, data]
related_skills: [pptx-generator, mmx-cli]
---

# MiniMax XLSX Skill

## Overview

Create, edit, read, analyze, and validate Excel files (.xlsx, .xlsm, .csv, .tsv) using XML manipulation and helper scripts.

## Task Routing

| Task | Method |
|------|--------|
| **READ** — analyze data | `xlsx_reader.py` + pandas |
| **CREATE** — new xlsx | XML template with `create.md` |
| **EDIT** — modify existing | XML unpack→edit→pack |
| **FIX** — repair formulas | XML unpack→fix `<f>` nodes→pack |
| **VALIDATE** — check formulas | `formula_check.py` |

## Create a New Spreadsheet

```bash
# Copy minimal template, edit XML directly, then pack
python3 scripts/xlsx_pack.py /tmp/xlsx_work/ output.xlsx
```

## Edit an Existing Spreadsheet

```bash
# Unpack → edit → repack cycle
python3 scripts/xlsx_unpack.py input.xlsx /tmp/xlsx_work/
# ... edit XML ...
python3 scripts/xlsx_pack.py /tmp/xlsx_work/ output.xlsx
```

**CRITICAL:** Never use openpyxl round-trip on existing files (corrupts VBA, pivots, sparklines). Use unpack → edit → pack.

## Add a Column

```bash
python3 scripts/xlsx_unpack.py input.xlsx /tmp/xlsx_work/
python3 scripts/xlsx_add_column.py /tmp/xlsx_work/ --col G     --sheet "Sheet1" --header "% of Total"     --formula '=F{row}/$F$10' --formula-rows 2:9     --numfmt '0.0%'
python3 scripts/xlsx_pack.py /tmp/xlsx_work/ output.xlsx
```

## Financial Color Standard

| Cell Role | Font Color |
|-----------|-----------|
| Hard-coded input / assumption | Blue (`0000FF`) |
| Formula / computed result | Black (`000000`) |
| Cross-sheet reference formula | Green (`00B050`) |

## Common Pitfalls

| Pitfall | Solution |
|---------|----------|
| Using openpyxl for round-trip editing | Use XML unpack→edit→pack workflow |
| Hardcoding calculated values | Every computed cell MUST use an Excel formula |
| Forgetting formula validation | Run `formula_check.py` before delivery |
| Not preserving original sheets | EDIT tasks must keep all original sheets and data |

## Verification Checklist

- [ ] READ: Data analyzed without modifying source
- [ ] CREATE: XML template used, formulas for computed values
- [ ] EDIT: XML unpack/edit/pack used (not openpyxl)
- [ ] Original sheets preserved in EDIT tasks
- [ ] Formulas validated with formula_check.py
- [ ] Output file deliverable produced

Files in this skill

  • SKILL.md2.4 KB
  • references/create.md24 KB
  • references/edit.md23.9 KB
  • references/fix.md1.2 KB
  • references/format.md33.3 KB
  • references/ooxml-cheatsheet.md6.3 KB
  • references/read-analyze.md4.2 KB
  • references/validate.md29.4 KB
  • scripts/formula_check.py17.1 KB
  • scripts/libreoffice_recalc.py9.2 KB
  • scripts/shared_strings_builder.py5.1 KB
  • scripts/style_audit.py21.9 KB
  • scripts/xlsx_add_column.py14.4 KB
  • scripts/xlsx_insert_row.py9.8 KB
  • scripts/xlsx_pack.py2.9 KB
  • scripts/xlsx_reader.py13.2 KB
  • scripts/xlsx_shift_rows.py13.3 KB
  • scripts/xlsx_unpack.py4.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.