xlsx

xlsx is a skill for Claude Code, Codex from XMZF-vAI/clerkbox. It costs 201 tokens per session (2,542 once invoked), scanned A, original, Apache-2.0.

A workflow for working with spreadsheets such as Excel workbooks, CSV files, and TSV files. It covers reading, editing, cleaning, analysis, and presentation.

In plain words
What is it for?
Editing spreadsheet files, adding formulas and formatting, cleaning data, and creating charts while storing calculations as spreadsheet formulas.
Why use it?
It keeps spreadsheet changes consistent and ensures calculated cells update when the underlying data changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Editing spreadsheet files, adding formulas and formatting, cleaning data, and creating charts while storing calculations as spreadsheet formulas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xmzf-vai/clerkbox/xlsx
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add XMZF-vAI/clerkbox --skill xlsx
Clone the repo
git clone --depth 1 https://github.com/XMZF-vAI/clerkbox

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xlsx

README.md
[![agentmods](https://agentmods.dev/badge/skills/xmzf-vai/clerkbox/xlsx/github.svg)](https://agentmods.dev/skills/xmzf-vai/clerkbox/xlsx)
Your own site
<a href="https://agentmods.dev/skills/xmzf-vai/clerkbox/xlsx"><img src="https://agentmods.dev/badge/skills/xmzf-vai/clerkbox/xlsx/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xlsx

Your own site · 80×15
<a href="https://agentmods.dev/skills/xmzf-vai/clerkbox/xlsx"><img src="https://agentmods.dev/badge/skills/xmzf-vai/clerkbox/xlsx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 201 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,542 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00201 $0.02542
Opus 5 $0.00101 $0.01271
Sonnet 5 $0.00040 $0.00508
Haiku 4.5 $0.00020 $0.00254

Measured 10d ago against content hash 481d0b8f71d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

xlsx scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/office/soffice.py, scripts/recalc.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

resources/preset-skills/xlsx/SKILL.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spreadsheet Creation, Editing, and Analysis

You have access to multiple tools and workflows for working with .xlsx files — from reading and analysing data, through programmatic creation and editing, to formula recalculation and error checking.

Tooling Primer

Library Best for
pandas Bulk data manipulation, statistical analysis, quick CSV↔XLSX conversion
openpyxl Cell-level formatting, Excel formulas, charts, conditional formatting

⛔ CRITICAL — Use Formulas, Never Hardcode Calculations

🚨 MANDATORY RULE — ZERO EXCEPTIONS 🚨

Every computed value must be an Excel formula, not a Python-calculated literal. This keeps the workbook dynamic and self-updating. Violations will produce stale, non-updating spreadsheets.

# ── WRONG — baking Python results into cells ──
total = df['Sales'].sum()
ws['B10'] = total          # static 5000

growth = (df.iloc[-1]['Revenue'] - df.iloc[0]['Revenue']) / df.iloc[0]['Revenue']
ws['C5'] = growth          # static 0.15

avg = sum(vals) / len(vals)
ws['D20'] = avg            # static 42.5
# ── RIGHT — let Excel do the maths ──
ws['B10'] = '=SUM(B2:B9)'
ws['C5']  = '=(C4-C2)/C2'
ws['D20'] = '=AVERAGE(D2:D19)'

This rule applies to all calculations — sums, ratios, percentages, differences, etc.

Step-by-Step Workflow

  1. Pick a library — pandas for data; openpyxl for formatting / formulas.
  2. Open or create the workbook.
  3. Modify — add/edit data, formulas, and styles.
  4. Save to disk.
  5. Recalculate (mandatory when formulas are present):
    python scripts/recalc.py output.xlsx
    
  6. Inspect the JSON output and fix any errors:
    • status: "errors_found" → see error_summary for types and locations.
    • Common errors: #REF! (bad reference), #DIV/0! (zero denominator), #VALUE! (type mismatch), #NAME? (unknown function).

Reading & Analysing Data

import pandas as pd

df = pd.read_excel('file.xlsx')                        # first sheet
sheets = pd.read_excel('file.xlsx', sheet_name=None)   # all sheets → dict

df.head(); df.info(); df.describe()                    # quick overview

df.to_excel('result.xlsx', index=False)                # write back

Read the full file on GitHub · 238 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 238 lines · 201 tokens per session scan A 481d0b8f71d0

Subscribe to this mod's changes

xlsx is a skill published in the GitHub repository XMZF-vAI/clerkbox (7 stars, last pushed yesterday), licensed Apache-2.0. It adds 201 tokens to every session and 2,542 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.