xlsx-tool-operations

xlsx-tool-operations is a skill for Claude Code, Codex from cxcscmu/SkillLearnBench. It costs 23 tokens per session (1,185 once invoked), scanned A, original, MIT.

A reference for common operations with Excel workbooks through an XLSX tool. XLSX is the file format used by modern Excel spreadsheets.

In plain words
What is it for?
Use it to read sheets and ranges, write formulas or values, preserve formatting, and connect data across sheets.
Why use it?
It provides patterns for inspecting workbook structure, reading cells, and changing values or formulas without opening Excel manually.

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/xlsx-tool-operations
Any agent
npx skills add cxcscmu/SkillLearnBench --skill xlsx-tool-operations
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 xlsx-tool-operations

README.md
[![agentmods](https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/xlsx-tool-operations.svg)](https://agentmods.dev/skills/cxcscmu/skilllearnbench/xlsx-tool-operations)
Your own site
<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/xlsx-tool-operations"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/xlsx-tool-operations.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,185 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.1 $0.00023 $0.01185
Opus 5 $0.00012 $0.00593
Sonnet 5 $0.00005 $0.00237
Haiku 4.5 $0.00002 $0.00119

Measured 2d ago against content hash 91543cc10bc5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

xlsx-tool-operations 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/xlsx-tool-operations/SKILL.md · 173 lines

How it starts

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

XLSX Tool Operations

Overview

The xlsx skill tool allows programmatic interaction with Excel files, enabling reading, writing, and analyzing spreadsheet data without manually opening files.

Common Operations

Reading Spreadsheet Data

Use the xlsx skill to:

  • Examine sheet structure and contents
  • Understand data layout and ranges
  • Identify cell references and formulas
  • Analyze existing data before writing formulas

Pattern:

Skill: xlsx
Operation: read or get_data
File: path/to/file.xlsx
Sheet: "SheetName"
Range: optional specific range like A1:Z100

Writing Formulas to Cells

Use the xlsx skill to:

  • Add formulas to specific cells
  • Write values to cells
  • Batch update multiple cells
  • Preserve existing formatting

Pattern:

Skill: xlsx
Operation: write_cell or batch_write
File: path/to/file.xlsx
Sheet: "SheetName"
Target: Single cell reference (A1) or range (A1:A10)
Value: Formula starting with = or literal value
Options: Preserve formatting, overwrite mode

Working with Multiple Sheets

Reference sheets by name when:

  • Reading from source data sheet and writing to results sheet
  • Using cross-sheet formulas (SheetName!CellRef)
  • Analyzing relationships between sheets

Cross-sheet formula pattern:

=Sheet1!A1  (reference cell in another sheet)
='Sheet Name'!A1  (if sheet name has spaces)

Range Operations

Single Row/Column:

H12 (single cell)
H12:L12 (row range, 5 columns)
H12:H40 (column range, multiple rows)

Multiple Ranges:

H12:L17, H19:L24, H26:L31 (list separate ranges)

2D Range with formulas:

H12:L17 contains 6 rows × 5 columns = 30 cells
Fill with formula that references row/column criteria

Specific Patterns for This Task

Two-Condition Lookup Pattern

When filling ranges based on two criteria (Series Code in column, Year in row):

Formula template:

=INDEX(lookup_source_range, MATCH(row_series_code, lookup_column, 0), MATCH(header_year, lookup_row, 0))

Read the full file on GitHub · 173 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 · 173 lines · 23 tokens per session scan A 91543cc10bc5

Subscribe to this mod's changes

xlsx-tool-operations is a skill published in the GitHub repository cxcscmu/SkillLearnBench (83 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 1,185 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