How-to · Documents · By Anthropic

How to use Excel File Creator in your AI agent

Install and use the Excel File Creator skill in Claude Code, Cursor, Codex, Gemini CLI, OpenCode, and Windsurf — with sample prompts.

What you'll get

This skill lets you work with Excel files (.xlsx, .xlsm) just by asking in plain English. Create new spreadsheets from scratch, edit existing ones, clean up messy data, or convert between formats. The AI handles all the technical work — you get a professional, formula-driven Excel file ready to use.

Step 1 — Get the skill source URL

The Excel File Creator skill lives at:

Step 2 — Add it to your AI agent

Copy one of these prompts and paste it into your AI tool. The agent will fetch and install the skill for you.

Claude Code

Add the agent skill from https://github.com/anthropics/skills/tree/main/skills/xlsx to my project.

Cursor

Install this agent skill: https://github.com/anthropics/skills/tree/main/skills/xlsx

Codex

Add this skill to .codex/skills/: https://github.com/anthropics/skills/tree/main/skills/xlsx

Gemini CLI

Add the skill at https://github.com/anthropics/skills/tree/main/skills/xlsx to my .gemini/skills/ directory.

OpenCode

Install this agent skill from https://github.com/anthropics/skills/tree/main/skills/xlsx

Windsurf

Add this skill: https://github.com/anthropics/skills/tree/main/skills/xlsx

Step 3 — Try these prompts

Once the skill is installed, ask your AI things like:

  • You need a financial model, budget tracker, or data table built from scratch
  • You have a messy CSV or spreadsheet that needs cleaning and formatting
  • Add calculations, charts, or new columns to an existing Excel file
  • Building a report or dashboard and need the output as a real .xlsx file

What this skill does

  • Creates new Excel files with formulas, formatting, and multiple sheets
  • Edits existing spreadsheets — adds columns, updates data, fixes formatting
  • Cleans messy CSV or TSV files into properly structured spreadsheets
  • Builds financial models with color-coded cells and industry-standard formatting
  • Converts between spreadsheet formats (Excel, CSV, TSV)
Made byAnthropic
CategoryDocuments