excel

excel is a skill for Claude Code, Codex from getomnico/omni. It costs 0 tokens per session (1,020 once invoked), scanned A, original, Apache-2.0.

A workflow for inspecting Excel workbooks before processing them. It identifies sheets, dimensions, merged cells, likely headers, and a preview of the data.

In plain words
What is it for?
Use it before writing spreadsheet-processing code to locate the real table, determine its header row, understand its layout, and handle merged cells safely.
Why use it?
It helps prevent scripts from reading the wrong rows or columns when a workbook contains titles, blank rows, merged headings, or notes.

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/getomnico/omni/excel
Any agent
npx skills add getomnico/omni --skill excel
Clone the repo
git clone --depth 1 https://github.com/getomnico/omni

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/getomnico/omni/excel.svg)](https://agentmods.dev/skills/getomnico/omni/excel)
Your own site
<a href="https://agentmods.dev/skills/getomnico/omni/excel"><img src="https://agentmods.dev/badge/skills/getomnico/omni/excel.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,020 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.00000 $0.01020
Opus 5 $0.00000 $0.00510
Sonnet 5 $0.00000 $0.00204
Haiku 4.5 $0.00000 $0.00102

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

Security

Grade A, and why

excel 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 5d 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.

services/ai/skills/excel/SKILL.md · 77 lines

How it starts

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

Excel Skill

Inspection

After fetching an Excel file with read_document, run excel inspect <file> first via run_bash. This shows: sheet names, dimensions, merged cell regions, detected header row, and a data preview. Review the output carefully before writing any processing code.

Data Boundary Detection

Excel sheets often have metadata, titles, or blank rows above the actual data table. Do NOT assume row 1 is the header. Look for these signals:

  • Title/metadata rows: single cell with text spanning merged columns, followed by blank rows
  • Header row: the first row where most cells are non-empty and contain short text labels
  • Data start: the row immediately after the header
  • Data end: last consecutive non-empty row (ignore trailing blanks or footnotes)
  • Blank columns on the left: skip leading empty columns to find the actual data range

Use excel headers <file> for auto-detected headers per sheet. If detection looks wrong, use excel rows <file> <sheet> 1:20 to see raw top rows and determine the real header row.

Merged Cell Handling

Merged cells are common in headers (e.g., "Revenue" spanning B-D as a group header with "Jan", "Feb", "Mar" in the row below). They also appear in data rows for grouping.

The excel CLI automatically fills merged regions with the top-left cell's value.

When writing openpyxl code yourself:

  • Access merged ranges via ws.merged_cells.ranges
  • A merged cell's value lives only in the top-left cell; others return None
  • Unmerge and forward-fill before reading data:
    for merge in list(ws.merged_cells.ranges):
        val = ws.cell(merge.min_row, merge.min_col).value
        ws.unmerge_cells(str(merge))
        for r in range(merge.min_row, merge.max_row + 1):
            for c in range(merge.min_col, merge.max_col + 1):
                ws.cell(r, c).value = val
    
  • Multi-level headers (merged group headers + sub-headers below): read both rows and combine them, e.g., "Revenue | Jan" becomes column name "Revenue - Jan"

Read the full file on GitHub · 77 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. 5d ago First seen · 77 lines · 0 tokens per session scan A c50e50cf362a

Subscribe to this mod's changes

excel is a skill published in the GitHub repository getomnico/omni (768 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,020 tokens. 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-30.