Xlsx Tool Operations logo

Xlsx Tool Operations

Organization
cxcscmu
xlsx-tool-operations

Common operations and patterns for using the xlsx skill tool to manipulate Excel files programmatically.

Overview

Publishercxcscmu
RepositorySkillLearnBench
Skill namexlsx-tool-operations
Stars
91
Forks
7
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by cxcscmu on GitHub. Read the source before you install it.

Installation

Install the Xlsx Tool Operations AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/cxcscmu/SkillLearnBench/tree/main/skills/b1-one-shot-claude-haiku-4-5/weighted-gdp-calculation/xlsx-tool-operations
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cxcscmu/SkillLearnBench.git /tmp/SkillLearnBench
mkdir -p .claude/skills
cp -r /tmp/SkillLearnBench/skills/b1-one-shot-claude-haiku-4-5/weighted-gdp-calculation/xlsx-tool-operations .claude/skills/xlsx-tool-operations
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Xlsx Tool Operations in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Xlsx Tool Operations on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Xlsx Tool Operations is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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))

Implementation steps:

  1. Identify source data location (e.g., Data!A21:G40)
  2. Identify lookup columns/rows (Series codes in Data column D, Years in Data row 10)
  3. Create INDEX formula with nested MATCH functions
  4. Use absolute references ($) for source ranges
  5. Use mixed references for criteria (varies by row/column)

Formula Writing Approach

When writing formulas to multiple cells in a range:

Option 1: Write one formula with relative references

  • Write formula to first cell (e.g., H12)
  • Use relative references for criteria that change by position
  • Use absolute references for source data ($Data$A$21:$G$40)
  • Copy formula across/down

Option 2: Write individual formulas

  • Each cell gets specific MATCH values
  • Useful if pattern varies
  • More explicit but more complex

Batch Operations

Write multiple cells efficiently by:

  • Grouping cells by formula type
  • Using ranges instead of individual cells
  • Reusing formula patterns with position adjustments

Excel Formula Reference Syntax

Absolute vs Relative References

A1      - Relative (changes when copied)
$A$1    - Absolute (stays same when copied)
$A1     - Column absolute, row relative
A$1     - Column relative, row absolute

Sheet References

Sheet1!A1        (no spaces in name)
'Sheet Name'!A1  (spaces require quotes)
Data!A21:G40     (range reference)
Data!$A$21:$G$40 (absolute range)

Array Formula Considerations

Some functions like MATCH used in arrays may:

  • Require Ctrl+Shift+Enter in traditional Excel
  • Work normally in Excel 365
  • Need special syntax handling in xlsx tool

Validation Steps

  1. Preview data structure: Read the sheet to understand layout
  2. Verify criteria: Confirm all lookup values exist in source data
  3. Test formula: Write to one cell first, verify result
  4. Batch write: Copy tested formula to remaining cells
  5. Spot check: Verify a few calculated values manually

Common Issues and Solutions

Formula not calculating

  • Ensure equals sign (=) at start
  • Check sheet name references
  • Verify cell references exist in source data
  • Check for typos in function names

Incorrect data returned

  • Verify MATCH is finding correct position
  • Check INDEX range includes target data
  • Ensure criteria values match exactly (case-sensitive in some functions)

Range reference errors

  • Include full sheet path if cross-sheet: Sheet!A1:Z100
  • Use quotes if sheet name has spaces: 'Sheet Name'!A1
  • Verify range bounds are correct for data size

Performance Tips

  1. Use efficient ranges (don't include entire columns if A1:A100 suffices)
  2. Prefer XLOOKUP over INDEX/MATCH if available
  3. Use MATCH with exact match (0) for performance
  4. Test formulas before applying to large ranges
  5. Group batch writes to minimize file operations

Frequently asked questions

What does the Xlsx Tool Operations AI skill do?

Common operations and patterns for using the xlsx skill tool to manipulate Excel files programmatically.

Why use Xlsx Tool Operations on TypingMind?

Because you install it once and use it with any model. Xlsx Tool Operations is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Xlsx Tool Operations in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cxcscmu/SkillLearnBench/tree/main/skills/b1-one-shot-claude-haiku-4-5/weighted-gdp-calculation/xlsx-tool-operations. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Xlsx Tool Operations?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Xlsx Tool Operations?

As many as you like. As long as a model supports skills, you can use Xlsx Tool Operations with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Xlsx Tool Operations AI skill free?

Yes. It is published on GitHub by cxcscmu under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇