excel-xlsx-skill

excel-xlsx-skill is a skill for Claude Code, Codex from cxcscmu/SkillLearnBench. It costs 27 tokens per session (742 once invoked), scanned A, original, MIT.

A tool guide for creating, reading, editing, and analyzing Excel workbooks and similar spreadsheet files while preserving formulas and formatting.

In plain words
What is it for?
Create workbooks, update individual or multiple cells, add formulas, analyze data, and make spreadsheet visualizations.
Why use it?
It provides a defined way to automate spreadsheet changes instead of editing cells by hand.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/cxcscmu/skilllearnbench/excel-xlsx-skill
Any agent
npx skills add cxcscmu/SkillLearnBench --skill excel-xlsx-skill
Clone the repo
git clone --depth 1 https://github.com/cxcscmu/SkillLearnBench

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 excel-xlsx-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/excel-xlsx-skill.svg)](https://agentmods.dev/skills/cxcscmu/skilllearnbench/excel-xlsx-skill)
Your own site
<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/excel-xlsx-skill"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/excel-xlsx-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 742 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.00742
Opus 5 $0.00014 $0.00371
Sonnet 5 $0.00005 $0.00148
Haiku 4.5 $0.00003 $0.00074

Measured 2d ago against content hash 67de719e25d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

excel-xlsx-skill 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 2d ago.

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.

skills/b1-one-shot-claude-haiku-4-5/weighted-gdp-calculation/excel-xlsx-skill/SKILL.md · 90 lines

How it starts

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

Excel XLSX Skill Tool

Overview

The xlsx skill is used to work with Excel spreadsheets (.xlsx, .xlsm, .csv, .tsv). It supports creating spreadsheets, reading data, modifying cells, adding formulas, and data analysis.

When to Use

  • Creating new spreadsheets from scratch
  • Reading or analyzing existing spreadsheet data
  • Modifying cells while preserving existing formulas and formatting
  • Adding formulas and performing calculations
  • Analyzing data and creating visualizations

Setup

The xlsx skill is built-in and available through the Skill tool. No installation required.

Usage Patterns

Reading a Spreadsheet

Read the file 'data.xlsx' and understand the structure
Invoke the xlsx skill with operation: read

Modifying Cells

To set a formula in a cell:
Use xlsx skill with operation: write_cell
Specify: file path, sheet name, cell reference, value/formula

To modify multiple cells:
Use xlsx skill with operation: batch_write

Working with Formulas

When adding formulas to Excel:

  • Use cell references like A1, B2:B10
  • Use sheet references like Sheet1!A1
  • Formulas start with =
  • For multi-sheet references: ='SheetName'!CellRef

Key Functions to Know

  • VLOOKUP: Lookup values in a vertical table =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

  • HLOOKUP: Lookup values in a horizontal table =HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])

  • INDEX & MATCH: More flexible lookup =INDEX(return_array, MATCH(lookup_value, lookup_array, 0))

  • XLOOKUP: Modern Excel function (Excel 365+) =XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])

Statistical Functions

  • =MIN(range) - Minimum value
  • =MAX(range) - Maximum value
  • =MEDIAN(range) - Median value
  • =AVERAGE(range) - Mean value
  • =PERCENTILE(range, k) - kth percentile (k as decimal, e.g., 0.25 for 25th)
  • =SUMPRODUCT(array1, array2) - For weighted calculations

Read the full file on GitHub · 90 lines

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. 2d ago First seen · 90 lines · 27 tokens per session scan A 67de719e25d2

Subscribe to this mod's changes

excel-xlsx-skill is a skill published in the GitHub repository cxcscmu/SkillLearnBench (83 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 742 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

xlsx-parsing

Read Microsoft Excel (.xlsx) files robustly with openpyxl (or pandas). Covers multi-sheet workbooks, header rows, empty cells, merged cells, comma-separated list cells, and converting a sheet to a list-of-dicts the rest of your code can consume. Use when a task input or reference document is an .xlsx file rather than…

benchflow-ai/skillsbench · 83 tokens

data-formats

Reading, writing, and converting common data formats (CSV, Excel, JSON, YAML) with correct handling of encoding, types, and edge cases.

A-EVO-Lab/a-evolve · 34 tokens

xlsx

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…

benchflow-ai/benchflow · 96 tokens

xlsx

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…

benchflow-ai/skillsbench · 96 tokens

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or…

ECNU-ICALK/AutoSkill · 201 tokens

TypeScript 인터페이스 순서 기반 xlsx 엑셀 다운로드 구현

사용자가 정의한 TypeScript 인터페이스의 속성 순서를 기준으로 데이터 배열을 변환하고, xlsx 라이브러리를 사용하여 엑셀 파일로 다운로드하는 함수를 작성합니다.

ECNU-ICALK/AutoSkill · 59 tokens