xlsx

xlsx is a skill for Codex from Immortalqx/my_codex_skills. It costs 74 tokens per session (1,296 once invoked), scanned A, original, MIT.

A workflow for working with spreadsheet files such as Excel workbooks, CSV files, and tab-separated files.

In plain words
What is it for?
Use it to edit existing spreadsheets, analyze or reshape data, add formulas or charts, create workbooks, and convert messy tables into a finished spreadsheet.
Why use it?
It helps inspect, clean, repair, reformat, and extend tabular files while preserving important workbook details such as formulas, formatting, sheets, and charts.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to edit existing spreadsheets, analyze or reshape data, add formulas or charts, create workbooks, and convert messy tables into a finished spreadsheet.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/immortalqx/my_codex_skills/xlsx
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.

Any agent
npx skills add Immortalqx/my_codex_skills --skill xlsx
Clone the repo
git clone --depth 1 https://github.com/Immortalqx/my_codex_skills

Made for: 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

README.md
[![agentmods](https://agentmods.dev/badge/skills/immortalqx/my_codex_skills/xlsx/github.svg)](https://agentmods.dev/skills/immortalqx/my_codex_skills/xlsx)
Your own site
<a href="https://agentmods.dev/skills/immortalqx/my_codex_skills/xlsx"><img src="https://agentmods.dev/badge/skills/immortalqx/my_codex_skills/xlsx/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xlsx

Your own site · 80×15
<a href="https://agentmods.dev/skills/immortalqx/my_codex_skills/xlsx"><img src="https://agentmods.dev/badge/skills/immortalqx/my_codex_skills/xlsx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,296 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00074 $0.01296
Opus 5 $0.00037 $0.00648
Sonnet 5 $0.00015 $0.00259
Haiku 4.5 $0.00007 $0.00130

Measured 11d ago against content hash b94ace5d8009, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

xlsx 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 11d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/office/helpers/__init__.py, scripts/office/helpers/merge_runs.py, scripts/office/helpers/simplify_redlines.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

xlsx/SKILL.md · 215 lines

How it starts

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

Spreadsheet Files

Overview

Use this skill whenever the primary deliverable is a spreadsheet file or the user explicitly wants work done on spreadsheet data in place. Prefer openpyxl when workbook structure, formulas, styling, or multiple sheets must be preserved. Use pandas for analysis and reshaping, then write the final workbook carefully instead of treating the spreadsheet as a disposable export.

Non-Negotiable Rules

  • Use formulas in the workbook instead of calculating values in Python and hardcoding the result.
  • Preserve existing workbook structure unless the user asked for destructive cleanup.
  • Recalculate and verify formulas after edits with scripts/recalc.py.
  • Keep formatting readable: sensible column widths, aligned headers, and explicit number formats.
  • If editing a financial model, keep assumptions visually distinct from formulas and outputs.

Choose the Workflow

Existing workbook

Use openpyxl when the file already exists and you must preserve:

  • formulas,
  • formatting,
  • named sheets,
  • comments,
  • workbook-level structure.

New workbook or pure analysis

Use pandas for:

  • data cleaning,
  • joins,
  • aggregation,
  • reshaping.

Then write the final spreadsheet with either:

  • pandas if a simple flat export is enough, or
  • openpyxl if formulas, formatting, or multiple sheets matter.

Core Workflow

  1. Inspect the workbook or source data.
  2. Decide whether the task is analysis-only, structure-preserving edit, or workbook creation.
  3. Make the edits.
  4. Recalculate formulas with python scripts/recalc.py <excel_file>.
  5. Fix any reported workbook errors before handoff.

Reading and Analyzing Data

Pandas quick read

import pandas as pd

df = pd.read_excel("file.xlsx")
all_sheets = pd.read_excel("file.xlsx", sheet_name=None)

print(df.head())
print(df.info())
print(df.describe(include="all"))

Openpyxl structure-preserving read

from openpyxl import load_workbook

wb = load_workbook("existing.xlsx")
print(wb.sheetnames)

ws = wb["Sheet1"]
print(ws["A1"].value)

Read the full file on GitHub · 215 lines

Files

What ships with it

53 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 215 lines · 74 tokens per session scan A b94ace5d8009

Subscribe to this mod's changes

xlsx is a skill published in the GitHub repository Immortalqx/my_codex_skills (52 stars, last pushed 1mo ago), licensed MIT. It adds 74 tokens to every session and 1,296 once invoked, about $0.0004 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-08-30.